This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
given 'www.google.com' | |
decompose to the different domain components | |
('com', 'google.com', 'www.google.com') |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
#!/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" |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
;; 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) |
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:
OlderNewer