Joined November 2012
·

Tonatiuh Núñez

Developer at Density Labs
·
Colima, Mexico
·
·
·

What worked for me was:

gem install mysql2 -v '0.3.15' -- --with-mysql-config=$(brew --prefix mysql)/bin/mysql_config
Posted to tmux and vim don't have to be ugly over 1 year ago

Of course, sorry I just saw your comment, take a look at this file in my dotfiles https://github.com/tonatiuh/dotfiles/blob/master/bash/tmux.conf#L51

Posted to tmux and vim don't have to be ugly over 1 year ago

Nice, I think the same as you.

Here is a sample of my current config Tonatiuh Vim + Tmux sample

I see you moved your tmux bar at the top, I may try that later.

This worked for me, thanks.

I agree with most of your post, however performing these tests by each of the actions in each of the controllers of an application:

it { is_expected.to respond_with_content_type :html }
it { is_expected.to render_with_layout :application }

is too much in my opinion.

Posted to Vim & Tmux & System Clipboard over 1 year ago

Awesome! Automatically sending to tmux when I yank from vim is something I had been looking for, it totally worked. Thanks.

Posted to Partial commits with git add -p over 1 year ago

I agree with you, also another tips is that even once you are doing
git add -p
if you find a big chunk of code, you can press the "s" key to split the chunk in even a smaller chunk.

I like to have an alias for git patch,
$ git config --global alias.addp add -p
which allows me to just say
$ git addp

Posted to Use RVM with FISH shell over 1 year ago

Also, in order to load it by default, you can put in your ~/.config/fish/config.fish

rvm > /dev/null

The /dev/null is to send the standard output to /dev/null and avoid printing the rvm message each time you open a new session.

I was just looking how to do this, thanks!

For those who had the same issues when installing this on Git 1.8.3.4 ( installed directly as Github suggest), here is what I had to follow besides this.

cd /usr/local/git/contrib
curl -O https://raw.github.com/git/git/master/contrib/diff-highlight/diff-highlight

And also to add this to my .gitconfig

[core]
  pager = /usr/local/git/contrib/diff-highlight | less
Posted to `cat` syntax highlighting over 1 year ago

Excellent!

Good article man, thanks for remind me this.

Achievements
67 Karma
820 Total ProTip Views