programming

cURL – Tutorial

2010/09/15

Here are linkw to two nice tutorials on curl and how to use curl to login before we try to fetch a page. Hope you find them useful. http://curl.haxx.se/docs/httpscripting.html …

OpenID for non-SuperUsers

2010/09/07

Based on the results of my Unobtrusive <a class="zem_slink" title="OpenID Foundation" rel="homepage" href="http://openid.net">OpenID post, it is quite …

Use the last command\’s output as input to a command without piping and bind to it to a key sequence in bash.

2010/09/01

Use the last command&#8217;s output as input to a command without piping and bind to it to a key sequence in <a class="zem_slink" title="Bash (Unix shell)" …

when you press f9 ‘paste’ is on , press f9 again and ‘paste’ is off, and so forth (works in insert-mode and command-mode)

2010/08/02

<a class="zem_slink" title="Vim (text editor)" rel="homepage" href="http://www.vim.org/">vim&#8217;s pastetoggle: when you press f9 …

Adding a sub-menu in the wordpress admin menu :)

2010/07/29

For the impatient ones, first the code: (in wp-admin folder, open the file menu.php) and locate the code: […] $submenu[&#8217;edit.php&#8217;][10] = array( _x(&#8217;Add …

PuTTY alternatives - AlternativeTo.net

2010/07/27

I like PuTTY quite a bit but do not like the fact that it does not have any tab feature. So, if I am working on multiple machines then un-necessarily I will have too many windows open cluttering my …

List of commands you use most often

2010/07/25

$ history | <a class="zem_slink" title="AWK" rel="homepage" href="http://cm.bell-labs.com/cm/cs/awkbook/index.html">awk '{a[$2]++}END{for(i in a){print …

Magic space on the current command line

2010/06/25

# For how to set up magic space for Bash see: # – http://www.ukuug.org/events/linux2003/papers/bash_tips/#slide15 # – http://codesnippets.joyent.com/posts/show/1690 man bash 2>/dev/null | less -p …

Using tput to save, clear and restore the terminal contents

2010/06/17

Using tput to save, clear and restore the terminal contents $ tput smcup; echo &#8221;Doing some things…&#8221;; sleep 2; tput rmcup Very useful for interactive scripts where you would like to …

Teaching Kids Programming with Free Programming Languages

2010/06/16

<a href="http://blog.amit-agarwal.co.in/category/linux/">Bookmark this category Teaching Kids Programming with Free Programming Languages Tech Source From Bohol: &#8221;Most of …

List of commands you use most often

2010/06/16

$ history | <a class="zem_slink freebase/en/awk" title="AWK" rel="homepage" href="http://cm.bell-labs.com/cm/cs/awkbook/index.html">awk …

Determine what process is listening on a port on Solaris, without lsof

2010/06/08

$ for x in `ptree | <a class="zem_slink freebase/en/awk" title="AWK" rel="homepage" href="http://cm.bell-labs.com/cm/cs/awkbook/index.html">awk '{print …


This website uses cookies to ensure you get the best experience on our website. Learn more Got it