Tag Archives: 2017

Windows 10 – show system information.

This commands will show you information about your Windows operating system and network:

Posted in All, Commands, Windows 10. Tagged with , , , .

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: https://script.google.com …
This will allow you to create New – Project , Script file , Html file and google documents.
Use the Code.gs 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 tell 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.
Overview

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
Labels
Titles
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.

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

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:

Posted in All, HTML 5, javascript, Programming. Tagged with , , , .

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) :
free-tutorials
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:

Posted in All, HTML 5, javascript, Programming. Tagged with , , , .

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 irc.freenode.net 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 webchat.freenode.net.
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.

Posted in All, Commands, web. Tagged with , , , , .