Skip to content

Instantly share code, notes, and snippets.


Hugo Estrada hugoestr

View GitHub Profile
View .vimrc
" pathogen setup
execute pathogen#infect()
" generic setup
syntax on
filetype plugin indent on
" setting spaces
set expandtab
set shiftwidth=2
View some useful shell configs
function acktung() {
ack --ignore-dir={.bundle,log,dev,lib,vendor} $1 .
function ackount() {
ack -hc --ignore-dir={.bundle,log,dev,lib,vendor} $1 .
function ackls {
hugoestr / reader_writer.exs
Last active Nov 8, 2019
The code that I shared in the presentation
View reader_writer.exs
defmodule CriticalResource do
def start() do
spawn(fn -> loop("initialize") end)
def loop(data) do
MyLogger.log(:resource, "data", "", data)
receive do
{:read, pid, name} ->
View qsort.exs
defmodule Htest do
def equals(message, expect, value) do
IO.puts "#{message}: #{expect == value} "
defmodule Qsort do
def qsort([]), do: [] #base case for qsort
def qsort([pivot|[]]), do: [pivot] #base case for qsort
hugoestr /
Created Aug 9, 2011 — forked from jasonrudolph/
Programming Achievements: How to Level Up as a Developer
You can’t perform that action at this time.