Technical notes, my online memory

Monday, October 27, 2014

Authenticode signing windows executables on linux

›
We had a particularly painful build and sign workflow that required multiple trips between linux and windows.  I looked around and found the...
Monday, October 6, 2014

Python: add an element to an array only if a filter function returns True

›
This post was going to be about a fairly obscure feature of Python I found, but is now a minor cautionary tale about trying to be too clever...

Mocking out python OS specific imports

›
Testing python code that needs to run on a different OS is painful. A major part of the difficulty is that even though you can (somewhat) e...

HOWTO change the extension of lots of files while keeping the original filename

›
With rename you get all the power of perl regex substitution in a simple interface. e.g. to backup all the .yaml files in a directory you c...
1 comment:
Friday, August 22, 2014

Powershell and WMI cheatsheet

›
I finally bit the bullet and spent a bit of time learning some powershell and WMI querying basics. Unfortunately lots of the tutorials and ...
Friday, May 30, 2014

Cross platform python method for calculating disk free space

›
I wanted a cross platform (Mac/Win/Linux) method for calculating disk free space. For my application ideally I'd like to: read it out o...
Wednesday, May 28, 2014

Mach-O filetype identification

›
I wanted to write a quick and dirty file-type identifier for Mach-O, turns out this is more tricky than I expected. From /usr/share/file/ma...
‹
›
Home
View web version
Powered by Blogger.