Another issue I commonly have to deal with in the multitudes of repositories I oversee and manage: stale git branches. Gitlab has a pretty good interface for pointing these out. The trouble here, is that it’s still a manual process to remove each of these branches. If you’ve got a team of any size working […]
Tag: script
Bash – Remove Duplicate Files
So, a common issue I have is finding and removing duplicate files. Here’s a little bash script that helps clean up the mess: Let me know what you think! If you have suggestions or modifications, I’m open to them.
Versioning WordPress Content
Something that winds up being difficult when developing for WordPress (or Drupal, or any other database heavy CMS), is the versioning of content. Databases aren’t under your SCM directly. Because of this, deploying changes to production can be dicey. The scenario is typically something like this: Client wants 5 new pages, and a few revisions […]
Linux Deployment Scripts
A common issue in web development is getting new code to production environments. Nobody wants their site down for long, and depending on who you are a long time could be seconds or less. If you’re production environment is running a versioned instance of your code, updating that environment is as simple as using your […]