Golightly+

Golightly+

  • Testimonials
  • Blog
  • About
  • Contact
  • How to call Freshbooks Classic directly in Node.js using axios

    I was using the freshbooks npm module, but started having issues with its dependencies as it was last updated 3 years ago. It turns out even though the payloads are in XML, it’s not too bad calling their classic API directly once you know how. Of course, then you need to process an XML response. […]

    July 12, 2019
  • 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 […]

    December 26, 2018
  • 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 […]

    December 17, 2018
  • 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 […]

    August 14, 2018
  • 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 […]

    April 3, 2018
  • How to automatically restart forever (for Node.js scripts and servers) on a system reboot

    I use forever to start my Node.js scripts, to ensure that if it crashed, it would just auto-restart. An issue arises though if the server itself reboots. Which for some reason happened on a DigitalOcean droplet I was using. So I needed to figure out a way to restart the forever process on system reboot. […]

    February 28, 2018
  • 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 […]

    February 28, 2018
  • 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 […]

    January 23, 2018
←Previous Page
1 2 3 4 5 … 7
Next Page→

Copyright © 2022 Golightly+

  • Privacy Policy
  • Terms and Conditions