I hereby claim:
- I am robinclart on github.
- I am robinclart (https://keybase.io/robinclart) on keybase.
- I have a public key whose fingerprint is 21DA B729 A5D1 BBF0 4695 4243 C87F EADB E5FD 594C
To claim this, I am signing this object:
(setq scroll-step 1 | |
scroll-conservatively 10000) | |
(menu-bar-mode -1) | |
(set-window-margins nil 1) | |
(setq linum-format "%d ") |
set-option -g default-command "reattach-to-user-namespace -l fish" | |
# force a reload of the config file and display "~/.tmux.conf Reloaded!" | |
unbind r | |
bind r source-file ~/.tmux.conf \ | |
# window splitting | |
bind | split-window -h | |
bind - split-window -v |
I hereby claim:
To claim this, I am signing this object:
require "benchmark" | |
# Originally written by @blazeeboy | |
# See https://gist.github.com/9429208 | |
def generate(result) | |
# ... | |
end | |
def randomize_sentence(sentence) | |
randomized_sentence = sentence.gsub(/\[[^\[\]]+\]/) { |s| s[1..-2].split("|").shuffle.first } |
require "active_support/all" | |
require "active_model/naming" | |
class SuperFoo | |
A_CONSTANT = 3.14 | |
def greet | |
puts "Hi! + #{A_CONSTANT}" | |
end |
Gem::Specification.new do |s| | |
s.name = "casanova" | |
s.version = "0.1.0" | |
s.platform = Gem::Platform::RUBY | |
s.author = "Robin Clart" | |
s.email = "robin@clart.be" | |
s.summary = "" | |
s.description = "" | |
s.files = ["casanova.rb"] |
require "date" | |
module Birthday | |
def birthday(year_of_birthday = Date.today.year) | |
if birthdate.leap? | |
year_of_birthday += 1 until Date.new(year_of_birthday).leap? | |
end | |
Date.new(year_of_birthday, birthdate.month, birthdate.day) | |
end |