Reading time: 1 – 2 minutes Photo by: lilit I’ve recently been “forced” to move my desktop from Windows to Linux again. Basically my current desktop “decided” it won’t support Windows anymore, and any attempt to start it ends up in a BSOD, and I just got fed-up of trying to get it to work. [...]
Continue reading about Getting serial ports to work on Linux
Reading time: 5 – 8 minutes Photo by: gagilas As previously promised, today I’ll be publishing my migration scrips from Mango Blog to WordPress. As mentioned previously, I wrote this script entirely for my own benefit, so please excuse me if it doesn’t meet your expectations. It has only been tested on mySQL, but should [...]
Reading time: < 1 minute Photo by: JonathanCohen …the eggshell and has now been released for trial downloads. So go get your’s while it’s hot.

At work we’ve been doing some deploy optimization, and the need of
automatically deleting (recursively) specific folders came up.
We use MXUnit to Unit Test
our applications, and store all of our tests based on what they’re
related (inside _test folders). So basically we end up having lots of
folders in our file structure that are not supposed to go into
production for security reasons.
We use SVN for development, but don’t use it on production for
security reasons as well, so we always end up with a deploy package
(SVN export) containing all of the files necessary for a specific
release.
At the moment this package is generated, we still have our test cases in it, and it would be really painful to delete all the “_test” folders
one by one if the release is too big.
We easily end up with something like:
Continue reading about Recursively delete folders with Python

Recent Comments