IT

Setting up Sublime Text with LESS compile on save in Windows

Setting up Sublime Text and less autocompile in Windows with the less2css plugin can be tricky because most solutions are geared to *nix. Most solutions I found for this include using a random git repo and executing code from them which I don’t trust. Here are the steps I used: Install node using the Windows installer: https://nodejs.org/en/ Open a command prompt and navigate to the folder that contains node.exe, you chose this when...

Read More

Arduino WiFi Shield and Web Server Tutorial

Introduction I’ve always wanted to extend my web development skills in to the real world. It’s nice to be able to make a useful site, but it doesn’t really change your life for the better when you’re not on a computer. Enter embedded systems, and specifically the Arduino. I’ve been fascinated by embedded systems ever since I was a teenager, but the barriers to entry are high and I focused on other things instead....

Read More

Amazon Autoscaling Tutorial

Amazon’s EC2 with autoscaling is a great way to maximize performance and minimize costs. Unfortunately the amazon autoscaling setup is only configurable via commandline which can make it seem a little daunting at first. Basic autoscaling is very simple, you only need a few items: Launch Config – controls the ami, security group, and instance size Autoscaling Group – controls the region, load balancer to attach to, minimum...

Read More

Throttling bandwidth with OSX

If you’ve ever needed to limit bandwidth on a certain port in OSX you’ll be happy to know that OSX comes with the ipfw firewall of FreeBSD fame. Here’s how to use it to limit bandwidth on a port: Create a pipe: sudo ipfw pipe 1 config bw 50Kbit Attach the pipe to port 80: sudo ipfw add 1 pipe 1 src-port 80 To delete it: sudo ipfw delete 1...

Read More

jQuery Validate – Override default messages

If you need to override the default error messages in the jQuery Validate plugin it’s hard to find the information in the documentation. Depending on which message you want to override the statement will be a variation of jQuery.validator.messages.TypeToChange = ‘whatever’; For example, to change the invalid email message use: jQuery.validator.messages.email = “Invalid Email.”;

Read More
BradDonnelly.com is a participant in the Amazon Services LLC Associates Program, an affiliate advertising program designed to provide a means for sites to earn advertising fees by advertising and linking to amazon.com