Author Archives: Yamil Asusta

About Yamil Asusta

Puerto Rican and hackNY '13 fellow. Always looking to hack/experiment something new. You can follow me @elbuo8

Yamil Asusta on Twitter

Articles Posted by Yamil


JSON Web Tokens (Again!) and Koa.js

Posted on (0 Comments)

A few weeks ago, I wrote about using JSON Web Tokens (JWT) as an alternative method of authentication using Go. The post itself contains a basic explanation about JWT and some links for content. In this post, I want to cover pretty much the same things using Koa, a new framework for Node.js. Koa is mostly a middleware framework which uses generators (only available under the Harmony flag) to control the flow of requests. The reason I mention that it’s a middleware framework is because it doesn’t come with most of the things you would expect a framework to provide, such

READ MORE »

Gophers can haz A/B Testing in Transactional Email

Posted on (0 Comments)

How much do you know about the awesome folks @SendWithUs? Here @SendGrid, we’re huge fans, and quite frankly friends, of theirs. They provide an amazing service: A/B testing for transactional email templates! If you haven’t heard from them and you are a SendGrid customer, today is your lucky day since we have a partnership that might interest you! But enough about that, lets get a bit technical! I noticed that SendWithUs didn’t have a Golang library. So I figured I could build them one and allow every Go developer out there to interact with their service without having to implement

READ MORE »

Gist Me Please?

Posted on (0 Comments)

Do you find yourself writing technical blog posts in Markdown and exporting them to HTML? Do you end up writing GitHub Flavored Markdown and then exporting to blocks or something similar? I know I used to do that quite often. Thats the reason I created Propagandist. Propagandist is a simple tool which will parse out your Markdown and convert it into HTML. The cool part is that every Code Snippet that it finds gets replaced with a Gist for it. This produces a central Gist with all the snippets that users can jump into. Propagandist is built on top Gost

READ MORE »

Hackathons, Template Engine, and I

Posted on (0 Comments)

If you haven’t been living under a rock, you probably know that SendGrid released Transactional Templates recently. I’ve been using them for a while, specifically for my API demos. It makes it super simple for me to customize emails for a specific school or crowd on the fly without touching any code. With Transactional Templates I don’t ever touch my code. Here is how my code looks like: Now if I want to go to HackRU and give a demo, I don’t have to change anything in my code. I can go to the Templates interface and activate the template

READ MORE »

Tokens & More Tokens! An Intro to JSON Web Tokens (JWT) in Go

Posted on (0 Comments)

Recently, my buddies from Blimp piqued my interest about JSON Web Tokens (JWT). You can find very detailed specs about it here and here. In this post, I want to guide you through implementing the equivalent of sessions, but with JWT. The traditional session approach usually requires the client to store some sort of value in its cookies, while the server must have some sort of session storage where it stores that same value. For each request the client makes, the server has to make a network trip to check that the cookie’s value is in the session storage. What if there

READ MORE »

An Intro to Scala and Sending Email in the JVM via SendGrid

Posted on (0 Comments)

SendGrid and the Java Virtual Marketplace Are you a Java developer looking to use the Java Virtual Machine (JVM) in different ways like Clojure? If you’re looking into Scala, then this post might be able to help you out. Scala runs in the JVM. If you weren’t aware, all of your Java code can run in Scala. Pretty awesome, right? For example, the SendGrid JAR recently went through some major changes in order to make it more robust. You can use the old JAR as well as the new one because in the end, it all becomes bytecode for the JVM. Differences Between Java

READ MORE »

Love Your Open Source Contributors

Posted on (0 Comments)

Do you find yourself maintaining open source projects? Do you by any chance get amazing contributions? I do. All the time. My job is to make developers’ lives easier and one of the ways I do so is developing and maintaining some of the libraries we provide our developers. One day, the awesome Nick Quinloon sent an email containing this: And thats how ContriBot was born! ContriBot makes it super easy to do my job. At SendGrid we receive pull requests frequently, and ContriBot is always there to help us reward those amazing contributors. Developers highly appreciate it when you

READ MORE »