Repair MySQL Database
avatar

If you have corrupt mysql tables you can run this command to automatically fix them. Just make sure you have enough free space. It general takes about double the size of the table to do the repair.

mysqlcheck –auto-repair -A -u -p

Posted in Android, Development, Guides, Linux, Websites | Leave a comment

Mount a windows share in Linux
avatar

Here is how you can mount a windows share in Linux.

mount -t cifs //<host>/<share name> /mnt/cifs -o username=<share user>,password=<share password>,domain=<share domain>

Posted in Linux | Leave a comment

explainshell.com – match command-line arguments to their help text
avatar

This is a pretty neat site which will explain the linux/unix command options you are using.

explainshell.com – match command-line arguments to their help text.

Posted in Guides, Linux | Leave a comment

Turn on IP Forwarding in Linux
avatar

By default for security reasons IP forwarding is turned off.  If you are setting up a router or a vpn gateway you will need to turn it back on.  You can just run the following command to turn it on.

echo 1 > /proc/sys/net/ipv4/ip_forward

 

Posted in Arch, CentOS, Fedora, Guides, Linux, Networking | 1 Comment

HowTo: Linux Rip and Encode Audio CDs
avatar

HowTo: Linux Rip and Encode Audio CDs.

Posted in Guides, Linux | Leave a comment