Skip to content

Instantly share code, notes, and snippets.

Alejandro E. Babio alejandrobabio

Block or report user

Report or block alejandrobabio

Hide content and notifications from this user.

Learn more about blocking users

Contact Support about this user’s behavior.

Learn more about reporting abuse

Report abuse
View GitHub Profile
@erickpatrick
erickpatrick / install-vim-8-with-python-ruby-lua-ubuntu.sh
Last active Nov 11, 2019
Install Vim 8 with Python, Python 3, Ruby (2.5) and Lua support on Ubuntu
View install-vim-8-with-python-ruby-lua-ubuntu.sh
# remove current vim
sudo apt-get remove --purge vim vim-runtime vim-gnome vim-tiny vim-gui-common
# removes current link for vim
sudo rm -rf /usr/local/share/vim /usr/bin/vim
# add ppa for newest version of ruby (currently, as of 06/06/2017, ruby v2.4)
sudo apt-add-repository ppa:brightbox/ruby-ng
sudo apt-get update
View immutable-ruby.md

Immutable Ruby

Libraries I talked about

  • ice_nine: Deep freeze ruby objects
  • Values: Simple immutable value objects for ruby
  • immutable_attributes: specify attributes within an ActiveRecord model that can be set but not modified
  • hamster: Efficient, Immutable, Thread-Safe Collection classes for Ruby

Next Steps

View tmux-cheatsheet.markdown

tmux shortcuts & cheatsheet

start new:

tmux

start new with session name:

tmux new -s myname
@joelverhagen
joelverhagen / README.md
Created Feb 12, 2012
Jekyll YouTube Embed Plugin
View README.md

This is a plugin meant for Jekyll.

Example use:

Easily embed a YouTube video. Just drop this file in your _plugins directory.

{% youtube oHg5SJYRHA0 %}
You can’t perform that action at this time.