Jul 19 2008
Several years ago, while I was learning Windows Scripting I wrote a little script that uses the LEDs in the keyboard to do funky patterns (Think the red lights of “Knight Rider”) it’s a cool little script for beginners to play around. It would be cool (geek) to come up with a x-mas pattern and run the script when the x-mas screensaver gets triggered.
Link to script:
here (ctrl+c to stop)
Note: Make sure all LEDs (Caps Lock, Scroll Lock, Num Lock) are off before starting the script from the command line as “cscript leds.vbs” (Look at the source for parameter options)
Tagged as:
code,
programming,
script,
vbscript,
windows,
x-mas
Jul 17 2008
cmdPhone is basically a command line wrapper for the BT SDK with which you can send SMS messages, make phone calls to plain old landline phones and/or mobile phones and make conference calls (almost anywhere in the world).
cmdPhone was originally developed for troubleshooting issues with the SDK (Thus the raw direct-to-console handling of exceptions). The command line tool can be used in a "script" mode in which you can call a particular function together with the relevant parameters in a single line and/or a simple "friendly" mode in which you are guided step by step
You can download cmdPhone HERE it shouldn't take more than 5 minutes to download and set up. Please let me know how you got along with it!
Note: Unfortunately the really cool “mobile phone location tracking” feature has been withdrawn from the latest version of the SDK and as such I have removed said functionality, however, If you are really interested in getting the old version (which is a lot more difficult to install as it requires WSE3) just drop me a line.
PS: After some initial feedback, I can tell that the setup process is not as simple as it could be (diagram
here) I have started coding a semi-automated setup which should ease the pain.
Tagged as:
.net,
c#,
cmd,
code,
command,
command line,
free,
gnu,
open source,
phone,
tool,
windows
Jul 16 2008
So I managed to get round it and finally published my first open source project. I decided to use Codeplex as it is written in C# .NET, so far the main drawback with Codeplex is the lack of native support for subversion, there is a workround which basically involves a proxy-translator running on your machine, personally, I don't like this approach seems very clunky. I wouldn't mind if the translation was done on the server side thus making the process transparent (There are some talks about a server side svn-bridge being installed at Codeplex here but there have not been any updates since January).
The version control command line client is actually pretty good and written specifically to work with Codeplex.
Tagged as:
.net,
c#,
cmd,
code,
codeplex,
command,
command line,
free,
gnu,
microsoft,
open source,
phone,
source,
tool,
windows
Apr 20 2008
Just ran into an outstanding graduation speech given by Steve Jobs at Stanford University. Link to video
here and to the transcript
here (although there is nothing like hearing it from the man himself).
Tagged as:
apple,
graduation,
speech,
stanford,
Steve Jobs,
video
Apr 18 2008
I found myself needing to verify what ports are open on my home network, I decided to install nmap into my host provider shell account, for which unfortunately I don't get sudo/root access. After looking through the nmap's makefile for a while I came up with this script:
LATEST_STABLE_NMAP='nmap-4.60'
FILE_EXT='.tar.bz2'
wget http://download.insecure.org/nmap/dist/${LATEST_STABLE_NMAP}${FILE_EXT}
bzip2 -cd ${LATEST_STABLE_NMAP}${FILE_EXT} | tar xvf -
cd ${LATEST_STABLE_NMAP}
./configure
make
cp ./nmap ../
cp -r ./zenmap ../
ln -sf ../zenmap ../nmapfe
ln -sf ../zenmap ../xnmap
find . -maxdepth 1 -type f -name "nmap-*" ! -iname "*.*" -exec cp '{}' ../ \;
cd ..
rm -r ${LATEST_STABLE_NMAP}
rm ${LATEST_STABLE_NMAP}${FILE_EXT}
Link to script file:
here
Later on that day, after successfully running nmap on my sudoless account I found out about nmap-online.com... duh!
Tagged as:
bash,
code,
dreamhost,
host,
linux,
programming,
script,
unix,
web