For Developers

Total 226 Posts

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,

Troubleshooting Angular

Angular development moves so quickly that there's a really good chance you'll have to troubleshoot your installation. Below are a few common problems I run into all the time. ng build errors I received this somewhat cryptic message while trying to run ng build. You have to be inside an

Sources of inspiration for developers

If you area a software developer looking for your next gig, here area few sources for inspiration. I've organized this list into two main categories: paid and unpaid. The thinking behind this is that some developers would prefer to get paid while they learn about a particular technology or industry,

Radio: Fetching album artwork using beets

You will need the requests library to capture album artwork from Fetch Art. pip install requests Install requests library for Python.We need imagemagick to do some image processing. I use Homebrew package manager to install imagemagick.  Here's how to install Homebrew on OSX brew install imagemagickInstall imagemagick do conduct

AWS: Using the command line to get an EC2 instance ID

Here are three ways to get the instance ID of an EC2 server using the command line. Built-in If you are logged into an Ubuntu machine. ec2metadata --instance-id Curl curl command using an IP address. curl curl command simplified. curl http://instance-data/

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

Angular: Dynamically inserting SVG into an element

I recently launched a single-page web app for a digital illustrator. The app was pretty standard, but they asked a unique request. The author did not want me to create renditions of their work in BPM, PNG, or JPEG formats. Instead, they wanted me to store and deliver SVG data

How to publish an Mp3 to Icecast using NodeJS (Part 2 of 2)

In my previous article I share how to install Icecast on an Ubuntu instance on AWS EC2. This next article will now focus on publishing MP3 to Icecast (for web distribution) using NodeJS. Why Node? Although there are many excellent tools, like Nicecast, that can help you publish an Mp3

AWS: How to install Icecast on AWS EC2 (Part 1 of 2)

Icecast is an open source server designed to help you stream music over the web. The server is designed for DevOps administrators who prefer managing through configuration files. Today we will recreate a cloud-based radio station using AWS EC2, Icecast and Mac OS X. Step 0 - Setting up AWS
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.