@zipweather is Up and Running
zipweather is a twitter bot that will tell you the weather when you reply to it. This is my first twitter bot and I plan on replicating it’s functionality on identi.ca. The code is free to download and modify as you like so build upon my idea or make your own.
Basic Linux Commands Under Windows
Personally I run linux at home but at work like many other people I am somewhat forced to run windows. Now windows command line or dos prompt isn’t as powerful as the shells available to you in linux, but it is still a powerful tool. Just being able to use wild cards (*) to delete files is easier than using explorer. But I when in windows dos prompt I tend to have a problem of typing linux commands when I want to do things, particularly ls when I want to type dir.
So to solve this I have created a few batch files, example:
ls.bat: @echo off dir %1 %2
This can be done with many of the equivalent dos commands, the percentages are the arguments after the command, e.g. ls /p *.jpg will be passed along as dir /p *.jpg. There are a few more commands that are easy to translate into linux like del, copy and move. But always be careful as not all dos commands use the same switches or syntax as their linux counterparts.
mythTV Logitech Dual Action joystick config
After searching around I couldn’t find any good examples of a joystickmenurc that supported my Logitech Dual Action joystick for mythTV. So after a little bit of fooling around I came up with this:
# joystick menu config file # Place in ~/.mythtv/ # # Format: # devicenameSpecify name of joystick device to use # (e.g. /dev/input/js0) # button num keystring Send 'keystring' when button 'num' is released # chord cnum bnum keystring If button cnum is down, and button 'bnum' # is released, send keystring # axis num from to keystring If axis num goes into the range of from-to # send keystring devicename /dev/input/js0 button 0 Esc button 1 Enter button 2 P button 3 | button 4 < button 5 > button 6 [ button 7 ] button 8 M button 9 I button 10 T button 11 W #Right axis 4 -1 0 Right #Left axis 4 0 1 Left #Down axis 5 -1 0 Down #Up axis 5 0 1 Up
Next I plan on switching up somethings so I can use the analog sticks.
Late Night GIMP Fun
A Notebook, by Google
So for a while I was looking into making like a online todo list for myself, just for quick notes and stuff. Really it was because I would think about things that I would want to post or look into more while I was at work and then by the time I got home I would forget. My first thoughts were to get a wiki going, but that seemed to much to meet my simple needs. I wanted to program it myself, but I never got around to it and there are more important things I need to program. This is where Google Notebook would fill the gap.
Originally when I first heard about Google Notebook, I thought there was no real purpose for it, but now I see it’s benefits. “With Google Notebook, you can browse, clip, and organize information from across the web in a single online location that’s accessible from any computer.” [1] It does exactly that too. I can access it from work and home or any place that there is access to the internet. It also has nice features like a Firefox Addon and a mobile version I can access from my phone. It allows for multiple categories under one notebook to keep things organized. So really overall it’s much better then sticky notes.
CybertronPC Mini Notebook that Runs Linux
It seems that CybertronPC.com is offering a rebranded Asus EEE PC 2G Surf, which makes sense since ASUS sells laptops for people to rebrand. You can get it through TigerDirect.com where you can also see some nice interface screen shots of the device.