Hi, I was performaing a code review the other day where i cam upon this code: this operation was being performed over a 7mb file, and took around 18 seconds to complete. So, I thought I would see how fast it can remove these nodes using regular expressions. I came up with the following code. [...]
get asked this all the time, so here are the most common extract commands.. Extract the contents of “filename.tar” Command: tar -xvf filename.tar Extract the contents of “filename.tar.gz” Command: tar -zxvf filename.tar.gz Extract the contents of “filename.tar.bz2″ Command: tar -jxvf filename.tar.bz2
Hi, I had a friend that bricked his kindle fire, so I installed CM7 on it today, while doing so I got this error E: Cannot load volume \misc! you might also see md5 file not found how do you fix this? you dont, these errors are ok, just reboot the device after CM7 (update.zip) has [...]
This will enable the 2d unity mode on ubuntu when using vmware player. 3d is not avaible yet. add the repository: sudo add-apt-repository ppa:unity-2d-team/unity-2d-daily update repository: sudo apt-get update install unity 2d: sudo apt-get install unity-2d-default-settings now, logout of ubuntu on your vm click your login name on the ubuntu login screen you should now [...]
sudo apt-get install chromium-browser flashplugin-installer
Hi, here is how to write a url checker in powershell.. enjoy
Hi, I had someone ask today how to check if a mail server was working. So here is how to do it using telnet from the command line. The idea here is that you know the mailserver domain, and you know a valid email address that can send from that domain. Open your command window [...]
Hi, i got this answer from stackoverflow, but there are about another 20 or so answers on there and I keep having to sift through them all, so here is what worked for me: sudo nano /etc/apt/sources.list # uncomment the two lines referring to “partner” sudo apt-get update sudo apt-get install sun-java6-jre sun-java6-bin sun-java6-jdk that [...]