Skip to content

Instantly share code, notes, and snippets.

Avatar
🏠
Working from home

Alejandro Babio alejandrobabio

🏠
Working from home
View GitHub Profile
@erickpatrick
erickpatrick / install-vim-8-with-python-ruby-lua-ubuntu.sh
Last active Jun 14, 2020
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.