Skip to content

Instantly share code, notes, and snippets.

View thotmx's full-sized avatar

Hermes Ojeda Ruiz thotmx

  • México
View GitHub Profile
@thotmx
thotmx / Install RMagick dependencies in Ubuntu
Last active August 29, 2015 14:11
Install RMagick Dependencies
$ sudo apt-get install imagemagick libmagickwand-dev
@thotmx
thotmx / install_chrome_driver
Created March 21, 2015 06:12
Install chromedriver in Ubuntu (14.04)
$ sudo apt-get install chromium-chromedriver
$ sudo ln -s /usr/lib/chromium-browser/chromedriver /usr/bin/chromedriver
@thotmx
thotmx / minitest_5.rb
Created May 1, 2015 21:29
Código de Inicio de Kata con Minitest versión 5
require 'minitest/autorun'
class TestExample < Minitest::Test
def test_example
assert_equal true, nil.nil?
end
end
@thotmx
thotmx / minitest_less_than_5.rb
Created May 1, 2015 21:32
Código de Inicio de Kata con Minitest < 5
require 'minitest/autorun'
class TestExample < MiniTest::Unit::TestCase
def test_example
assert_equal true, nil.nil?
end
end
sudo ln -s /usr/lib/chromium-browser/chromedriver /usr/local/bin/chromedriver
@thotmx
thotmx / oaxacarb.elm
Last active September 9, 2017 15:12
Simple Elm example for an Oaxaca.rb talk
import Html exposing (..)
import Html.Attributes exposing(placeholder)
import Html.Events exposing(onInput, onClick)
import Random exposing (..)
import Random.String
import Random.Char
type alias Model = {
content : String
}