How using ssh is a better way to access your remote machine. How to do this over port 443.

Using the ssh command to connect to a remote computer is a very good way to access your home machine when you are at college or at work. But sometimes you are behind an academic proxy and this blocks your ssh access. I had that problem and I used putty to connect to my home … Read more

Using tcpdump to capture packets with a wireless connected computer.

Use this command to capture packets with the tcpdump command. This will output to STDOUT, but you may use redirection to divert it to a text file. [root@deusexmachina homer]# tcpdump -i wlp2s0[root@deusexmachina homer]# tcpdump -i wlp2s0 This is the output that you get when you are capturing packets. This is on my home network, so … Read more

Some useful FizzBuzz examples for budding programmers.

Here are some useful FizzBuzz programming examples in various programming languages. These might prove useful as code samples that could be expanded into a larger project or just for interests sake. Very useful if you wish to learn how to program, taking these programs apart and modifying them would be a lot of fun. In … Read more

How to add a custom menu to Fluxbox to list your favorite applications.

Adding a custom menu to Fluxbox is very easy, this is how. The default ~/.fluxbox/fluxbox-menu file looks like this, it reads the /etc/X11/fluxbox/fluxbox-menu file to create the root menu for Fluxbox. [begin] (fluxbox)   [include] (/etc/X11/fluxbox/fluxbox-menu) [end][begin] (fluxbox) [include] (/etc/X11/fluxbox/fluxbox-menu) [end] But if you add a simple submenu to it like this, then you get … Read more

More useful shell tricks for bash. These are very useful tricks for any Linux user.

This sed trick will filter out the unwanted characters and leave only the letters ‘A’. homer@deusexmachina ~ $ echo "###AAA" | sed ‘s/###//gi’ AAAhomer@deusexmachina ~ $ echo "###AAA" | sed ‘s/###//gi’ AAA This is how to re-bind the annoying CAPS-Lock key to Esc. This can give that key a new use. xmodmap -e ‘clear Lock’ … Read more

How to encode a video to webm format and use it as a GIF replacement.

This is how to encode a video to webm format without sound to create a GIF replacement. The ffmpeg utility allows encoding a video in different formats. This is the perfect command for encoding a good quality webm video. ffmpeg -i gzdoom_2012_11_04_20_34_10_391.avi -ss 00:01:00.000 -to 00:01:20.000 \ -codec:v libvpx -quality good -cpu-used 0 -b:v 500k … Read more

Windows themes for xubuntu 13.10.

Nice Xfce4 themes for Xubuntu 13.10. Lubuntu XP theme: http://xfce-look.org/content/show.php/Lubuntu+XP+three+flavors?content=162880. A Windows XP styled theme for Lubuntu. Windows 8 mouse cursor theme: http://xfce-look.org/content/show.php/Win8E?content=160758. Vista styled Xfce4 theme: http://xfce-look.org/content/show.php/Vista+Royale?content=59665. Matthew Farrell’s Theme 1.0: http://xfce-look.org/content/show.php/Matthew+Farrell%27s+Theme?content=99669. A nice theme that may be used with Xfce4 that looks like Matthew Farrel`s theme from Die Hard 4.0. Wallpapers. Beautiful Amanita … Read more

Yet another way to get the IP address of a host and print it. And other useful networking commands.

This is a good way to get the IP address of a host and print it to the terminal. homer@deusexmachina ~ $ host yahoo.com | awk ‘/ has address / { print $4 }’ | cut -d " " -f14- 98.138.253.109homer@deusexmachina ~ $ host yahoo.com | awk ‘/ has address / { print $4 }’ … Read more

Windows XP support has ended. This is time to update to a better operating system.

Support for Windows XP has ended, this means that there will be no further updates for Windows XP on the desktop. This is a good time to upgrade either to Windows 7, which is supported until 2020; or to use Linux Mint and enjoy a faster and more reliable desktop operating system. I am using … Read more

Some more useful UNIX commands available for the Mac.

There are a few very useful UNIX commands available on the Apple Macintosh. Mountain Lion is what I am using in Virtualbox and I am having a look at some very useful shell commands and tips. The iostat command. This shows statistics of disk Input/Output. Homers-iMac:Documents homer$ iostat disk0 disk1 cpu load average KB/t tps … Read more

Goat Simulator coming to Linux and Macintosh soon! The mayhem will never stop!

The massively popular game Goat Simulator will be coming to Linux and Macintosh in a indeterminate time. This means that Linux users could enjoy this awesome sandbox game. Goat Simulator is a game where you play as an invincible Goat and you cause all kinds of mayhem in a suburban area. Powered by the Unreal … Read more

A recording of my Linux Mint 16 MATE desktop.

How I recorded this video. avconv -f x11grab -r 60 -s 1920×1080 -i :0.0 -vcodec libvpx -b:v 1M output.webmavconv -f x11grab -r 60 -s 1920×1080 -i :0.0 -vcodec libvpx -b:v 1M output.webm Use this command to install avconv. sudo apt-get install libav-toolssudo apt-get install libav-tools This is a very good way to show off your … Read more