For Developers

Total 213 Posts

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 was recently asked to make 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 dynamically store

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

Easiest way to install Chrome on Windows

I generally dread any time I have to create a new instance of Windows and Internet Explorer. Why? Because it's just not easy. For example, here is what you see the first time you start IE. Problem Screen 1 IE asks you to configure your security settings. Screen 2 IE

Using Dotenv with Angular

While developing an Angular app with Angular CLI, it's not very easy to integrate the dotenv package. After a few hours of research, I found a process that works well enough.

Managing an attack on your Bitnami server

If at any point your AWS LightSail website starts crashing, you might want to consider attackers. Aside from the typical things you can manage through CloudFlare, you can also run a few commands to help you narrow down the problem. Check your work Change directory to the Apache 2 logs.
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.