How to copy a file to the Internet to share it with others easily without using Pastebin.

This Linux command will copy the text file given, “myfile.txt” and send it to the sprunge.us website. This allows you to share a text file with others without too much fuss. curl -F ‘sprunge=<myfile.txt’ http://sprunge.uscurl -F ‘sprunge=<myfile.txt’ http://sprunge.us You may also install the PastebinCL utility on Fedora 19, this allows you to upload text to … Read more

How to increase the size of a Virtualbox VDI disk image on a Macintosh computer. And other useful tips.

How to expand a VDI disk image on a Macintosh computer: http://mithunme.wordpress.com/2013/07/08/how-to-increase-the-disk-size-of-a-ubuntu-vdi-on-mac/. This would also be applicable to a Linux machine. A very useful tip. How to add a standard user to the /etc/sudoers file on a Macintosh computer: http://mithunme.wordpress.com/2013/02/10/adding-a-standard-user-to-etcsudoers-in-mac-os-x/. This is also applicable to a Linux machine. How to install World Of Warcraft on … Read more

Some misc computing tricks that are very useful indeed in your day to day desktop usage.

How to take a screenshot on Macintosh OSX: http://guides.macrumors.com/Taking_Screenshots_in_Mac_OS_X. To delete your Internet history quickly in Firefox; use the Ctrl-Shift-Del keyboard combination. You will be presented with a dialog that allows you to select the time period to erase. Watch the original Star Wars movie in ASCII with this awesome website: http://asciimation.co.nz/. How to monitor … Read more

Some miscellaneous BASH tricks. Useful tips for all Linux users.

This command shows how to display a listing of files with ls and show line numbers at the same time. homer@deep-thought ~/Desktop/Site % ls | nl 1 back.jpg 2 bejiitas_phpb1 3 bejiitas_phpb1.sql 4 cgi-bin 5 Files.tar.lzma 6 Map07Tufb.zip 7 my2.tar.lzma 8 program.c 9 quake38.jpg 10 sysinfo 11 tekcrazy_2.zip 12 wrap.rarhomer@deep-thought ~/Desktop/Site % ls | nl … Read more

Using the zsh shell and some useful tricks to make the most of this Linux shell.

The zsh shell is a nice alternative to the bash shell when you are using Linux and want a nice command shell for your day-to-day use. Below is my ~/.zshrc files that I am using now. Type sudo apt-get install zsh to install this in Ubuntu. If you want to use my ~/.zshrc files; then … Read more

BASH shell tips and tricks. Some useful tips for using the Linux CLI.

To get simple information about a Linux command, or to refresh your memory, use the info pages to learn more about the commands. Type info ls for example to get information about the ls command. Type help and then a bash scripting command like ‘echo’, and the help will be displayed. 4.4 Fri Oct 25 … Read more

Ubuntu Unity tips; how best to make use of the default desktop for Ubuntu Quantal Quetzal.

To remove icons from the Launcher panel on the left right-click on the icon and click the Unlock from Launcher option to remove the application icon. Once you have found an application that you want to add to the Launcher by searching with the dash just drag the icon on to the Launcher and it … Read more

Cool C programs and some very useful code snippets to make programming even more fun.

A very obfuscated C program. typedef unsigned char t;t*F="%c",l[]="|\\/=_ \n](.\0(),*(.(=(}*.)[[*.",N=’\n’,* r;typedef(*H)();extern H Ar;Q(a){return(a|-a)>>31;}H S(c,a){return(H)(a&~c|(int )Ar&c);}extern t*ist;V(t*u){*u^=*u&2^(*u>>7)*185;}Z(t*u,t n){*u-=n;}e(t c,H h){ R(h,Q(* r^c));} I(){r=l +7-4*Q( getchar ()^*l); }R(H h, int c){Ar=S (c,h);- main() ;}P(){r ++;}z() { O(&N);} O(t*c){ printf( F,+*c); }T(){r= "This is not a function\n" ;}w(U){ U=Z(r,8 ); r-=~Q(* r/8-4); return 0; }M(){r= ist-68; } h(){t … Read more

The Linux file-system tree explained.

The Linux file-system tree explained. The standard Linux installation is laid out in various folders that each have a different role to play in the smooth running of a Linux distribution. |-/ |-/bin |-/boot |-/dev |-/etc |-/home/username |-/lib |-/lost+found |-/mnt |-/proc |-/root |-/sbin |-/tmp |-/usr |-/usr/local |-/var|-/ |-/bin |-/boot |-/dev |-/etc |-/home/username |-/lib |-/lost+found |-/mnt … Read more

Some Ubuntu and Linux Mint tips and tricks.

Uncompressing rar files.Adding all files in current folder to a zip file.Mounting an improperly shut down Windows XP installation with Knoppix 6.4 Linux.Reading just the start or ending of a file.Some useful bash aliases. Apt errors. To deal with the message you get sometimes telling you that some packages have been kept back when you … Read more