SSH into your server Install zip and unzip. CentOS / Fedora / Red Hat: yum install zip and yum install unzip Debian / Ubuntu: apt-get install zip and apt-get install unzip Zip a file: zip new-zip-file.zip file-to-zip Zip all files in directory: zip new-zip-file.zip * Zip a directory: zip -r new-zip-file.zip directory-to-zip Unzip to the… Continue reading Zipping and unzipping files using SSH
Category: Web Development
Pointing a Subdomain to an AWS EC2 Instance
Continuing on with my Adventures with AWS, I needed to point a subdomain to Amazon Web Services, while keeping my primary domain and it's DNS handled at another host. I would consider this is a relatively common need, you have your primary domain hosted somewhere that is handling your DNS for you, but you want… Continue reading Pointing a Subdomain to an AWS EC2 Instance
jQuery and the Slack API
Disclaimer: You should think twice about interacting with the Slack API using client facing JavaScript like jQuery on a public website because your webhook (the special URL that Slack generates for you) will be public. This means that anyone could post anything in your Slack channel without being authenticated. It is possible to interact with the Slack API… Continue reading jQuery and the Slack API
Restarting an Amazon EC2 Instance
If your AWS EC2 Instance is unresponsive from the browser and you aren't able to SSH in from your terminal, you may need to restart it. This can happen for a few different reasons, one of which (the one I ran into) being memory management. I was running both Bitbucket and Jira on an EC2… Continue reading Restarting an Amazon EC2 Instance
Configuring AWS Elastic IP’s
An Amazon Web Services Elastic IP is essentially an IP address that is tied to your AWS account. It's not specifically tied to any given EC2 instance and can be used for multiple instances. When you launch your first EC2 instance you're immediately assigned a Public IP address. This IP address is not permanent and if… Continue reading Configuring AWS Elastic IP’s
AWS (Amazon Web Services) for Front End Developers
Hosting in 2016 is no small matter. There are a ton of great hosting providers out there, each with their own unique spin. The classics like Hostgator, Mediatemple, Namecheap etc are still around and doing great work but there are relatively new players in the field too like DigitalOcean, who just bill by the hour for… Continue reading AWS (Amazon Web Services) for Front End Developers
jQuery plugin: progressify
About 3 weeks back I saw a progress bar tracking the progression through reading articles on a site that, for the life of me, I can't find right now. I looked around and wasn't able to (quickly) find any jQuery plugins that did that out of the box in a way that I was happy… Continue reading jQuery plugin: progressify
Revisiting matchHeights (plus a new plugin)
About a year ago I wrote a post about equalizing heights with jQuery. I decided to revisit that function and make it a little easier to use by rolling it into it's own little jQuery plugin. It's so small though (322 bytes at the time of writing), I'd almost just call it a utility. Download:… Continue reading Revisiting matchHeights (plus a new plugin)
The Best You Can
In development, client focused development in particular, it's easy to get discouraged by requirements. You must use a certain CMS. You must fit everything within an outdated framework. You must use an outdated version of jQuery. You must support unreasonable legacy browsers (IE6 I'm looking at you) You must run every change through x levels… Continue reading The Best You Can
Error Establishing Database Connection WordPress Error
If upon browsing your WordPress blog or website you find a mostly blank page with an error message that says something like "Error Establishing Database Connection" it generally means that your MySQL database credentials changed, or your .htaccess file is corrupt. Start out by verifying your MySQL credentials: Connect to your server via FTP and… Continue reading Error Establishing Database Connection WordPress Error