Browsed by
Month: December 2016

It’s time for “Change”

It’s time for “Change”

Yes we are in a crisis. Never have we ever valued our “change” as much as we do Since Prime Minister Narendra Modi announced the demonetisation of the Rs. 500 and Rs. 1,000 notes. The exhausting queues in front of Cash Dispensers, to deposit cash, to exchange notes and just about everywhere Cash is involved really makes us depend on alternative payment methods for our daily needs. This is the time for the E-wallet app – Paytm to rule the society.

The most common alternative payment methods are debit cards, charge cards, prepaid cards debit cards, bank transfers, phone and mobile payments, cheques, money order and cash payments. Card payments are already familiar to many, its mobile and online payments yet to gain momentum in India.

Paytm (an acronym for “Pay through Mobile”) claims to be the largest online payments platform in the country. But there are many more in India who are yet to use Paytm and its digital wallet. The lack of cash in hand has made digital wallets a necessity for the common man. The only necessity for this is a smart phone propelling the likes of Paytm to the top of the Indian user’s mind.

paytm5

Paytm owned by One97 Communications gives people better ways to manage and move their money online. With an open, secure and technology agnostic payments platform that is used to securely transact online and increasingly on mobile devices. Among the transactions you can make on Paytm are recharges for mobile phones, data cards, etc. as well as post-paid payments for daily household bills, etc. You can also book and pay for Uber cab rides.

 

What is Paytm wallet?

Paytm Wallet is the digital payment instrument where you can transfer money from your bank account or credit card to use for transactions on the platform. You need to set up a Paytm account and transfer cash to the wallet. You can add up to Rs. 10,000 in a month in the Wallet. There are even methods to increase this monthly limit.

 

How to use Paytm and Paytm wallet?

To use, follow the steps below:

  1. Make Paytm account. You would only require your mobile number and email ID.paytm2
  2. Transfer money to your Paytm Wallet using netbanking, debit card or credit card.
  3. Select the ‘Pay or Send’ option to transfer money to someone else.
  4. Payments to others or to bank accounts can be done by scanning a QR code.
  5. 5. Alternatively, transfer it via their phone number.

paytm3

How to use Paytm offline?

PayTM introduced a service wherein people possessing a feature phone with no internet connection also can use PayTM to perform transactions to pay bills, recharge prepaid SIM cards, buy things, etc.

  1. Call on 1800-1800-1234 toll-free number via your phone number
  2. Now, your call will be disconnected and you will get a call from PayTM
  3. You need to setup a PIN for your safety for the first time
  4. After the PIN setup is completed, enter the number you want to send money to along with amount.

What are some alternatives to Paytm?

While Paytm is the dominant player in the online and mobile payments scene, others are not far behind either. FreeCharge, MobiKwik, Ola Money and PyUMoney are other names that are popular too.

Is Paytm wallet safe?

Paytm is a RBI approved wallet assuring it security. Paytm uses Verisign-certified 128-bit encryption technology. This means that the secret key used in transactions is a sequence of 128 bits and so does not reveal anything about the password length or contents. So all in all it is a secure app in itself.

 

So checkout the live features and experience the feel of e-wallet at their official site:Paytm

Go cashless..!!:)

 

 

DOTA 2 7.00 Update – The New Journey

DOTA 2 7.00 Update – The New Journey

The biggest update yet in the realm of DOTA 2 was released by Valve just a couple of days ago and it sure as hell is exciting.

the new journey

Titled “The New Journey“, the update is well over 6GB and has brought about massive changes to the game, a new hero- Monkey King; redesigned map and terrain; the skill-tree; and the “Shrines”. Just like the other updates, 7.00 has its own share of chaos and confusion. Let’s have a quick glance of what the new journey is all about.

 

 

  1. The Monkey King:

    monkey king

    The much awaited hero, the Monkey King is a melee agility carry that reminds you of the Chinese mythical character Sun Wukong(our hero goes by the same nickname). Mischievous by nature, the King has a wide range of abilities allowing him to sit atop trees and leap, to slam his powerful staff on the ground, to disguise himself and to summon soldiers to fight for him. The Monkey King also arrives with a brand new terrain, a cool Arcana set and an announcer pack.

     

     

  2. The new HUD and interface:

    monkey king plus selecting hero

    It’s a lot. Increased visibility and options; one click level up for abilities; mana cost is displayed on items; a new shop view; common items and guides; buyback indicator and courier controls; every hero has a backpack (you get to carry 3 additional items that you’ll have to swap with the ones in the main slot (6) to use it).

     

     

  3. The new pre game:

    pregame animu

    monkey king plus selecting hero

    The pre-match battle screen animation is wicked. The hero selection interface has also been tweaked. In addition to the basic filters there are hero suggestions and team compositions followed by the strategy phase (about 30sec) where you can plan out the laning, warding and make initial purchases.

     

  4. The Heroes and their Talent Trees:

    drooww

    Every hero can choose a particular “branch” of the skill tree at levels 10/15/20/25 to attain special bonuses for the hero or his/her ability. Each hero has a unique tree. So, this is really cool as it provides a huge boost to the supports who find it hard to earn XP or gold. And also the ultimate levels are now at 6/12/18. The Aghanim’s Scepter has also undergone a few changes (discussed at the end).

     

  5. The map and terrain:

    roshaan

    The entire map has been remodelled and it will surely be a while to get used to. 4 bounty rune spots in the jungles, 2 power rune spots, new creep camps (2 new ancient creeps) have opened up and almost every jungle has been completely redesigned. Roshan has been moved to a new pit to the north of the river. This would probably cut out the Dire’s advantage of sneaking in to claim the Aegis.

     

  6. The Shrines:

    And then we have the Shrines.

    shrine

    Shrines are a new set of buildings which when activated grants a quick burst of health and mana to the heroes in its radius. They are especially relevant when you need that sudden regen after a fight.

     

So, here’s a brief list of what 7.00 has done to your heroes:

  • Alchemist’s Greevil’s Greed Bounty Rune multiplier rescaled from 3/4/5/6x to a constant 2x.
  • Added a Scepter for Anti-Mage. Causes Spell Shield to passively block and reflect a targeted spell once every 12 seconds. Disabled with Break.
  • Arc Warden’s Tempest Double cooldown increased from 40/35/30 to 60/50/40.
  • Added Scepter to Bounty Hunter. Allows Shuriken Toss to bounce twice on each hero (bounces on everyone once, then bounces through each one again)
  • Brewmaster’s Drunken Haze miss chance rescaled from 45/55/65/75% to 70%
  • Bristleback’s Quill Spray now deals damage as it quickly expands outwards.
  • Chaos Knight’s Chaos Strike now lifesteals for 50% when it crits. Illusions benefit from this as well and a scepter bonus reduces cooldown by 20 seconds and allows Phantoms to be cast on an allied hero.
  • Reworked Crystal Maiden Scepter so that it now applies Frost Bite to any unit that has been standing in the Freezing Field for over 2.5 seconds. Frostbite affects an enemy only once..
  • Dark Seer‘s Wall of Replica no longer deals damage when heroes walk through it but instead applies a 1-second 76% slow.
  • Dragon Knight’s Dragon Tail is now a fast projectile while in Dragon Form.
  • Elder Titan’s Natural Order now removes 40/60/80/100% of the base magic resistance, rather than a fixed amount.
  • Enigma’s Black Hole now slowly rotates enemy units as it pulls them into the center.
  • Lycan’s Feral Impulse no longer provides 15/20/25/30 Attack Speed.
  • Meepo clones now share full attributes without Scepter.
  • Necrophos’ Sadist replaced with a new ability, Ghost Shroud. Turns you Ethereal for 3/3.5/4/4.5 seconds and grants you a 600 AoE slow aura that reduces enemy movement speed by 12/20/28/36%. While you are in this form you take 20% more magic damage but any HP/MP you heal is amplified by 50%. Cooldown: 28/24/20/16
  • Omni Knight’s purification mana cost reduced from 100/120/140/160 to 70/90/110/130.
  • Added Scepter to Phantom Lancer. Causes Spirit Lance to bounce on nearby enemies. Bounce Range: 400. Bounce cap: 5.
  • Phoenix’s Sun Ray changed from Pure to Magical damage type.
  • Added a Scepter for Riki. Increases ultimate duration by 4 seconds. Allows you to target an allied hero, hiding inside them for the duration. The radius that you attack in follows the allied hero. 1000 Cast Range.
  • Reworked Shadow Shaman’s Mass Serpent Wards Scepter. Now causes Serpent Wards to have a split shot, attacking two units each for full damage.
  • Treant Protector’s Nature’s Guise is now a passive ability. Whenever you are within 265 range of a tree for 6/5/4/3 seconds (without attacking), you gain invisibility and 16/22/28/34% movement speed bonus. When you attack out of invisibility, you bash the target for 1/1.4/1.8/2.2 seconds. Your attack out of invisibility cannot miss. You can cast while invisible.
  • Reworked Zeus Scepter. Grants you a new ability, Nimbus, that creates a storm cloud anywhere on the map. The cloud casts Lightning Bolt automatically on a random enemy within 500 AoE once every 2.5 seconds (scales with cooldown reduction). Clouds last 50 seconds. Cooldown: 50, Mana cost: 275. Requires 8 hits from ranged heroes to kill (4 from melee heroes, 16 from non-heroes), and has a 100 gold bounty.

In addition to this, there are other minor changes. Viper, Slardar and Enigma have new skins. Bot matches allow the inclusion of community authored bots. Bigger trees, grasses, and wind effects are present.

drow

This update would probably force players to approach the game from a new perspective since everyone would be a freshman. Some are taking it well, while the others are lamenting about the loss of DOTA 2’s pure form due to the slight similarities of the update to the ones in LOL (League of Legends) and HOTS (Heroes of the Storm).

 

To quote Meister Eckhart, a German philosopher: “It’s time to start something new and trust the magic of beginnings”.

A new journey awaits..

 

To checkout the changes in detail click here.


Spreadsheet programming with Google Apps Script – An example

Spreadsheet programming with Google Apps Script – An example

google-app-script

Let’s familiarize with a popular yet unnoticed Google product – The Google Apps Script. Mostly , apps script is used in collaboration with Google spreadsheets, Google docs in the recent scenario to manage the data within them. But with a strong foundation of JavaScript, definitely it can be used as a shortcut for making functional and practical web applications. Google Apps Script uses JavaScript as it’s scripting language.Tutorials and examples provided within the site will be an aid in the journey.

Keeping the talks of app script aside, let’s build a simple web application to append data to a row i.e, add a row of data to a spreadsheet. A prior knowledge of HTML fundamentals and JavaScript basics are essential to code.

A reminder to the reader’s, from 2014 some User interface functions and objects like UiApp, createApplication(), Widget, IDE for GUI..etc have been deprecated. It is advisable to use HTMLServices instead for simplicity and troubleshooting while developing the GUI.

Get started..!!

1. Open Google Drive:

Login to your Google Drive account and click New->Google Spreadsheet. When an empty spreadsheet opens, rename it. Click on Tools->Script editor.

If you want to deploy any stand- alone web applications that does not involve any documents or spreadsheets from Google Drive, you can go to the link directly.


script_editor_menu

 

 

 


The blank script editor will look like this shown below.


Screenshot from 2016-12-18 22-56-14

 

 

 

2.Create a new Html file:

Create a new html file from File->New->Html file. Give the name of new html file as index.html. Type in the code given below inside the body tag(<body></body>). Keep the other tags given by default untouched.


Screenshot from 2016-12-19 23-51-26

 

 

 

3. Manipulate Code.gs file:

Include Html Services:

Now manipulate the Code.gs file provided with a blank myfunction() by default. If you want you can rename it according to your purpose. It is the function where the essentials to build GUI are specified. Code.gs is basically a pure JavaScript file.

I’ve renamed the default myfunction() as demoHtmlService() as it is the function where the html file created before needs to be included. Type in the following code to get your UI built.
function demoHtmlServices() {
var ss = SpreadsheetApp.getActiveSpreadsheet(),
html = HtmlService.createHtmlOutputFromFile('index');
ss.show(html);
}

To append data to the spreadsheet:

Google App script is developed solely with the idea to manage spreadsheets. To insert data to the spreadsheet, create a function named getValuesFromForm()  below the previous code. JavaScript has many inbuilt library functions like Appendrow() to make the coding less sophisticated. Insert the code below inside the user defined function.


function getValuesFromForm(form){
var firstName = form.firstName;
sheet = SpreadsheetApp.getActiveSpreadsheet().getActiveSheet();
sheet.appendRow([firstName]);
}

The final Code.gs file will look like this:


Screenshot from 2016-12-19 23-51-07

 

 

 

 

Debug your code and hit Run to execute the code. Test the code to check the working by giving in some data. The final output will be like:


Screenshot from 2016-12-19 23-52-18

 

 

 


If you’re stuck somewhere in between or require any additional features to this example, Check out the following links:

Web apps- Google developers

Guide to include Html Services

Also read:Tutorials- App Script

Try this out and have fun with Google Apps Script..!! 🙂

How to Install HP Printer Drivers on Ubuntu

How to Install HP Printer Drivers on Ubuntu

Wondering how to print stuff in your new linux environment? And got a driver CD along with printer for Windows?No worries, This article makes your life between your new OS to the next level.

Follow the steps, type in some commands into your terminal and you’re done. Just print away papers after this…!!

I’m using HP Laserjet Professional printer and the steps provided are according to installing a HP printer driver.

Some of the latest HP printers in the market are of “plug and play” mode, for those users just plug in their printer cable to your PC, select the plugged in printer and print as you wish. But for the earlier models of HP printers together with Ubuntu users, You need to install an open source software known as HPLIP (HP Linux Imaging and Printing).

1. Download HPLIP :

Go to this link and click on the tab “Download HPLIP”. The installation file has a considerable size, wait for sometime for the download to finish. After the download, check in your downloads folder that a file exists with a “.run” extension.

Screenshot from 2016-12-03 11-28-12

 

 

2. Open your Terminal:

Press  Ctrl+Alt+T for your terminal to open, or open it from your launcher. Type away the following commands. The version may change depending on when you’re reading this.

cd XXXX
sh hplip-3.16.10.run

The XXXX in the change directory command denotes the folder to which you have saved the installation file from the website. And type the corresponding file name in the sh command. (It may be different for different users. just check..!). You’ll receive messages like this given in the below pic.


hplip_ubuntu_quantal_1

 

 

 

 


To choose the automatic mode of installation, type in the following. (Hit Enter after each command to confirm)

a
y
enter your password

Take a while for the processing to finish. After each process, Read the dialogues in the terminal and type in the suitable i.e, y-yes, n-no.

printer1

 

 

 

 

After a while, a message comes up as in the above picture. To Remove and Install type i.
i

Type in y,n,i depending on your choices till the message “SUCCESSFULLY INSTALLED”. Type r to restart the system.
r

After restarting , On your menu bar , a small blue colored hp icon will appear. Shows that your driver is perfectly installed and shortcut to hp device manager.

hplip_ubuntu_quantal_3

 

 

 

 

3. Download plugin:

Click on the blue icon. A dialogue box like this will appear.


20pais7

 

 

 

 


Activate the radio button to download and install the plugin to make your driver fully functioning with the printer.

After the installation, your printer is ready to use..!!