Tuesday, January 18, 2011

ubuntu how to copy all file types to a single folder

So I wanted to figure out an easy way to search my computer and my servers for a specific file type, in my case .eps figure files and copy them all to a single folder for me to review.

So first I need to make a folder to copy them do so I did this:

First I made the directory
mkdir figall

Move to the root folder
cd /

Now copy all files with extension .eps to my folder
sudo find -name "*.eps" -exec cp \{\} ~/Desktop/figall/ \;

Now I could repeat this for any file extension:
sudo find -name "*.jpg" -exec cp \{\} ~/Desktop/jpgall/ \;
sudo find -name "*.doc" -exec cp \{\} ~/Desktop/docall/ \;
sudo find -name "*.tex" -exec cp \{\} ~/Desktop/texall/ \;






Monday, January 17, 2011

make ubuntu gnome look like windows XP

This was great, I downloaded it and within minutes my entire desktop looked just like windows. Don't get me wrong, I hate windows and I can't wait for it to go out of business but this is funny and now people that use my computer will be clueless that it is not windows.

http://ubuntu.online02.com/node/14

Here is the direct link:
http://ubuntu.online02.com/files/XpGnome.tar.gz

Just:

tar -xvf XpGnome.tar.gz
cd XpGnome
sudo ./InstallXpGnome.sh

Friday, January 14, 2011

stream logitech alert camera through rtsp ubuntu linux

You can use VLC to do this here is an example:

vlc rtsp://192.168.2.137:554/HighResolutionVideo

or

vlc rtsp://192.168.2.137:554/LowResolutionVideo

Monday, January 3, 2011

Funniest crashthesuperbowl 2011 commerical finger lick

Just saw this:


You can vote for here it.
http://www.crashthesuperbowl.com/?%2F%3Ffinalist=1264#/?finalist=1264

Loved this commerical!
-Ben

Monday, December 27, 2010

How to show octave line by line output in real time

So octave will output everything from your script once it ends by default. This can be frustrating if you are trying to troubleshoot a lot of looping. To get the real time line by line output like Matlab you need to include:

more off;

At the beginning of your script. If you like you can put this in your octaverc startup file so you don't have to do this for each script. Hope that saves someone some time.

Tuesday, November 30, 2010

How to install google chrome browser behind firewall, download standalone

I had issues installing google chrome since I was behind a firewall and it would fail. You can install google chrome by downloadingthe alternative standalone install which is larger but saves you the issue of installing behind a firewall or proxy:
Here is the link:http://www.google.com/chrome/eula.html?standalone=1&hl=en&brand=CHMA

Saturday, November 27, 2010