Linux




Linux Ubuntu 12.04 alt-tab not working

I’ve recently installed Ubuntu 12.04 Prestige Pangolin (I use Gnome Classic), and immediately noticed that the alt+tab shortcut wasn’t working. I tried fixing it within Applications>Systems Tools>System Settings, but that did not work. I have compiz Config Manager already install so I figured I …



VMWare Fusion 4 - Set static IP address

In vmware Fusion 4 there is no boot.shthat is found in previous versions sudo "/Library/Application Support/VMware Fusion/boot.sh" --restart So if you make a change to the network settings like setting a static ip address you'll need to restart your computer for the settings to …



Recursively remove svn directories from a directory

Removing all .svn directories from a file structure in linux is as simple as running a one liner. find . -name .svn -print0 | xargs -0 rm -rf



How to add git to an amazon ami ec2 instance

To install git on amazon ami is really simple. Make sure you have sudo and then run yum to install it. sudo yum install git That's it. The output should be something like: \$ sudo yum install git Loaded plugins: fastestmirror, priorities, security Determining fastest mirrors amzn-main | 2.1 kB 00 …



Find loaded modules in Apache 2.x

I was trying to figure out how to find the loaded modules in Apache and came across this nice command. httpd -M Used like: \$ httpd -M Loaded Modules: core_module (static) mpm_prefork_module (static) http_module (static) so_module (static) authn_file_module (shared) authn_default_module (shared) ...... rewrite_module (shared) php5_module (shared) extract_forwarded_module (shared) geoip_module (shared) Syntax OK …



Display phpinfo from the command line

This afternoon I was wanting to get a couple things from phpinfo but didn't want to do the typical make a php file, put phpinfo, run it from a browser or command prompt. There's a better, quicker way if you know what you want. One will output it to a …