Migrating from Mandrill to SparkPost

By Josh Sherman
3 min read
development
email

If you’re reading this then you where probably slapped by MailChimp’s latest announcement to merge Mandrill into MailChimp. You may be outraged because you were on their free tier which is going away. Personally I don’t agree with your rage. In fact, I think you’re a freeloader. That being said, […]

Multiple buttons with Hubspot's Vex

By Josh Sherman
1 min read
development
javascript

I’ve been implementing HubSpot’s Vex library as a replacement for stock alert(), confirm() and prompt() dialogs on SceneKids recently. In one use case, I wanted to be able to have 3 buttons on the dialog with each button returning a value, instead of just boolean true for the OK buttons. […]

How to Capitalize the First Letter in a String in JavaScript

By Josh Sherman
1 min read
development
javascript

I’m still kind of spoiled by the built in functions in PHP (as well as Ruby and Python for this particular task). Something like capitalizing the first letter of a string is trivial thanks to ucfirst. But in JavaScript, assuming you’re not using php.js, the process is a bit more […]