POST a JSON Object Using cURL

curl -H "Content-Type: application/json" -X POST -d '{"message":"xyz"}' http://localhost:3000/some/endpoint That JSON object will get really annoying for longer data. »

Unique Constraints the Hard Way

##Background We have plugs with electricity meters attached. We know which meter it is by the unique serial number. We’ve had issues where field techs accidentally... »

Rounding Decimal Numbers in JavaScript

http://www.javascripter.net/faq/rounding.htm I wish this were easier. Round to the nearest 10ths: Math.round( 10 * ( 2.412321 - 1.12321312 ) ) / 10 »

Deploy Yeoman-Generated Angular Apps to AWS

##The Generator I’m creating an app based off of the Yeoman Angular fullstack generator. It does a lot of cool things, like generating boilerplate, simplifying workflow... »