Total 57 Posts

Typescript Bundle for Textmate

Here's my attempt to offer code highlighting to Textmate users working with Typescript. I'm positive there is a better way to do this so please consider this blog entry my offer to the universe with a hope that someone will provide an better Typescript bundle. In my specific sitation, I

Radio: Prepare your podcast for iTunes distribution using AWS Elastic Transcoder

Amazon Web Services offers a suite of tools for podcast producers to distribute their audio online. There's CloudFront for caching, S3 for storage, Glacier for long-term storage, Elemental for real-time distributing, Tailor for server-side ad insertion. I thought it would be to fun to show how to use Elastic Transcoder

How to install Node on Mac using NVM and Homebrew

Node Version Manager makes it easy to install multiple versions of Node on a Mac. You install NVM using Homebrew, and if you don't have Homebrew installed yet, read this article. Step 1: Install NVM Install node version manager. brew install nvm Step 2: Create a directory for NVM mkdir

ES6 Checking for Empty or Undefined

When it comes to comparisons, Javascript has a few quirks that are often difficult to remember. Instead of trying to keep it in my head, here's a little cheatsheet I use to keep things in check. Quirks So there's one quirk that you must know about in Javascript. undefined is

Create fake test data using Node

I'm working on a tool that enables marketers to upload a CSV file full of mobile numbers and send auto generated survey's through Twilio. Before I begun working on an CSV file uploader, here is a small script that auto generates test data. I'm using Jake to run NodeJS scripts,

NodeJS: Create a Base64 image from a PNG or JPG

There are many good reasons for converting images into Base64 including: Storing an image into a NoSQL database directly. Serving an image to a client browser through an API. Sending an image to AWS Rekognition through a POST request. Simple Example var fs = require('fs') function base64_encode(file) { // read

AWS: Managing AWS Command Line with Jake Tasks

The AWS Command Line is awesome. The commands are descriptive, well organized and oftentimes easier to use than any of the dashboard consoles. If you're looking or a simple NodeJS tool to help you to script and automate commands, try JakeJS. JakeJS is a task management tool similar to Grunt

AWS: Lambda development on OS X

Through AWS Lambda, AWS is completely changing the entire web industry, again. If you're not familiar with Lambda, it's a new AWS compute service that manages the AWS resources for us. Said differently, it allows developers to write their applications without having to manage servers. It promises scalable, serverless, event-based

Simple Sendgrid Example using Node

Here is a very simple example of how to create a simple Sendgrid app using NodeJS. Change directory into your node app. cd /name/of/node/app Install Sendgrid using Node Package Manager. npm i sendgrid Use your Sendgrid username and password to send an email. var sendgrid = require('sendgrid')
You've successfully subscribed to Chris Mendez
Great! Next, complete checkout for full access to Chris Mendez
Welcome back! You've successfully signed in.
Success! Your account is fully activated, you now have access to all content.