Back when I used Windows, on e of my first modification would be to install Windows power toys and get the “Open command prompt here” right click menu working. Occasionally, I find this could be useful in Ubuntu when using Nautilus (the default file manager). By default, a right click option for this does not Read More…
Toggling table rows with JQuery
Sometimes webpages and forms grow too large to be viewed comfortably. This can confuse the user. It is kind of like a kid dumping out his toy boxes on the floor all over the house. Now he can’t find anything and the landscape becomes daunting to navigate. A quick solution in the web world is Read More…
Dealing with config files in Git
So while developing for my job, I’ve come across an interesting challenge. How does one automatically change config file values based on the branch they are currently using in Git? Background So for one of my projects, we have a website that is used on several domains. Due to certain constraints and history of our Read More…
Reverse SSH to access Linux computer behind firewall.
Ever find yourself needed to access a computer that is behind a NAT firewall, but cannot without a bunch of goofy port forwarding rules at your router? I know, it is annoying. Here is how to SSH into your computer without adding port forwarding rules to your router’s firewall. For ease of explaining, I will Read More…
Outside world access for Linux Containers
If you have ever used a virtual machine, you know how useful they can be. Linux has a special lightweight virtual machine-like interface that reuses the kernel, but installs the remaining portion of the operating system in a separate container. It uses less memory and integrates nicely with an existing system. There are many advantages Read More…
Making Wine the default handler for EXE in Ubuntu
Did you know you can run many Windows programs right through Ubuntu Linux. Use a program called “Wine”. To install Wine: Go to the Ubuntu Sofware Center and find “Wine”. Install Wine – Wine is now installed. Getting Wine to open exe files by default Tip/Warning: If you do not do the second section of Read More…
Forgot MySQL Password? Here is how to get back in and add a new user
If you program for the web, you probably have been locked out of MySQL at some point. If you find yourself in a situation where you cannot login, here is how you regain access. The following example will give your user complete control over the database. 1. Login as a sudo-er or a root Read More…
Getting rid of Windows end of line characters in Linux
Ever run into the error: “bad interpreter: No such file or directory”? The problem is you have CRLF end of line characters… The solution, run this command on the file in Linux… sed -i ‘s/r//’ filename
Rooting ASUS Transformer Infinity with Jellybean without unlocking the bootloader
[Update] While these are great instructions for rooting any Asus Transformer Infinity, I would encourage you to look at other tablets instead. Asus has had massive quality control issues with their Transformer line. One of the worst issues is the random screen cracks that can occur when docked. See this search for the latest of thousands of Read More…
Programming terms you have never heard of
The title above may be a lie. It just depends on your context or situation. You may have heard these terms (especially if you read Jeff Atwood’s recent post or Dodgy Coder’s 2011 post). Note that there may be very practical uses for some of these in real life. Others simply describe situations that should never Read More…