January 29, 2009

January 27, 2009

What to do when Word crashes?

"Such is the nature of the beast that sooner or later Word will crash. When you restart, Word may try and recover the document you were working on, but this is a bit hit and miss, so don't rely on it. Configure Word to create a backup file - and save often. It is good practice to drill CTRL+S into your brain and apply it every time you pause for thought. Then when the wheel comes off, you don't lose too much work." gmayor.com

SHORTCUTS: linux screen keyboard shortcuts

"screen is a much under utilised program, which provides the following functionality:

* Remote terminal session management (detaching or sharing terminal sessions)
* unlimited windows (unlike the hardcoded number of Linux virtual consoles)
* scrollback buffer (not limited to video memory like Linux virtual consoles)
* copy/paste between windows
* notification of either activity or inactivity in a window
* split terminal (horizontally) into multiple regions (vertical support added Aug 2008)
* locking other users out of terminal

See also my screen settings

Key Action Notes
Ctrl+a c new window
Ctrl+a n next window I bind F12 to this
Ctrl+a p previous window I bind F11 to this
Ctrl+a " select window from list I have window list in the status line
Ctrl+a Ctrl+a previous window viewed

Ctrl+a S split terminal horizontally into regions Ctrl+a c to create new window there
Ctrl+a :resize resize region
Ctrl+a :fit fit screen size to new terminal size Ctrl+a F is the same. Do after resizing xterm
Ctrl+a :remove remove region Ctrl+a X is the same
Ctrl+a tab Move to next region

Ctrl+a d detach screen from terminal Start screen with -r option to reattach
Ctrl+a A set window title
Ctrl+a x lock session Enter user password to unlock
Ctrl+a [ enter scrollback/copy mode Enter to start and end copy region. Ctrl+a ] to leave this mode
Ctrl+a ] paste buffer Supports pasting between windows
Ctrl+a > write paste buffer to file useful for copying between screens
Ctrl+a < read paste buffer from file useful for pasting between screens

Ctrl+a ? show key bindings/command names Note unbound commands only in man page
Ctrl+a : goto screen command prompt up shows last command entered" pixelbeat.org

CODE: jQuery Tag Suggestion

"If you're familiar with del.icio.us you will be familiar with the tag suggesting as-you-type support." remysharp.com

AviScreen Portable - free screen capture

"AviScreen is an application for capturing screen activity in the form of AVI video or bitmap images. Beside the usual options defining the capture area, AviScreen has a unique feature called "follow the cursor". Using this mode you can produce a video or image of relatively small dimensions while covering all mouse activity over the whole screen area. " mi3soft.info

Online syntax highlighting

"Online syntax highlighting" tohtml.com

SOLVED:xul json tags autosuggest

;) I wrote small xul tags autosuggest. And i works ;)







January 26, 2009

SOLUTION jsonwrapper: json_encode for earlier versions of PHP 5.x

"What is this about?
PHP 5.2 adds the json_encode function, which turns almost any PHP data structure into valid JavaScript code. Hashes, arrays, arrays of hashes, whatever.

Unfortunately a lot of Linux distributions are still shipping with PHP 5.1.x.

jsonwrapper implements the json_encode function if it is missing, and leaves it alone if it is already present. So it is nicely future-compatible.

Just add:

require 'jsonwrapper.php';" boutell.com

January 21, 2009

ncdu - (visual du) - Rediscover your hard drive.

"As the name already suggests, ncdu is an ncurses version of the famous old 'du' unix command. It provides a fast and easy interface to your harddrive. Where is your disk space going? Why is your home directory that large? ncdu can answer those questions for you in just a matter of seconds!" dev.yorhel.nl

Tabbed Putty

1) http://www.raisin.de/putty-tabs/putty-tabs.html
Download Executable (~20kB, .NET 2.0 required)

2) http://www.wintabber.com/
WinTabber setup 0.2.156

//www.wintabber.com/images/large/putty2.jpg” cannot be displayed, because it contains errors.

January 13, 2009

How to online encode/decode a binary file into Base 64

"Many a times we require to convert a file into Base64 and then to decode it. Base64 encoded files are used at so many places, many Greasemonkey scripts also require you to convert images into base64 first.

OpinionatedGeek has online solution to quickly encode a binary file to Base64 representation. You can either upload a file or can directly encode a text from there. You can also decode the text output you got after encoding

Online Base 64 Encoder

Online Base 64 Decoder

You can convert any binary file (jpg, png, gif, doc, ppt, xls etc) with this online tool" whibb.com

January 12, 2009

Useful XUL links

  • Eclipse Plugin http://eclipsexul.sourceforge.net/update-site
  • Firefox Plugins
  • Extension Developer http://ted.mielczarek.org/code/mozilla/extensiondev/ https://addons.mozilla.org/en-US/firefox/addon/7434
  • Chrome List http://www.gijsk.com/mozilla/chromelist/ https://addons.mozilla.org/en-US/firefox/addon/4453

January 8, 2009

LiveJournal.com is currently unavailable...

"LiveJournal.com is currently unavailable due to emergency maintenance. Don't worry, this has nothing to do with our recent company layoffs! It's a technical problem, not a lack-of-personnel problem.

Thank you for your patience. " russenreaktor.livejournal.com

January 5, 2009

The Perfect Setup - SuSE 10.1

"This is a detailed description about how to set up a SuSE 10.1 based server that offers all services needed by ISPs and hosters (web server (SSL-capable), mail server (with SMTP-AUTH and TLS!), DNS server, FTP server, MySQL server, POP3/IMAP, Quota, Firewall, etc.).

I will use the following software:

* Web Server: Apache 2.2.0
* Database Server: MySQL 5.0
* Mail Server: Postfix
* DNS Server: BIND9
* FTP Server: proftpd (ISPConfig will not work with vsftpd on SUSE 10.1)
* POP3/IMAP: I will use Maildir format and therefore install Courier-POP3/Courier-IMAP.
* Webalizer for web site statistics" howtoforge.org

Bandwidth conversion calculator

"Bandwidth conversion calculator " web.forret.com

January 1, 2009

Linux / Unix Command: locate

" To update the database, use the updatedb command."  oreillynet.com

"slocate -u

This command builds the slocate database which will allow you to use the locate (slocate) command. It may take a few minutes to run. " linux.about.com