Using an old router as a hub
Internet connection is through my Primary Router with an address of 192.168.0.1. My secondary router has an address of 192.168.0.2. It is connected to the primary router using a standard cable in one of the…
Internet connection is through my Primary Router with an address of 192.168.0.1. My secondary router has an address of 192.168.0.2. It is connected to the primary router using a standard cable in one of the…
Here are some helpful options when using FTP at the command line interface: Connecting to a server sftp user@domain To use a different port sftp -oPort=999 user@domain Uploading a file put file.ext Downloading a file…
Viewing who is to blame for a portion of code under SVN in VIM, add this to your .vimrc vmap gl :!svn blame =expand(“%:p”) \| sed -n =line(“‘< ") ,=line("'>“) p Then using Visual Block,…
Here are some of the more common commands I find myself using to control VirtualBox from the CLI: Displaying VirtualBox Guest information Show available VMs VBoxManage list vms Show available OS Types VBoxManage list ostypes…
To start a script or program on startup, just add the command to : CentOS: /etc/rc.d/rc.local Arch: /etc/rc.local
nohup VBoxHeadless –startvm <guestvmname> & Explanation: nohup – (NoHangups) Keep the process running, even when the terminal is closed <guestvmname> – the name of the VM you wish to start & – run the process…
At work, I noticed I kept doing the same configuration for VirtualBox everytime I created a new guest. Because I’m lazy, I hate doing the same things over and over, so I researched the CLI…
I had a job come up that required me to write a jQuery plugin. Not being a jQuery developer, I needed a little guidance. I found a great article, jQuery Plugin Tutorial, In-Depth for Absolute…
I often create a quick bash script on the fly that cats a file, and does something with each line. For the example, we have a text file (text.txt) that contains the following: a b…
Taken from http://www.mutt.org/doc/manual/manual-4.html Many of Mutt’s commands allow you to specify a pattern to match (limit, tag-pattern, delete-pattern, etc.). There are several ways to select messages: ~A all messages ~b EXPR messages which contain EXPR…