Archive for the 'Open Source' Category

My top 10 commands 2.0

I know that this has been done before but it seems to go around every once in a while and I always have fun reading them. So once again here are my top 10 commands.

My Computer
[sourcecode language="python"]earobinson@MinusOne:~$ history|awk ‘{a[$2]++ } END{for(i in a){print a[i] ” ” i}}’|sort -rn|head
143 cd
114 ls
53 make
48 svn
34 svnup
18 sh
12 cat
11 rm
11 geany
9 touch
earobinson@MinusOne:~$ alias svnup
alias svnup=’. /media/data/dev/scripts/svnup/svnup.sh’
[/sourcecode]

Laptop
[sourcecode language="python"]earobinson@NaN:~$ history|awk ‘{a[$2]++ } END{for(i in a){print a[i] ” ” i}}’|sort -rn|head
138 make
82 ls
70 cd
41 cmake
33 svn
19 svnup
18 cat
16 man
12 ./A/runA
10 geany
earobinson@NaN:~$ alias svnup
alias svnup=’. /media/data/dev/scripts/svnup/svnup.sh’
[/sourcecode]

Girlfriends Computer
[sourcecode language="python"]earobinson@Null:~$ history|awk ‘{a[$2]++ } END{for(i in a){print a[i] ” ” i}}’|sort -rn|head
49 espeak
7 sudo
1 vi
1 top
1 ssh
1 man
1 ls
1 history|awk
1 history
1 exit
earobinson@Null:~$ espeak “love ya baby”
[/sourcecode]

Got My Powered By Ubuntu Stickers Friday

This Friday I got my powered by Ubuntu stickers, from system76. They came with a nice little letter pointing me to ubuntu-ca.org. I did send off for these about a year ago but free is free so I’m not complaining and my Ubuntu CD’s always come fast so I’m not complaining.

Thanks to everyone who made the stickers possible. They look great on my laptop. Sorry about the picture quality I took them with my XO because my digital camera is dead.

powered_214998683_bd3c9a35b5_o.jpg

test.pngtest2.png

Lets Let APT-URL Install Repositories

APT-URL is one of my favorite programs. The great thing about it is I can keep a list of programs I like on a website and easily install all the program I like on a new box, or point someone new to Ubuntu to the website with all my favorite programs. The problem is that with the personal package archives, letting users run there own repositories on launchpad, and many great programs using there own repository’s you need to add them to your source.list file before you can use any of those great programs.

My solution, let APT-URL add a repository after giving a warning of course. Is this dangerous, sure it is but we can take a similar approach to this that Firefox does, only let trusted websites add to the source.list file. So on a trusted website like launchpad you would get a message like “launchpad.net is trying to add the following repository” compared to a random website that might say “wiki.earobinson.org is trying to add a repository if this is a trusted website please click yes otherwise click no”. This would add some risk but the benefit to the user is huge. Please support this idea by voting for it at the Ubuntu brainstorm.



OLPC Spy Cam

So now that I have my XO OLPC computer I wanted to find something to do with it. As I said before its the web cam that really impressed me and so I decided to start playing with that. After jumping onto the #OLPC freenode irc room and asking them a few questions I was quickly able to write this python program.

Set it up as a cron job and upload pictures from outside my apartment window every hour. I’m not sure how long ill be keeping it running and if I play with the laptop and dont turn off the script I guess it will upload pictures of me.

Well for anyone interested the important code to take a picture is: [sourcecode language="python"]os.system(’gst-launch-0.10 v4l2src ! ffmpegcolorspace ! pngenc ! filesink location=’ + filename)[/sourcecode] and I would love to hear what you have been doing with your XO.

Ubuntu Spam

Using gmails spam filters I normally don’t have a problem with spam. However my one email that does receive a lot of spam is my Ubuntu email address. Interestingly enough a few open source members have droped there open source email addresses due to this exact problem. Jeff Bailey has disabled his @gnu.org email address, and talked about doing the same to his Ubuntu address. Daniel Robitaille has also posted on the problem. Now I like my Ubuntu email address so I’m not about going to delete it but I did receive three rather “great” bits of “email” to it today (Ill only include screen shots of two).

Ubuntu Spam 01

Ubuntu Spam 02

What I thought was “great” about these messages was that they where “sent” to Colin Watson and Corey Burger. Yes they got the emails wrong but I recognized the name instantly. I did find it funny that I had “antecedently” received personal emails to the both. It would be great if we where to use google apps, to run the Ubuntu emails that way we could take advantage of google great spam filters but I know that wont happen. I guess for now I’m stuck reading emails about the sexual prowess of Colin Watson and Corey Burger.

« Previous PageNext Page »