About Andrew

Andrew Golightly is the lead web developer here at Golightly+. He is a passionate fullstack JavaScript developer. He also runs an Empath Community.

How To Extract The Audio From A YouTube Video In MP3 Format

There are a lot of songs on YouTube. To make a copy of just the audio of a video on your computer, follow these steps: Install youtube-dl. If you're using a mac and use Homebrew, you can simply type brew install youtube-dl Then from the command line, type youtube-dl --extract-audio --audio-format mp3 <video URL>

By |2019-10-13T20:19:29+00:00October 13th, 2019|gist|0 Comments

Privacy Tools

For almost everyone For private web browsing, use the Tor Browser. For a detailed discussion of what browser to choose, read this. For secure group chats, and to share files, try Keybase. This is like a more secure form of Slack. You could totally use it for social type networks. For secure messaging and calls [...]

By |2019-10-07T23:35:35+00:00October 6th, 2019|blog|0 Comments

Speech Recognition For Speech to Text Using JavaScript

I've been playing with Speech Recognition technologies for a long time now. But I never really liked it that people had to download and install an application on their computer to use my application. And then Google Chrome created an implementation for the Web Speech API. And it works great. To see a working demo [...]

By |2018-12-27T10:04:33+00:00December 26th, 2018|blog|0 Comments

How To Convert a JavaScript Object To A Query String

Let's say you have a lot of query parameters you need to add to an Ajax request. For code maintainability, it's much cleaner to create a large JavaScript object, use string interpolation for the URL, and then adding a function that converts the JavaScript object to a query string. This is what it might look [...]

By |2018-12-17T22:25:03+00:00December 17th, 2018|gist|0 Comments

How to programatically extract YouTube captions as plain text

YouTube automatically creates subtitles for a lot of videos that are uploaded to YouTube. So instead of paying to have your videos transcribed, you can upload your video to YouTube, and programatically download the subtitles. But it took me a while to figure out how to get those subtitles programatically. I started with youtube-dl, but [...]

By |2018-08-14T17:30:17+00:00August 14th, 2018|gist|2 Comments

How to safely store credentials in GitHub

It is actually pretty convenient to have credentials and keys stored in the same repository as your codebase. Of course this is unsafe, as anyone (if you're using public repos) can use those credentials to access your infrastructure (databases, servers, 3rd party APIs). So firstly if your code is not for public use, a private [...]

By |2018-04-03T18:58:39+00:00April 3rd, 2018|blog|0 Comments

How to add a subdomain to an existing certificate using certbot

You're probably reading this because you already have a Let's Encrypt certificate issued using certbot for a domain, and now want to add-on subdomains. If you want to create a new certificate, have a look at the end of this article. In my case I already had a certificate which covered golightlyplus.com www.golightlyplus.com I have [...]

By |2018-02-28T06:07:20+00:00February 28th, 2018|blog|5 Comments

How to automatically and permanently delete unwanted emails

Gmail provides the option to filter unwanted emails to your Bin. Click here for the instructions on how to do that. The emails though only get automatically permanently deleted after 30 days. So if you are trying to block someone from emailing you, and you have weak moments and end up checking the trash, you [...]

By |2018-01-23T10:31:04+00:00January 23rd, 2018|blog|0 Comments