GitHub Deploying Hugo to GitHub Pages with GitHub Actions There are a lot of strategies to hosting in-repo docs on GitHub Pages (as opposed to a dedicated repo for docs). I'm going to cover how to publish docs that are stored on the master branch to the gh-pages branch. This approach has several
aws Configuring AWS PrivateLink in non-routable VPCs Consumers with Terraform AWS VPCs make it possible to establish private network connections across AWS accounts with VPC Peering, essentially merging the networks into one. However, there is another option for cross-account/cross-VPC network access, with a much smaller surface area. PrivateLink is a bundle of services
aws Getting AWS Availability Zone IDs with Terraform AWS Availability Zone names may look like unique identifiers, but they are mapped to physical availability zones essentially at random. This means that us-west-2b in one account may be the same physical availability zone as us-west-2a in another account. If you are doing certain
ghost Self-Hosting Commento alongside Ghost 2.x I recently upgraded this blog to Ghost 2.x and took the opportunity to abandon Disqus. It bloated the post page and came with something like 45 tracking scripts/cookies. To replace it I settled on Commento, a small and privacy-focused open source solution.
ghost Migrating Ghost 0.x to 2.x (and a new domain!) To accompany my recent handle change I took the time to upgrade this blog. Previously it had been running Ghost 0.4 on a Digital Ocean CentOS 7 machine. To
Kyeotic This last weekend I went through what I thought would be the laborious process of changing my handle from "Tyrisus" to "Kyeotic" on every site I use. This turned out to be breeze. With the exception of Reddit I was able to change the
jspm Hot Reloading redux in jspm 0.17 I struggled quite a bit with this one, because understanding the components of hot reloading was very difficult. There are a lot of explanations out there that are light on details, or just downright wrong. I read Dan Abramov's recent post on Hot Reloading.
Name Change I legally changed my name today from Timothy Samuel Joshua Nehemiah Moran to Timothy Joshua Kye I think it's a pretty solid improvement.
jspm JavaScript tests with Mocha and jspm It's no secret that I love jspm. I think it does everything right. I think Webpack requires far too much configuration. jspm is also much more standards-oriented, so I expect the patterns I learn and develop to last much longer, which is something I
css Center DIV Vertically and Horizontally with full width and height There are way too many solutions to this online that just don't work. I want a full-page absolutely centered DIV. It needs to center in the browser, which means forcing the correct height and width. This uses flexbox, so it doesn't work in Internet
email Using Mailgun to route email to Gmail This is part of my complete guide to Setting up a CentOS DigitalOcean droplet with Nginx for beginners. The Why If you have a custom domain but you want to use Gmail as your inbox/outbox, there are a couple solutions. Pay $5/month/
nodejs Application Management and Crontab This is part of my complete guide to Setting up a CentOS Digital Ocean droplet with Nginx for beginners. When working with Nodejs starting your applications and keeping them running is not always straightforward. There are tools to help you with this, like forever
git Deploying Applications with Git and SSH This is part of my complete guide to Setting up a CentOS Digital Ocean droplet with Nginx for beginners. I've written about this before, but my methods have changed somewhat since then. Digital Ocean also makes it quite a bit easier than webfaction. Hopefully
nodejs Installing Nodejs on CentOS This is part of my complete guide to Setting up a CentOS Digital Ocean droplet with Nginx for beginners. Where to get it from Yum has a Nodejs package. I don't recommend using it. It update slowly, and you are probably going to want
centOS Configuring Nginx as a Reverse Proxy (for NodeJS) This is part of my complete guide to Setting up a CentOS Digital Ocean droplet with Nginx for beginners. Nginx is a highly-capable server, suitable for many use cases. The purpose of this guide is to show nginx's use as a reverse proxy, not
centOS Installing developer dependencies on CentOS This is part of my complete guide to Setting up a CentOS Digital Ocean droplet with Nginx for beginners. If you are going to be installing NodeJS and working with git on CentOS, there are a lot of things you are going to need
digital-oean Setting up a CentOS Digital Ocean droplet with Nginx for beginners If you want to get to the meat of the post, jump down to the guide. Intro I recently made the move from WebFaction, which offers a shared/managed host with SSH access, to Digital Ocean, which offers virtual private servers with SSH access.
centOS Install Fail2Ban on CentOS This is part of my complete guide to Setting up a CentOS Digital Ocean droplet with Nginx for beginners. If you just need the commands, here they are. Read on for an explanation of what is happening. yum install epel-release #if you haven't already
centOS Setup swap file on CentOS This is part of my complete guide to Setting up a CentOS Digital Ocean droplet with Nginx for beginners. If you just need the commands, here they are. Read on for an explanation of what is happening. sudo fallocate -l 1G /swapfile sudo chmod
Configuring TimeZones and Network Time Protocol on CentOS This is part of my complete guide to Setting up a CentOS Digital Ocean droplet with Nginx for beginners. If you just need the commands, here they are. Read on for an explanation of what is happening. sudo timedatectl list-timezones #copy your zone sudo
Configuring the firewall on CentOS This is part of my complete guide to Setting up a CentOS Digital Ocean droplet with Nginx for beginners. If you just need the commands, here they are. Read on for an explanation of what is happening. sudo systemctl start firewalld sudo firewall-cmd --permanent
centOS Setting up a remote SSH user on CentOS This is part of my complete guide to Setting up a CentOS Digital Ocean droplet with Nginx for beginners. I am assuming that your droplet/server is already created. The best practice here is to create an SSH key and have digital ocean install
linux Cron and $PATH Linux has a handy tool for runing jobs on a schedule: cron. This is great for things like ensuring your webserver is up, especially in a shared environment like WebFaction where your server may periodically reboot. If you try to add scripts to it
jspm React and jspm I've been tinkering with React a lot lately; I am really loving it. Since I still believe that jspm offers a better development and bundling experience than WebPack (unless you need hot module reloading), I spend some time this week getting a solid project
aurelia jspm, jQuery Plugins, and ES6 jspm is a new package manager for JavaScript fornt-ends that comes with a universal module loading system. It integrates nicely with npm by adding a jspm property to the package.json that specifies what the jspm dependencies are. Mine looks like this: "jspm&