Skip to content

Instantly share code, notes, and snippets.

View ovargas27's full-sized avatar

Omar ovargas27

  • Regalii
  • Toluca, Mex
View GitHub Profile
@ovargas27
ovargas27 / GIF-Screencast-OSX.md
Created May 19, 2017 18:00 — forked from dergachev/GIF-Screencast-OSX.md
OS X Screencast to animated GIF

OS X Screencast to animated GIF

This gist shows how to create a GIF screencast using only free OS X tools: QuickTime, ffmpeg, and gifsicle.

Screencapture GIF

Instructions

To capture the video (filesize: 19MB), using the free "QuickTime Player" application:

@ovargas27
ovargas27 / chef_solo_bootstrap.sh
Last active December 15, 2015 10:59 — forked from ryanb/chef_solo_bootstrap.sh
Install Ruby 1.9.3-p392 / Chef on Ubuntu precise 12.04
#!/usr/bin/env bash
apt-get -y update
apt-get -y install build-essential zlib1g-dev libssl-dev libreadline6-dev libyaml-dev
cd /tmp
wget ftp://ftp.ruby-lang.org/pub/ruby/1.9/ruby-1.9.3-p392.tar.gz
tar -xvzf ruby-1.9.3-p392.tar.gz
cd ruby-1.9.3-p392/
./configure --prefix=/usr/local
make
make install
@ovargas27
ovargas27 / Ubuntu rbenv
Created November 13, 2012 02:11 — forked from HatemMahmoud/Ubuntu rbenv
Installing Ruby 1.9.3 with OpenSSL on Debian 6.0.6 using ruby-build and rbenv
# for more info: https://gist.github.com/1120938
@ovargas27
ovargas27 / gist:4015805
Created November 5, 2012 07:30 — forked from davatron5000/gist:2254924
Static Site Generators

Backstory: I decided to crowdsource static site generator recommendations, so the following are actual real world suggested-to-me results. I then took those and sorted them by language/server and, just for a decent relative metric, their Github Watcher count. If you want a heap of other projects (including other languages like Haskell and Python) Nanoc has the mother of all site generator lists. If you recommend another one, by all means add a comment.

Ruby

require './user.rb'
def mainmenu
puts 'select an option please
1.- new user
2.- delete user
3.- consult user
4.- exit
type a number: '