Skip to content

Instantly share code, notes, and snippets.

View javiermurillo's full-sized avatar
馃挱
馃

Javier Murillo javiermurillo

馃挱
馃
  • New York, NY
  • 13:44 (UTC -04:00)
View GitHub Profile
@javiermurillo
javiermurillo / Gemfile
Created June 24, 2020 22:27 — forked from dhh/Gemfile
HEY's Gemfile
ruby '2.7.1'
gem 'rails', github: 'rails/rails'
gem 'tzinfo-data', '>= 1.2016.7' # Don't rely on OSX/Linux timezone data
# Action Text
gem 'actiontext', github: 'basecamp/actiontext', ref: 'okra'
gem 'okra', github: 'basecamp/okra'
# Drivers
@javiermurillo
javiermurillo / basic_charge.rb
Created September 30, 2015 22:59
Llamada b谩sica de cargo en Conekta utilizando ruby
charge = Conekta::Charge.create({
"currency"=>"MXN",
"amount"=> 20000,
"description"=>"Stogies",
"reference_id"=>"9839-wolf_pack",
"card"=> "tok_test_visa_4242",
"details"=> {
"email"=> "[email protected]",
"line_items"=> [{
"name": "Box of Cohiba S1s",
@javiermurillo
javiermurillo / advance_charge.rb
Created September 30, 2015 22:49
Realizar un cargo en Conekta con Ruby utilizando los los par谩metros de la llamada avanzada.
charge = Conekta::Charge.create({
"description"=>"Stogies",
"amount"=> 20000,
"currency"=>"MXN",
"reference_id"=>"9839-wolf_pack",
"card"=> "tok_test_visa_4242",
"details"=> {
"name"=>"Wolverine",
"email"=>"[email protected]",
"phone"=>"403-342-0642",
@javiermurillo
javiermurillo / node-and-npm-in-30-seconds.sh
Created April 24, 2012 19:07 — forked from isaacs/node-and-npm-in-30-seconds.sh
Use one of these techniques to install node and npm without having to sudo. Discussed in more detail at http://joyeur.com/2010/12/10/installing-node-and-npm/ Note: npm >=0.3 is *safer* when using sudo.
echo 'export PATH=$HOME/local/bin:$PATH' >> ~/.bashrc
. ~/.bashrc
mkdir ~/local
mkdir ~/node-latest-install
cd ~/node-latest-install
curl http://nodejs.org/dist/node-latest.tar.gz | tar xz --strip-components=1
./configure --prefix=~/local
make install # ok, fine, this step probably takes more than 30 seconds...
curl http://npmjs.org/install.sh | sh
@javiermurillo
javiermurillo / fines-comunidad-ruby-tijuana.md
Created April 17, 2012 17:43
fines-comunidad-ruby-tijuana
  1. Sin fines de lucro
  2. Moderaci贸n abierta. Administrador s贸lo quita el spam
  3. Compartir c贸digo bajo una cuenta de organizaci贸n de Github
  4. El grupo es una democracia
  5. Cuando la democracia no es suficiente (empate etc), entra la meritocracia
  6. Comete errores (quien no los comete no aprende)
  7. Pide ayuda
  8. Divi茅rtete, quien no disfruta lo que hace, lo hace mal...