602f50fc 0da5 11e7 8a95 d48e63c75880

Set up Loggly and Dokku with Rails, Logspout, and Syslog

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 →

Environment Customization: My Developer Toolbox

Toolbox

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 →
D0bd4d42 2e99 11e6 881f 53f3ff1f3de2

How to set up ctags (go to definition) in Atom text editor

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 rbenv plugin and a gem that automatically generates ctags for rubygems
  • Let git know that you want to include the ctags binary and your new hooks in all git tracked repos
  • Create a ctags binary that generates a tags file for each project, and a few git hooks to keep our tags files up to date
  • Ensure your git-tracked repos have the newly created hooks and ctags binary
  • Install a helper package in Atom called autocomplete-ctags
  • Profit!

Quick & Dirty

My good friend Tyler Davis turned this entire post into an awesome setup script if you'd like to avoid doing these steps manually!

Continue Reading →
D2a399ea 3bd3 11e5 8d85 42be5cb69be2

Updated DIY LED Lights with Node.js and Backbone.js!

Update!

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 →
838e3536 d1ac 11e4 8766 04ec04c0b199

Sensible Development Dotfiles

My Dotfiles repo contains a sensible set of vim, fish, zsh, git, and tmux configuration files that work well for my development workflow (thanks mdp!).

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 git@github.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!