Tag Archives: 2013

Google Apps Script – google maps – part 003.

The Maps Services service allows scripts to generate static maps, find directions, convert addresses into geocode coordinates, and sample elevations.

This is a simple example about how to make one static map using data from one spreadsheet.

Also you need to follow this tutorial.

I put all comments on script to make simple to read the source code and how it’s working.


The full source code of this tutorial :

Posted in All, Google Apps Script, Programming. Tagged with , , , .

fasm about format ELF executable 3 – part 001 .

The Executable and Linking Format named ELF providing developers with a set of
binary interface definitions that extend across multiple operating environments.

This is one simple example using fasm and ELF executable 3 .

Let’s run it:

Using format ELF executable 3 I can create segment readable executable and use it.

Also this allow me to set the aligned in the memory.

You can come with more infos about this issue.

Posted in All, Assembler, Linux, Programming. Tagged with , , .

Test your javascript online with many libs.

If you want to test some java script then use jsbin.com.

This website allow you to script html, css, javascript with many libs.

This libs include JQuery, Bootstrap, Angular, Dojo, Enyo, CoffeeScript and more…

After you edit your script just press button Run with JS.

See the next image where I test if WebGL is supported by my browser.

javascript programming online

Posted in All, HTML 5, Programming, web, WebGL. Tagged with , , , , .

Google Apps Script – trigger and gmail – part 002.

What is a trigger ? The google come with :

A trigger is a type of script resource that listens for a particular event and executes a function when that event fires.

Let’s make a simple example using triggers.

I will make a script to sent a simple mail every 1 minute.

First will need to see my first tutorial.

Follow the steps to create a new google spreadshet and open a new script.

After that add this source code to your script and change your_mail with your real gmail account:

Go to Resources -> All your triggers …

google apps script trigger

You will see something like this. Set your trigger like in the next image.

google apps script trigger

Save your script and run it. Go to gmail account will see one mail each minute.

You can use the blue notification link is used to send email notification…you can use that.

All emails I got from this script.

google apps script trigger

To stop this trigger just go to Resources -> All your triggers delete the trigger and save your script.

NOTE: Check if you stop the script! Also your email will be full with emails from this script.

Posted in All, Google Apps Script, Programming. Tagged with , , .

Google Apps Script – Creating UI – part 001.

What is the Google Apps Script?

It’s a JavaScript cloud scripting language that extends Google Apps and provides easy ways to automate tasks across Google products and third party services.

So you can deal with all google products like docs , gmail , calendar , maps etc. to make all good for you.

Now it’s three ways users access UI developed in Apps Script :

– google spreadshet

– google sites

– standalone – can be accesed by URL

It’s two types of apps Script UI Objects.


-form panel

-horizontal panel

-vertical panel

-flow panel

-… and more


-text box



-check boxes

-text area

-radio buttons

-… and more

How to using panles in the right way…

First you need to create the application.See the script:

You can also create one horizontal panel

… or maybe if you want an flow panel

Let’s make one simple script example to show you how to do it.

First open one new spreadsheet in your google drive account.

Go to Menu – Tools -> Script Editor , see the next image:


Select Blank Project …


You will have one new tab in your browser , this will be the editor to write your script.


Write now in this editor this script.

Save the script and try to run button (will see something like one play button in the menu).

First time when you try to run project will need some authorization. Be agree.
http://free-tutorials.org/wp-content/uploads/2013/08/google apps script authorization
In the tab browser with your spreadsheet will see this:


The next step is to make one function to handle user action.

The handlers are used to wire user response to Apps Script functions.

This it’s the full source script :

Posted in All, Google Apps Script, Programming. Tagged with , , .