1. IPv6

    I've finally managed to find the time to look into IPv6. The ISP for siology.net and my home ISP both don't provide native IPv6 to their customers, so I had to make use of hurricane electric's IPv6 tunnels.

    It took a little while to get my head around the …

    read more
  2. Zenoss credentials creep

    I've just been recently looking at a few different monitoring solutions, and i've pretty much decided that the best candidate for our usage is Zenoss. Perhaps I'm missing something, but it's a little alarming to me the typical methods many Zenoss addons use to obtain their data to monitor. Most …

    read more
  3. Seeding Devops

    Discussed below are some of my musings and waffling on moving from a larger company to a smaller one, and how this affects best practice operations.

    I joined a company six or so months ago working in team which have a tightly knit group of developers but had shed their …

    read more
  4. Zenoss swap usage threshold as percentage

    Published: Mon 05 November 2012
    By Sirex

    In Linux.

    For some reason, setting a threshold in zenoss for percentage amount of swap usage is not as easy as you may hope. You can set a threshold as a fixed value easily enough, but doing it as a percentage (such that it will work on machines with differing amounts of …

    read more
  5. Personal flaws

    Published: Fri 02 November 2012
    By Sirex

    In Rants.

    It's about time I fessed up to some things, and as this is a blog, and the only thing I know much about is me, I'll just launch right into it...

    I work as a computer system administrator. This means I frequently deal with technologies that are fast moving and …

    read more
  6. Site has now gone static

    Published: Wed 10 October 2012
    By Sirex

    In Misc.

    Like most people, I can't be bothered to keep track of wordpress updates, so i've moved the site to use a static site generator (pelican). It's really quite good, and removes alot of the extra crap wordpress adds and needs like a database server. Over the next few days i'll …

    read more
  7. convert kiwibank xml into csv for spreadsheet

    If xml xslt isn't possible, here's a little snippet of code that takes one argument, an xml file as provided by New Zealand's Kiwibank, and converts it into a semi-colon delimited output. Useful for spreadsheets such as libreoffice calc

    Usage: kiwibank-parser.py [xml file path] > output-file.csv

    #!/usr/bin/env …

    read more
  8. bash progress bar snippet

    little snippet of bash that produces a progress bar

        # A simple progress bar that overwrites itsself in place

    function print_progress_bar {
        cols=`tput cols`
        barLength=$(($cols - ($jobLen+$doneLen+totalLen+14)))
        percentDone=`echo "scale=1; ($doneNum …
    read more
  9. Move pointer to middle of screen, multi-head.

    Short script (in python) to shift mouse pointer to middle of screen, useful to save time on low acceleration pointing devices. Works for multi-head setups.

    #!/usr/bin/env python
    # Small script to jump pointer to middle of given screen number
    # Run with [scriptname] [screen number]
    import os, sys
    modelines = os …
    read more
  10. Projecting co-ordinates onto a round surface.

    Little snippet of handy code (in perl), how to adjust 2 dimentional latitude / longitude co-ordinates for plotting on a sphere.

        rotAngle = 0;       # Rotational offset
        padX     = 0;       # Initial padding on Y axis
        padY     = 0;       # Initial padding on X axis
        posX = 0;
        posY = 0;
        posY = 0.5 * log( (1 + sin(lat)) / (1 …
    read more

« Page 2 / 3 »