I recently launched a new Rails app on Digital Ocean using Dokku. I wanted to pipe out my Rails log data to Loggly, and found the documentation on this to be pretty sparse.
This should capture the steps I took to set it up. These steps assume you have a working Digital Ocean droplet with Dokku 0.7.1 or newer, and Rails 5 (though it should work fine with other frameworks that can log to syslog).Continue Reading →
All skilled professionals have a "toolbox", right? An electrician might have a multimeter, screwdrivers, and a hammer. A painter might have brushes, pallets, paints. An engineer is no different, except that their toolbox is often entirely digital.
In all cases, tools help you to be more PRODUCTIVE, FASTER, and MORE ACCURATE in your every day work.
My developer toolbox is a set of customizations, tools, and applications that augment and improve the operating system and computer I use. I'll specifically cover changes and tools I use that help with developing computer software and websites.Continue Reading →
Have you ever wished github's awesome Atom text editor had better support for jumping straight to a class or method definition like Rubymine or Sublime Text? Me too! So, here's a short set of instructions how to get this functionality working on OS X!
To summarize what we're going to do:
- Install exuberant ctags from homebrew
- Install an
rbenvplugin and a gem that automatically generates ctags for rubygems
gitknow that you want to include the
ctagsbinary and your new hooks in all git tracked repos
- Create a
ctags binarythat generates a tags file for each project, and a few
githooks to keep our tags files up to date
- Ensure your git-tracked repos have the newly created hooks and
- Install a helper package in Atom called
Quick & DirtyContinue Reading →
When I originally open sourced Colorpicker, it was a beautiful MVP based on some really nasty legacy code.
I haven't had the time to focus on this project extensively, but over the last year I've made a lot of important improvements and wanted to discuss them briefly in this forum.
I still have several longer term goals for this project, such as eliminating the need for the Arduino entirely so that anyone can run the client on any computer (with an emphasis on low-memory and disk space cases for usage with a Raspberry Pi, Beaglebone, or other cheap computer).
I'm going to cover six new features added, but there are many more improvements I've made that you can see more about on Github.
Gratuitous Video Demo
Continue Reading →
These are a wonderful way to keep track of the plethora of configuration files that you'll undoubtedly set up while working as a developer, and quickly install them on another machine. Nothing like having your environments on your home and work boxes be the same!
If you want a nice baseline of configuration for your .zshrc, .vimrc, .gitconfig, .aliasrc, .tmux.conf, and many others, my dotfiles repo is a very quick setup that allows you to granularly pick exactly the files you want.
I recommend forking my repo to your Github account, cloning to your home directory, and then running the install script.
git clone email@example.com:Lordnibbler/dotfiles.git ~/.dotfiles # follow the prompts ~/.install.sh
From here, you can adjust the dotfiles to your liking, keep them up to date, and safely backed up on Github!