Tag Archives: Linux

Building cpython/Doc on Linux

For all the gory details, check out the Python Developers Guide. Installing and Building the Doc Here’s the process I followed to be able to work on the CPython documentation on Linux debian/mint: See if mercurial is installed by running: … Continue reading

Posted in programming | Tagged , , , , | Leave a comment

libtap Version 2 on github.com

Unit test frameworks are dime-a-dozen. For C programmers, there are libraries like cmocha and cunit. When we first  developed the sxe project at Sophos, about 5 years ago, the choices were much more limited. Most of the alternatives, like cppunit, … Continue reading

Posted in programming | Tagged , , , , , , | Leave a comment

Installing and Running Ansible on Linux

Ansible is a tool for managing remote computers via secure shell (ssh). This quick how-to is based on the Ansible Installation page. Installation To install Ansible on Debian Mint: If you don’t have pip installed, run: sudo easy_install pip Run: … Continue reading

Posted in programming | Tagged , , , , , , | Leave a comment

Creating an AWS Linux Web Service

This how-to is loosely based on this Amazon Getting Started page. To create an AWS Linux web service: Create an AWS account. You need a credit card. Browse to http://aws.amazon.com/ Click Create an AWS Account Follow the bouncing ball… Create … Continue reading

Posted in programming | Tagged , , | Leave a comment

Creating a Shared Private Repo on GitLab

GitLab (gitlab.com) is a company that hosts git repositories in the cloud, like GitHub. Unlike GitHub, GitLab offers free repositories that can have multiple contributors. Creating a Private Respository To create your own private git repository on Gitlab: Create an … Continue reading

Posted in programming | Tagged , , , | Leave a comment

How To Format a Corrupted USB Thumb Drive on Linux

There are plenty of how-to pages on formatting a thumb drive on Linux, but most don’t show the fool proof way of doing it. After using a thumb drive in the Nintendo Wii, my son was convinced that it could … Continue reading

Posted in linux | Tagged , , , , , , , , | Leave a comment

Hash Table Shootout on GitHub

NOTE: Since I wrote this article, I fixed some bugs in the benchmarks and regenerated the graphs. The updated article is here: Hash Table Shootout Updated I forked Nick Welch’s hash table shootout benchmark, got it all working, and updated … Continue reading

Posted in programming | Tagged , , , , | Leave a comment

Decoding Linux File Names in Python

One of the many problems I ran into while hacking muse, the music library management program I’ve been writing, is that some bands include non ASCII characters in their names, and these are used inconsistently. For example, Blue Öyster Cult is … Continue reading

Posted in programming | Tagged , , , , , | Leave a comment

Linux Mint on the HP G62

While I’m waiting for the Goop to dry on my Gateway laptop, I decided to rescue an old HP G62 laptop that had a virus ridden copy of Windows on it. Mint installed without problems. When I repartitioned the hard … Continue reading

Posted in computing | Tagged , , | Leave a comment

Mounting the WDTV Live Hub from Linux

To mount the drive on my WDTV Live Hub on my Linux box: Ran: sudo apt-get install cifs-utils Ran: sudo mkdir /mnt/wdtvlivehub Looked up the IP address on the hub’s network configuration screen Ran: sudo mount -t cifs //192.168.0.113/wdtvlivehub /mnt/wdtvlivehub -o … Continue reading

Posted in computing | Tagged , , , | Leave a comment