Recently I encountered a problem that some settings are not so easy to turn off, like vi-mode for example. And […]
Category: Tools
Docker, why I prefer Alpine as base instead of Ubuntu
A few months ago, I started every Dockerfile with this line: FROM ubuntu:xx.xx where xx.xx is the latest LTS version. […]
Modman / Git / Capistrano
Ran into an issue using Capistrano and Modman today. Seems like if you clone using modman, the git submodule isn’t […]
Vim syntax highlight for Cheffile
If you use Librarian for manage your Chef cookbooks and Vim for editing Cheffile, you may find useful vim-Cheffile what […]
git diff in your editor
Viewing git diffs on the command line is OK for small diffs, but I like viewing larger ones in a […]
VIM’s Command Line Window. And Search Window.
For many years I’ve been using VIM as my text editor, be it command line, gVim or MacVim.app. Once in […]
Manage VERSION, CHANGES and git tags with a bash script
It’s very common in software projects to use tag versions, and to keep an annotated list of of changes for […]
Ruby script for bulk deleting both local and remote Git tags
A very simple Ruby script for bulk deleting your Git tags both local and remote. Create a file called git-deletealltags.bsh […]
Display list of files containing conflicts in Git
Usually I just use the output from the merge command, but sometimes if there’s a lot of changes, it can […]
Small script for updating all git repositories within a directory.
A simple script that jumps into a given directory (or a default one) and updates all git repos in there. […]
Yoeman project only building in root directory
I just spent a fair amount of time trying to get to grips with why when I build a new […]
Pause on error in Batch File
Don’t you hate it when you write a beautiful batch script, then run it only to discover it fails miserably? […]
Quickly open files in iTerm with RubyMine on MacOS
You can use RubyMine for editing but still run tests in terminal. With this tip you can click path in […]
Run Percona MySQL 5.6 in a Docker Container
https://index.docker.io/u/erickbrower/docker-percona/ MySQL credentials are: root / [no password], ok for builds and development. Feel free to fork and set your […]
Testing Chaos with Automated Configuration Management solutions
Testing Chaos with Automated Configuration Management solutions like puppet/chef. It answers Questions for Infrastructure maintaining code… What was going wrong? […]
Display 80 column border in vim
Just write the following in your ~/.vimrc set colorcolumn=80
Git: Show all unmerged branches
You can list all branches which have not been merged into current branch. unmerged branches git branch -a –no-merged The […]
Vim: save without sudo
TL;DR If you’ve edited a file in vim and you don’t have write permission you can save the file using: […]
Coderwall is live on Assembly
Have you ever wished something was different about Coderwall? Had an idea for a feature or to fix some annoying […]
Go to last used buffer with two spaces
Quickly jump between two files (ex. code and test): nmap <leader><leader> <c-^> Combine with space as leader key: let mapleader […]