Increasing security of openldap password hashing

I’ve been trying to figure out how to change the hashing method of openldap from SHA to something more secure (specifically SHA2). After spending hours trying to custom compile it with a special overlay I found out how to use the unix crypt command. Of course, the instructions were for slapd.conf, not for olc. It’s […]

Resizing root partions in VMWare

Just a quick script to resize a root partition in linux live so I can remember. I’ll be writing up a explanation of all the steps later this week. echo “1” > /sys/class/scsi_device/0\:0\:0\:0/device/rescan echo “1” > /sys/class/scsi_device/2\:0\:0\:0/device/rescan fdisk /dev/sda partx -l /dev/sda partx -v -a /dev/sda vgextend /dev/vg_00 /dev/sda3 lvextend -l +100%FREE -r /dev/vg_00/lv_root

Data Science Tools/Tips

I was recently talking data science with a friend who wanted some good links and ideas on how to train non programmers on how to do data analysis. First thing is to determine what type of analysis is needed, visualization, correlation, causation, classification. Then you just start exploring. A few links came to mind, […]

Piwik and Load Balancers

Ran into an issue with Piwik not seeming to deal with load balancers and the X-Forwarded-For header. The documentation for setting up this relativly common thing is a little lacking in the official documentation, and I found it’s a bit prickly. I finally found the instructions here but it neglects to mention that it needs […]

Graphite Tips

Recent came up with a few things that make using graphite even easier. Namely the Graphlot view. It’s a much nicer view for single graphs then the composer as it lets you zoom in easily, and unlike rrd, you can zoom in both horizontally and vertically. Problem is it sucks for building graphs in it, […]