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…

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

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…

What is a singleton on Java/Android?

A singleton is simple a class that can be instantiated, but only one instance can exist at a given time in the Java Virtual Machine (Or in Dalvik if you are using Android). Why is this useful? In the context of Android, you are the only one running on the JVM. Your phone is not Read More…

Returning MD5 instead of SHA1 from JDK 1.7 Keytool

If you are working with Android development, you know that you will need a debug MD5 key in order to request a Google Maps API Key. Most tutorials say to go to C:usersusername.Android and type: keytool -list -alias androiddebugkey -keystore debug.keystore -storepass android -keypass android Unfortunately, as of Java 7,  the keytool format has changed Read More…

Generating random passwords

If you find yourself in the need to generate a random password on occasion, please check out this site: http://www.pctools.com/guides/password/ It is a great tool if you are setting up an account for a user that may or may not change their password at a later date. (While it is always a good idea to change […]

AVSHost – Android and Web Development