Google AppScript »

[20 Feb 2017 | No Comment]

This article shows how to get latitude and longitude of a particular place or city. We read the city/place name from a Google Spreadsheet, then get the latitude and longitude of that place using Google AppScript’s “Maps” class and then save the lat long in the spreadsheet.
We will also be reading two places name from a Google Spreadsheet and then get the distance between those places in Kilometer using AppScript’s Maps class. Then, we save the distance in the spreadsheet.

Google AppScript »

[13 Feb 2017 | No Comment]

This article shows how to read list of email addresses, subject and message body from Google Spreadsheet and send separate emails to all of them with Google AppScript.
First, let’s see a simple example of sending single message to a particular email address.

Google AppScript »

[6 Feb 2017 | No Comment]

This article shows how to create a new Google Sheet and write data into it with Google AppScript. We will also be writing data into existing Google SpreadSheet.
Create a new Google Sheet and write data into it with AppScript

Google AppScript »

[30 Jan 2017 | No Comment]

This article shows how to create a new folder and file with some text inside it with Google AppScript. We will also see how to create a new Google Doc and write some text inside it through AppScript.
Create File & Folder with AppScript

Google AppScript »

[23 Jan 2017 | Comments Off on Google AppScript: Basic Introduction]

This tutorial provides a very basic introduction to Google App Script. I will also list out the works that can be done with AppScript. And, I will be showing very basic Javascript code that can be run on AppScript’s console. In this article, we will be dealing only with Javascript arrays and loops.
What is Google AppScript?

Magento, Magento 2 »

[16 Jan 2017 | Comments Off on Magento 2: Get Attribute Id, Name from Attribute Code]

This article shows how you can get attribute name or label, id, entity_type, etc. by attribute code in Magento 2.
If you would like get attribute name and value in Magento 1 then you may refer to this article: Magento: How to get attribute name and value?

Magento, Magento 2 »

[9 Jan 2017 | Comments Off on Magento 2: Get Payment Methods (All/Active/Used)]

This article shows how to get payment methods in Magento 2. We will be fetching 3 types of payment methods. They are:

1) All Payment Methods
2) Active/Enabled Payment Methods
3) Payment Methods that have been used while placing orders

Magento, Magento 2 »

[4 Jan 2017 | Comments Off on Magento 2: Get Customer Groups]

This article shows how to get all customer groups name and id in Magento 2.
I will be showing an example in a Block class. You can write the code in other class (Helper/Model) as well.
Here is the code that you need to write in your Block class.

Xubuntu »

[26 Dec 2016 | Comments Off on Xubuntu: Simple Battery Monitor/Indicator Plugin for Xfce Panel]

The xfce4-battery-plugin is a simple battery indicator plugin displayed in the panel bar of XFCE desktop.
I use it on my Xubuntu Linux. I preferred using this plugin when I was unable to customize the default battery indicator to show battery percentage on the panel.