Posts tagged with "shell"

Install fonts on ubuntu

The other day I needed to install some fonts on our ubuntu server that were needed for an email script. Not something...

Clean up local git branches

Branch cleanup is a constant housekeeping item. To make things easier I've been using this...

Delete files older than N days on Linux

Today I needed to delete a bunch of old log files to clear up some room on our server. Here’s a handy shortcut that I...

Git branch workflow

I have three environments: local (development) test production Usually you want to try out a new feature and then...

Import a database from the command line

Sometimes you need to import a large database that exceeds the size limits imposed by phpMyAdmin. You can change some...

MySQL SSH tunnel

If your MySQL server is configured to only accept local connections, then you can't connect remotely by just specifying...