• vim modelines

    So that Robin and I never again forget what the little bastards are called.. The syntactic sugar in source files requried for vim to be ‘just the way you like it’ isn’t called “magic comments" or “vim source configure" or any other search combination that leads to repeated head-meeting-brick incidents when trying to remember what they are. They’re called modelines (:help modeline)

    An example modeline that works for Python would be:

    #!/usr/bin/python<br />
    # vim: ai sm tw=0 sw=4 ts=4<br />
    


  • Golden Hill fort landscape

    Found this lovely scene while walking around the Golden Hill Fort just outside freshwater.


  • Boat

    Colourful boat found in the boat yard in Yarmouth.


  • The Solent

    After Lunch I took a stoll along the pier and sea front at Yarmouth was a dramatic looking sky but the rain held off!


  • Lovely fire at The George

    We had lunch on New Years eve at the lovely George Hotel in Yarmouth. I’ve never stayed there but it looked fantastic, more details on their web site


  • Teasels at Thorness Bay

    I seem to be photography dried grasses a lot recently, well here are some more…


  • Bridge at Thorness Bay

    New years eve started with a chilly walk on the beach at Thorness Bay. Nice scenery, but very chilly!


  • Robin

    Found sitting on a bench in Regents Park, Happy Christmas to anybody reading this!


  • Linux module information

    If you need to find out more information about a linux kernel module you can use modinfo:

    [root@localhost scsi]# modinfo aic7xxx/aic7xxx.ko
    filename:       aic7xxx/aic7xxx.ko
    description:    Adaptec Aic77XX/78XX SCSI Host Bus Adapter driver
    license:        Dual BSD/GPL
    version:        6.2.36 96FAE27D3385BBB774E4EDE
    parm:           aic7xxx:period delimited, options string.
            verbose                 Enable verbose/diagnostic logging
            allow_memio             Allow device registers to be memory mapped
            debug                   Bitmask of debug values to enable
            no_probe                Toggle EISA/VLB controller probing
            probe_eisa_vl           Toggle EISA/VLB controller probing
            no_reset                Supress initial bus resets
            extended                Enable extended geometry on all controllers
            periodic_otag           Send an ordered tagged transaction
                                    periodically to prevent tag starvation.
                                    This may be required by some older disk
                                    drives or RAID arrays.
            reverse_scan            Sort PCI devices highest Bus/Slot to lowest
            tag_info:<tag_str>      Set per-target tag depth
            global_tag_depth:<int>  Global tag depth for every target
                                    on every bus
            dv:<dv_settings>        Set per-controller Domain Validation Setting.
            seltime:<int>           Selection Timeout
                                    (0/256ms,1/128ms,2/64ms,3/32ms)
    
            Sample /etc/modprobe.conf line:
                    Toggle EISA/VLB probing
                    Set tag depth on Controller 1/Target 1 to 10 tags
                    Shorten the selection timeout to 128ms
    
            options aic7xxx 'aic7xxx=probe_eisa_vl.tag_info:{ { }.{.10} }.seltime:1'
    
    vermagic:       2.6.9-22.ELsmp SMP 686 REGPARM 4KSTACKS gcc-3.4
    depends:        scsi_mod
    alias:          pci:v00009004d*sv*sd*bc01sc00i*
    alias:          pci:v00009005d*sv*sd*bc01sc00i*
    [root@localhost scsi]#
    


  • OSX news tips and hacks

    Andrew knows… http://www.andrewescobar.com/