James Bowes: The Python Holy Grail
This checkin to python brings a long-awaited (and sorely needed, IMO) enhancement to python: SSL certificate verification support. Once the API support percolates up from socket through the various...
View ArticleJames Bowes: Shell HIstory Meme
[jbowes@laptop ~]$ history | awk '{a[$2]++ } END{for(i in a){print a[i] " " i}}'|sort -rn|head211 git148 fg107 ls99 cd89 python43 make26 vim23 sudo20 nosetests19 player/swfplay[jbowes@workstation ~]$...
View ArticleJames Bowes: 2% Genius
Agile Tsar Dmitri Dolguikh pointed out Project Euler yesterday, which is a website containing a series of short programming problems. It reads a bit like bonus questions on a math exam, which is...
View ArticleJames Bowes: Installing ruby gems in your home directory
I found it hard to find good instructions for installing ruby gems as a non-root user without installing the gem package locally as well. Here's what I figured out; hopefully this will save someone...
View ArticleJames Bowes: Python Comment of the Week (Aug 12 2007)
# Assorted functions for various thingsThank you, developers of yore. You've made things oh so much clearer to this lowly maintenance programmer.
View ArticleJames Bowes: Cat News
Our boy cat Julius passed away a few weeks ago. It was pretty shocking, as he was quite young and his passing was sudden and unexpected. While we miss him terribly, Cherie and I didn't want Spook to...
View ArticleJames Bowes: DIY Velcro Cable Ties
Making your own velcro cable ties is a great idea. $2 in materials made as many cable ties as Wal-Mart was selling for $13. Thrifty!I'd suggest sewing the velcro together vs stapling, especially if...
View ArticleJames Bowes: Measuring Network Speeds with Netcat and Dd
I've seen a few posts on the web about testing your network speeds with netcat, but they all seem to not work with recent versions of netcat.On one machine, run:nc -v -l 2222 > /dev/null(Make sure...
View ArticleJames Bowes: Converting SVN Commits to Git Patches
In case you find yourself in need of a way to turn an svn revision into a git patch that can be applied with 'git am', keeping the commit message and authorship information, here's a script I used...
View ArticleJames Bowes: Graphing Git Repository Activity In ASCII
Here's a quick little script I wrote up (adapted from this perlmonks post) to show git repository activity as an ascii graph, like so:The X axis represents a day, with the current day being on the far...
View ArticleJames Bowes: Thin Crust Pizza
We made a delicious pizza on the weekend with a great thin crust pizza dough recipe found on the tubes. It went well with Old Credit Brewing Co. Ltd.'s Pale Pilsner.
View ArticleJames Bowes: Dear Government of Canada
Please stop Bell from doing crazy stuff. Thanks!Love,James
View ArticleJames Bowes: Mission Accomplished!
A lot of people are linking to this article about the state of the practice in CS curriculum and its use of Java creating dull replaceable drones.mdehaan points out a wonderful section wherein the...
View ArticleVedran Miletić (vedranm): C++ STL radionica
U planu imamo organizirati radionicu na temu C++ STL-a. STL je C++ biblioteka koja nudi generičku implementaciju često korištenih struktura i algoritama. Vjerojatni termin je subota na RiTehu, u...
View ArticleIzhar Firdaus: [HOWTO] Using Diazo as a standalone server.
Just a little quick note.Diazo, the super cool theming system used by Plone, have 2 WSGI middlewares which will turn it into some sort of theming proxy for any existing sites. However, that feature...
View ArticleDaniel Berrange: Announce: Release of Entangle v0.3.0 – An app for tethered...
Over a year has gone by since I released Entangle 0.2.0, so I am very pleased to be able to announce that I have now just released Entangle 0.3.0, available from the usual download place which also...
View Articletuxdna: How to resize a VM and its partitions?
In this post I am going to list the steps to resize a Virtual Machine image created using virt-install There are three steps: Resize the VM image Resize the LVM volume inside the VM ( both physical...
View ArticleFabian Deutsch: Using lokkit to handle your firewall.
Some common thing is to turn of the firewall if a freshly installed machine isn't reachable from the outside, as fidling with iptables is not everyones passion.lokkit is another way to open some ports...
View ArticleChristopher Smart: FIX: Kororaa 16 GNOME Shell crash
This took me a while to find, but removing the nautilus-pastebin package will stop GNOME Shell from crashing when searching (as seen in Beta 16). No restart required. sudo yum erase nautilus-pastebin...
View ArticleMatt F: Custom resource attributes: Facter
Condor provides a large set of attributes, facts, about resources for scheduling and querying, but it does not provide everything possible. Instead, there is a mechanism to extend the set. Previously,...
View Article