Wednesday, October 7, 2009

Barcodes Invented - Google Doodle



 Of very interesting note was the new Google logo.  Clearly in celebration of the creation of bar codes.  I used an online barcode generator to confirm that the one on the Google home page spells "Google".  I thought it would be interesting to both link to the generator as well as create one for the blog.



This is very cool stuff, and if I had a barcode scanner I would probably go crazy making labels and writing scripts to inventory my belongings as well as itemize grocery lists.


--
CafeNinja
Creative Commons License
This work is licensed under a Creative Commons Attribution-Noncommercial-Share Alike 3.0 United States License.

Tuesday, October 6, 2009

Ubuntu Karmic 9.10 - countdown

It's that time again for Ubuntu 9.10 coming soon.  I'm already playing with the beta on a non production machine and am making this post from it now.  It is about the time that I should recommend that non-linux users look into Unetbootin to use a usb key to run the live CD version of linux without using a cd.  This will give a much closer to real performance feel than an actually CD which reads very slow.
I've got the countdown timer here and you can add yours to your blog by going to Ubuntu countdown timer page and choose the one for you.
I'll post again after I've "stretched my legs" with the Karmic Koala, but so far so good.  More of the same with more spit and polish. 

--
CafeNinja
Creative Commons License
This work is licensed under a Creative Commons Attribution-Noncommercial-Share Alike 3.0 United States License.

Thursday, October 1, 2009

Backtrack 4 - Wowzers


Hackers, probably yes.  More ominous than a university student using a "Green text on black window" as evidence of a hacker, is Backtrack 4.

I have played with the pre-release version of this security based Linux distribution.  With huge core changes like the distribution base changing to Ubuntu make this the first security distro that is actually useful as a day-to-day system for me.

I used this distro for only an hour before I was completely floored by the supreme set of security audit tools that come included.  Impressed even more by the way these apps are launched and just work.  With Ubuntu being my day-to-day distro this means that the system is not only useful for the moment that I need to test security, but could quite simply be one of the best all around distributions for me to use.

Backtrack 4 was a real eye-opener for me and if only it could be based on the most current version of Ubuntu it would be dreamy for me.  For sure I'll be keeping a usb key and a virtual machine around of Backtrack 4.  If you are just learning security (like artv61) or just curious or maybe need to prove a point to a window's user, this is an amazing tool.  Two thumbs up from the CafeNinja Cave.  Please go to www.remote-exploit.org and read more.  At the very least grab a 2Gb USB key and install Backtrack 4 on it.  They have a fabulous video tutorial on how to make a persistent USB install that works, I can attest to that.

--
CafeNinja
Creative Commons License
This work is licensed under a Creative Commons Attribution-Noncommercial-Share Alike 3.0 United States License.

Friday, September 25, 2009

Getting a license on this stuff

As a fan of huge digital rights activists like Cory Doctorow and Thomas Gideon I figured I would finally add my CC license to my blog content.   So, following in the footsteps of giants you will see the license badge at the end of each new blog post moving forward.

Keep watching.

Tuesday, September 22, 2009

Podcast Review: Linux Cranks

Right. In case the name was confusing, this is the Linux Cranks (and I do mean Cranks!!) Oggcast. No joke. And if you ask for the mp3 feed they might just DDoS you where you sit. The team of guys who have a very short talking points list manage to ramble for over an hour using curse words and inappropriate metaphors to explain the view of the world from pure geek eyes.

These guys will not accept "I don't want to use the command line." as an excuse to not hardwire your home automation and manage remote switches using only an ssh connection. Pretty hard core and geeky talk but when stretched out over an hour or two it sounds more like the weekly card game where everyone goes to smoke cigars and hide from the wives.

The entire crew has a very human sense of humour. There is no political correctness and they make no apologies for seeing the world over their keyboard. I really like listening to the guys and hanging out in IRC with them during the week even when they aren't doing the show. Actually, after listening to these guys for a few weeks, they start to feel like old friends and are just as approachable in IRC as they sound like on the show. These are in fact, my new "buds" and I hang out more with them in chat than I do with real people in real life.

The show technically comes out every other week as they alternate with TiT Radio, but it is also pretty much the same guys talking about the same stuff with a slightly different show format but about the same length. You can find all the info on the sister show at the Linux Cranks website.

--
CafeNinja

P.S. shout out to: Peter64, threethirty, artv61, snkmchnb, mesoDann, pegwole, jlindsay, Xoke & Mrs. Xoke, Klaatu, Azimuth. <--- not in any particular order.

(Update)
P.S.S - and a giant "atta-boy" for monsterb

Sunday, September 20, 2009

One Mutt to rule them all.

This will be the explanation of how I (known mutt fan) have set up just a few small tools in order to have access to multiple email accounts at the same time using mutt. I am still sure that I process a great deal more email more efficiently than my peers because I am reducing my Internet world to the lowest common denominator -- text.

With just the rendering time enhancement of html/rtf formatted emails to text I have a 25% better visualization time of email. With the use of powerful text editors (in my case vim) my reply time is also quicker. I have yet to see an email interface that is as speedy. I have to say that the web interface on gmail is pretty snappy and offers threaded views inline thus speeding up the reading of conversations. I still find it falls short of the raw speed offered by mutt.

With this in mind, I even apply this to my personal email. One of the challenges that my counterparts complain to me about is that since their work day is consumed with email that they neither have time during working hours to look after their personal email accounts nor do they have the enthusiasm to check their personal during their private time. I find that with my ease of use, that I can apply all the attention needed to both either in the office or out.

First, I made a folder that will hold all of my mutt configuration files. Everything from my alias file (address book) to my mutt color file. All of the "dot" files and the individual muttrc files will go into one folder. This is not so terribly important for the function, but is important later as I integrate a backup/restore plan.

Second, multiple muttrc files should be prepared, one for each account. I will confess that in an effort to make my email OS ambiguous and accessible I am using IMAP with accounts that also offer a web interface. This is key to my explanation since it doesn't require the work of setting up fetchmail, or hassle with odd protocols (i.e. Exchange). I won't be going into the details of the options of the muttrc, if you have looked at them, there are a great many. But for sure a single file for a single account is important. In this manner, we can avoid mis-configuration of the profiles options and we don't end up with a config file that is 1 mb in size.

Lastly the commands. The command, being launched from the same folder as the config file should read "mutt -F muttrc-file-for-this-email". My little hack that makes this quite manageable is that I have set multiple alias's in my .bashrc file that make simple ways to remember the accounts. Let me give you examples. I have set in my .bashrc the following:
alias email-cafeninja="cd ~/mutt-conf && mutt -F muttrc-gmail-cafeninja"
This single line changes directory to the folder where all of my muttrc files are, and then executes mutt using the correctly named file. While the alias is auto completed using tab from the command line.

The last hack I did for this is a simple backup and restore script that makes a tarball of the entire folder and places that into my dropbox folder. The restore script copies the tarball to the home directory and extracts it overwriting the previous files. These two shell scripts I have placed in my ~/bin folder which is also in my path so that these scripts are also auto completed from the command line. With absolute path referenced, it does not matter where in the filesystem I am when I execute the email alias or the backup/restore process. Just to be sure it would be available, I placed a copy of the backup and restore script into the mutt-conf folder to be included in the mutt tarball that would sync on a new system. Of course, it would then need to be placed in the ~/bin folder on those systems as well for future use.

Here is my backup script:
#!/bin/bash

## Go home
cd ~

## make tar of ~/mutt-conf
tar pzcf ~/Dropbox/mutt-conf.tar.gz mutt-conf

Here is my restore script:
#!/bin/bash

## Go home
cd ~

## get tar and move to home dir
cp ~/Dropbox/mutt-conf.tar.gz .

## unzip tar
tar zxf mutt-conf.tar.gz

## remove copied tar once done
rm mutt-conf.tar.gz


I hope this might help anyone who is working with multiple email accounts on multiple systems who thought it might be difficult to get it all working. I'm sure there are more complex solutions available, I built mine with the idea that each email account was siloed and would not corrupt other email account setting should anything happen to a single file.

--
CafeNinja

Thursday, July 23, 2009

Oops, windows again

Another reason, why I don't prefer windows. I had the simple task of adding a mouse to the laptop I was using. This particular laptop did not come with a function key that would disable the on-board mouse. after adding the external mouse, it was impossible in the operating system to disable the mouse easily from the mouse control panel.

This action, to disable the on-board mouse is a simple click on the mouse control panel in Ubuntu and one that I have used for years. My newest laptop offered the chance to dual boot with a legit copy of windows and enjoy both worlds on this newest device. As the activity of dual booting was proving to be it's own troublesome activity (Asus EEE PC 901 with two SSD's 1x4gb and 1x8gb) I have renewed frustration with windows again. I'm thinking I just might migrate this new netbook completely to Linux and just not give a care about windows...again!

Can it be that after all of this time even XP stinks this much. This netbook cannot support (nor would I want) vista. I could probably hold out for windows 7, however, my disdain for windows has yet again put the insistent idea of "why not just use Linux and be happy in my mind again.

It is such a simple thing, the mouse issue, you know on any laptop it makes sense to be able to disable the touchpad, but when the manufacturer of the laptop does not have the foresight to include a function button for this, I feel it is the operating system who should naturally pick up the gap.

--
CafeNinja