Friday, November 18, 2011

How to make a phone call to Cuba from Miami

How To:
Step 1: Dial International Call Prefix
Step 2: Dial Country Code
Step 3: Dial City Code (area code)
Step 4: Dial Local Number

1 -> 011 (Call prefix from the USA) 
2 -> 53 (Cuba prefix)
3 -> 43 (Cienfuegos's prefix)
4 -> 999999 (The local phone number you want to reach)

You dial 011 53 43 999999


Wednesday, November 16, 2011

NTP server iburst option

Each poll process sends NTP packets at intervals determined by the poll program. The program is designed to provide a sufficient update rate for thc clock discipline algorithm, while minimizing network overhead.

As an option of the server command, instead of a single packet, the poll program can send a burst of six packets at 2-s intervals. This is designed to reduce the time to synchronize the clock at initial startup (iburst) and/or to reduce the phase noise at the longer poll intervals (burst). The iburst option is effective only when the server is unreachable, while the burst option is effective only when the server is reachable.

Tuesday, November 8, 2011

Vim copy&paste in xterm

When running Vim in an xterm, you can either let Vim control the mouse
or let xterm control the mouse. This is configured by the 'mouse' option.

If the 'mouse' option is not set (or set to the default value), then Vim will
not control the mouse. You cannot move the Vim text cursor using the
mouse. When you select some text using the mouse, xterm will copy
it to the X11 cut buffer. When you press both the mouse buttons,
xterm will paste the text from the cut buffer.

If the 'mouse' option is set to 'a' or some other value, then Vim controls
the mouse. The mode (normal or insert or visual, etc) in which Vim
controls the mouse is configured by the 'mouse' option. You can move
the Vim text cursor using the mouse. When you select some text,
the 'clipboard' option setting is used to determine whether to transfer
the selected text to the clipboard or not. The default setting is to
transfer the selected text to the clipboard. If you want to use the
xterm selection mechanism in this mode, then you can press the
<Shift> key. If you press <Shift> key when selecting text using the
mouse, then Vim doesn't control the mouse and xterm controls the

PuTTY and the Bell panel

The Bell panel controls the terminal bell feature: the server's ability to cause PuTTY to beep at you.

In the default configuration, when the server sends the character with ASCII code 7 (Control-G), PuTTY will play the Windows Default Beep sound. This is not always what you want the terminal bell feature to do; the Bell panel allows you to configure alternative actions.

Set the style of bell

This control allows you to select various different actions to occur on a terminal bell:

Selecting "None" disables the bell completely. In this mode, the server can send as many Control-G characters as it likes and nothing at all will happen.

"Play Windows Default Sound" is the default setting. It causes the Windows "Default Beep" sound to be played. To change what this sound is, or to test it if nothing seems to be happening, use the Sound configurer in the Windows Control Panel.

"Play a custom sound file" allows you to specify a particular sound file to be used by PuTTY alone, or even by a particular individual PuTTY session. This allows you to distinguish your PuTTY beeps from any other beeps on the system. If you select this option, you will also need to enter the name of your sound file in the edit control "Custom sound file to play as a bell".

"Visual bell" is a silent alternative to a beeping computer. In this mode, when the server sends a Control-G, the whole PuTTY window will flash white for a fraction of a second.

Taken from: