Page 10 of 11

tmux basic usage Feb 19 2018

After editing your config file (probably ~/.tmux.conf) you don't need to kill your tmux server and reload it, you can just go to tmux command mode and source your configfile:

1
<C-b>:source-file ~/.tmux

When you open use vim on tmux you might lose...

Read More...

Using rbenv for multiple projects Feb 15 2018

I prefer to keep all my gems separated by project so I use rbenv-gemset you might want to do that too.

If you want to use a specific ruby version on a project do the following:

1
2
cd project
rbenv install 2.4.1 # you can pick any version `rbenv install...
Read More...

CTags vim multiple projects Feb 14 2018

If you have to reference multiple directories on your ctags do the following.

Install ctags

Generate CTags for all of your projects, from your project's root

1
ctags -R .

this will generate a file tags, add it to the git ignore

1
echo "tags" >> ~...
Read More...

Installing docker-toolbox on mac OSX Jan 11 2018

If you use iTerm you'll probably need to change the file:

1
/Applications/Docker/Docker Quickstart Terminal.app/Contents/Resources/Scripts/iterm.scpt

Following the code in this gist

Install bash_completion from mac ports or using homebrew Here I'll...

Read More...

On being pragmatic Jul 19 2017

Sometimes rules or styles become hindrances instead of being helpful, we have to keep track of so many things that we forget what was the purpose of what we started with.

Interesting reads: Just use double-quoted strings

https://en.wikipedia.org/wiki...

Read More...

Vim use ESLint via ALE Jul 17 2017

Why ALE and not Syntastic ? just personal preference, ALE seems to take advantage of the async in Vim 8, just that.

What would we need:

Step 1.

Installing ESLint...

Read More...

On Security Jul 15 2017

Two-factor authentication is important but sometimes is hard if you are travelling around and don't have a fixed phone number in every country. Here are some security features that you might find helpful:

Read More...

Vim colour schema Jul 15 2017

When you see colours displayed on vim, they are defined by highlight rules, and they are applied to groups (in the example below the group is Normal, you can view all of them running: :so $VIMRUNTIME/syntax/hitest.vim) for example:

1
2
3
4
5
6
" Set...
Read More...

The little schemer Jul 10 2017

  1. Get the book
  2. Get a working copy of Scheme (The one I used is Racket Download & Install )
  3. If you use VIM you could use the setup shown in this post to complete the exercises.
  4.  Maybe you'll struggle with the first exercises on what are you required...
Read More...

On Editors Jul 9 2017

I think that solving problems is greatly related to the tools we use and but more so on how expertly we can make use of them. Master a language (any language) so you can use that language to express yourself master an editor so you can more easily...

Read More...