Category Archives: General

How to configure rolling logs with Spring Boot in application.yml

I’m relatively new to Spring Boot, but I find the application.yml configuration pretty nice. But if you want to get fancy with spring boot logging, you have to resort to creating a logback file! Well I came up with this … Continue reading

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

Update /etc/hosts with DHCP reservations from dnsmasq on pi-hole

I recently decided to dust off one of my Raspberry Pi’s and put it into service as a DNS and DHCP server. Initially I was just going to setup dnsmasq myself, but I came across a cool project called pi-hole. Pi-hole … Continue reading

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

Apply Gmail label to message that contains string in body

Unfortunately gmail filters do not allow you to search just the body in a filter. IE body:myname is not valid. If your email address is first.last@some.com and you want to label all mail that contains First in the body, you … Continue reading

Posted in General | Tagged , , | Leave a comment

Velocity 2013 Standout Presentations

Here are the presentations and people that stood out to me from Velocity 2013 conference. Definitely worth stalking all these folks. Great talks and ideas! Facebook: Building A Billion User Load Balancer Info: http://velocityconf.com/velocity2013/public/schedule/detail/28410 How To Run a Post-Mortem With … Continue reading

Posted in General | Tagged , | Leave a comment

Deploy Status Box using Raspberry Pi, LEDs, and Erlang

Over the weekend I decided to put together a small project using a Rasbperry Pi. One way of monitoring deployments at my company is IRC. I thought it would be neat to put together a Raspberry Pi to run erlbot … Continue reading

Posted in General | Tagged , , | Leave a comment

erlbot: The Erlang IRC Bot

I recently took a month long introductory course on Erlang. Erlang is a functional language. The closest I’ve come to functional programming is XSLT, so this was quite different for me. Erlang excels at concurrency and fault tolerance. It has … Continue reading

Posted in General | Tagged , | Leave a comment

Running Django on Windows: Python 2.7.2 x64, PyISAPIe and IIS 7.5

Overview Ok so I wanted to try serving Django from IIS 7.5 using Python 2.7.  The advice available says to install PyISAPIe.  Unfortunately there is not a compiled version of this available for Python 2.7 (x64 in my case).  geographika … Continue reading

Posted in General | Tagged , , | 4 Comments

The specified baseline is not the latest baseline, so it may not be checked out. Checkout of ‘/svn/yourrepo/!svn/bln/123456’: 409 Conflict (https://svnserver.com)

Are you getting “The specified baseline is not the latest baseline, so it may not be checked out.  Checkout of ‘/svn/yourrepo/!svn/bln/123456’: 409 Conflict (https://svnserver.com)” when trying to commit to Subversion?  I’ve setup a Subversion write-through proxy to improve multi-site performance.  … Continue reading

Posted in General | Tagged | Leave a comment

PowerShell Log function with word wrapped output to the screen

I like to have logging in most scripts I write, and this is the current incarnation of my logging function. It logs to c:\location\of\script.ps1.log (or wherever/whatever your script is named). It uses write-host to output a word wrapped version of … Continue reading

Posted in General | Tagged | Leave a comment

Batch file bootstrap PowerShell script for easy double click running

The scenario is you have a PowerShell script that takes no paramaters and prompts the user for all the information it needs. How do you make it extra simple for people to check it out of source control and run … Continue reading

Posted in General | Tagged , | Leave a comment