Skip to content

Instantly share code, notes, and snippets.

View lfurrea's full-sized avatar

Luis Urrea lfurrea

  • Simple Communication Services
  • USA
View GitHub Profile
given 'www.google.com'
decompose to the different domain components
('com', 'google.com', 'www.google.com')
@lfurrea
lfurrea / optparse-template.rb
Created October 3, 2016 18:19 — forked from rtomayko/optparse-template.rb
Ruby optparse template
#!/usr/bin/env ruby
#/ Usage: <progname> [options]...
#/ How does this script make my life easier?
# ** Tip: use #/ lines to define the --help usage message.
$stderr.sync = true
require 'optparse'
# default options
flag = false
option = "default value"
@lfurrea
lfurrea / 00custom-setup.el
Created June 9, 2017 05:33
emacs customization
;; To get rid of Weird color escape sequences in Emacs.
;; Instruct Emacs to use emacs term-info not system term info
;; http://stackoverflow.com/questions/8918910/weird-character-zsh-in-emacs-terminal
(setq system-uses-terminfo nil)
;; Prefer utf-8 encoding
(prefer-coding-system 'utf-8)
;; Display continuous lines
(setq-default truncate-lines nil)

Keybase proof

I hereby claim:

  • I am lfurrea on github.
  • I am lurrea (https://keybase.io/lurrea) on keybase.
  • I have a public key ASDL5xKOhPNmy771VRmMgv9P2iAb94gWwYSJDsBUuRpolgo

To claim this, I am signing this object: