Google Apps Script – custom menu – part 004.

This tutorial is about how to add a custom into your google document using the google app script.
First you need to have one open document and then click into menu : Tools – Script editor …
You will see a new document into your browser with a link like this: …
This will allow you to create New – Project , Script file , Html file and google documents.
Use the like base of script and add this source of code:

Now add this new Html page named Page.html with this source code:

The result is this:

The base of drawing menu is the onOpen function to create and draw the menu by get the document and create and add menu and submenu with separators. This come with the text of muenu and the functions for each click on menu.

In this example, I used one html page file. That html page is show us by using the showDialog function.
The documentation of Google Apps Script told us:
The UI service in Google Apps Script provides the ability to build a user interface for displaying or capturing information using user interface elements called widgets.

Your scripts can create a wide range of user interface elements, including, but not limited to, the following:

Push buttons
Radio buttons
Toggle buttons
Check boxes
Text fields
List boxes
Dialog boxes
Panels of many types
And far more elements than it’s possible to list here.

You can also test one edit box example by adding this function and change the onOpen function to show it.


Side menu with jQuery.

This side menu is a very simple example with HTML5, CSS and jQuery.
The result is this:

You can see the source code:


Random lines with jQuery.

This is a complex tutorial about HTML5, jQuery and javascript.
The result of this tutorial will be a text and one canvas with random animated lines.
The result is this animated line into html5 file (also you can see my codepen example) :
Because I used jQuery , first line of code into head section was:

To see the result: the text and canvas I used into body section this tags:

The next step is to have a style into my html5 file, so I put this code into head section:

Next steps:

  • select canvas for draw ( I used c variable );
  • make a random points into canvas ( I used a function);
  • make points and lines ( I used b function);
  • make create, animate and line function object as a combination of a prototype;

JavaScript allows you to use a Function object as a combination of a prototype to use for the new object and a constructor function to invoke.
The event.pageX property returns the position of the mouse pointer, relative to the left edge of the document.
Let’s see now the full source code:


irc freenode

About IRC.
Internet Relay Chat (IRC) is a system for chatting that involves a set of rules and conventions and client/server software.
The base of this system is an application layer protocol that facilitates communication in the form of text.
This open protocol uses TCP[1] and, optionally, TLS.
Most people always been running the IRC on 6667 port.
New to IRC?
First you need to know about IRC is always the server and the client communication way.
I used fro server and many client applications.
All this client applications connect to freenode by pointing your IRC client.
Examples of applications client for IRC: irssi, WeeChat, ERC, HexChat, Smuxi, Quassel or mIRC(Windows OS).
There are several IRC clients that are actively working very well an I used:

Let’s see some commands for server and client IRC:

To make tests with IRC you can also use a web interface like
To view the current state of your account, while identified type:

If you’d like to then change the registered email address, first…

Your email address is hidden from other users by default. You can ensure this by setting:

Send pass of your account:

Register your IRC nick:

then identify to your primary account:

Some tips and tricks.
– How to fix “nickname is already in use” error in irc?
1. You are not closed your previous session of IRC chat
a) Trying to login with same nickname in another place/application with
existing active connection.
2. You are internet connectivity disconnected and IRC server not released
your session.
How to fix:
a) /msg NickServ GHOST nickname password
b) /msg NickServ IDENTIFY nickname password
c) /quote NickServ set enforce OFF
d) /quote NickServ release nickname password
e) /quote NickServ set enforce ON
3. some tips and commands:
– List all channels:
a) /list
– Find others
a) /who *~*
– See server uptime
a) /uptime
For more infos take a look at wiki page: irc instructions.


Windows 10 – Control Panel applications tools.

Using command shell under Windows 10 ( cmd – command ) you can start the applications tools from your Control Panel.
See the table with:
name of tool : command
Accessibility Options : control access.cpl
Add/Remove Programs : control appwiz.cpl
Add Hardware Wizard : control hdwwiz.cpl
Administrative Tools : control admintools
Automatic Updates : control wuaucpl.cpl
Bluetooth Properties : control bthprops.cpl
Control Panel : control panel
Desktop Properties : control desktop
Desktop Appearances Properties : control color
Display Properties : control desk.cpl
Fastfind Properties : control findfast.cpl
Firewall Properties : control firewall.cpl
Fonts Folder : control fonts
Game Controllers : control joy.cpl
Infrared Properties : control infrared
Internet Options : control inetcpl.cpl
iSCSI Initiator : control iscsicpl.cpl
Java Control Panel : control jpicpl32.cpl
Keyboard Properties : control main.cpl keyboard
Licensing Mode : control liccpa.cpl
Mouse Properties : control main.cpl
Network Connections : control ncpa.cpl
Network Setup Wizard : control netsetup.cpl
ODBC Properties : control odbccp32.cpl
Power Options : control powercfg.cpl
Printers Folder : control printers
Regional and Language Options : control intl.cpl
Scanners and Camera Properties : control sticpl.cpl
Schedule Tasks : control schedtasks
Sound and Audio Devices : control mmsys.cpl
Stored Passwords : control keymgr.cpl
System Properties : control sysdm.cpl
Telephone and Modem Properties : control telephon.cpl
Time and Date Settings : control timedate.cpl
User Accounts : control nusrmgr.cpl
User Accounts Advances : control userpasswords2
User Passwords : control userpasswords
Windows Security Center : control wscui.cpl
Wireless Link : control irprops.cpl