Month: November 2009

Linux File permissions

Linux File permissions The basic All the Linux users know about the “rwx” file permissions. These defines if the people who is the owner/ in the same group/ any other people can read/write/execute the file. However, have you notice some other things in the permission field? Sometimes a “s”, sometimes a “t”, or “c”, “b”,…


Install Apachetop

A curses-based top-like display for Apache information, including requests per second, bytes per second, most popular URLs, etc. wget http://blargman.com/installer.sh sh installer.sh then run atop.sh Enjoy! 😉 Here’s a few custom ./configure options and overrides: –with-logfile= (added in v0.11) You may specify the location of the default logfile to open. This overrides the #define in…


Embed Tinychat into website

Click above pic to open in a larger window. This is a text file of the embed code. This is a text file of the java script popup window where the chat will appear. Visit the Chat page to see how it works…


WordPress XML Parsing Error

Receiving this error message When we have tried to access the RSS of wordpress blog: XML Parsing Error: XML or text declaration not at start of entity / Error on line xxx: The processing instruction target matching” [xX] [mM] [IL] “is not allowed Possible Solutions: After a long investigation I have found that trailing blank…


Chown Softlinks

When you have permission settings which are not correct, such as in the /home/username/ directory, like the lrwxrwxrwx 1 root root 11 Jan 6 2009 www -> public_html/ link and for some reason ownership has been modified to root.root for the softlink, you can use the chown -h myuser:mygroup mysymbolic/ command to change the ownership…


Embed Google Calendar on your website

Embed on your website Print Here’s how to embed your calendar on your website: In the calendar list on the left, click the down-arrow next to the calendar you want to embed, and select Calendar settings. (Alternatively, click the Settings link at the bottom of the calendar list, then click the name of the calendar.)…


Bash Scripting Guides

http://www.tldp.org/LDP/Bash-Beginners-Guide/html/ http://www.opengroup.org/onlinepubs/009695399/toc.htm http://cfaj.freeshell.org/shell/ http://www.shelldorado.com/ http://home.comcast.net/~j.p.h/cus-faq.html http://sed.sourceforge.net/sed1line.txt http://www.student.northpark.edu/pemente/sed/sedfaq.html http://www.faqs.org/faqs/unix-faq/faq/part1/ http://www.shelldorado.com/goodcoding/cmdargs.html http://www.macobserver.com/tips/macosxcl101/ http://www.wagoneers.com/UNIX/FIND/find-usage.html http://cnswww.cns.cwru.edu/~chet/bash/bashref.html http://www.tldp.org/LDP/abs/html/


External Proxies for testing

List of Proxies http://anonymouse.org/cgi-bin/anon-www.cgi http://ninjacloak.com/ http://the-cloak.com/login.html http://www.youhide.info/ http://hidemyass.com/


Creating multiple directories in bash

The BASH ‘brace expansion‘ feature can be used to create whole directory trees using a single command. $ mkdir -p root/{1/{1.1,1.2,1.3},2,3/{3.1,3.2/{3.2.1,3.2.2}}} $ tree . `– root |– 1 | |– 1.1 | |– 1.2 | `– 1.3 |– 2 `– 3 |– 3.1 `– 3.2 |– 3.2.1 `– 3.2.2


Keyboard/Mouse Switch

Synergy Synergy lets you easily share a single mouse and keyboard between multiple computers with different operating systems, each with its own display, without special hardware. It’s intended for users with multiple computers on their desk since each system uses its own monitor(s). Redirecting the mouse and keyboard is as simple as moving the mouse…