I hereby claim:
- I am henrrrik on github.
- I am henrrrik (https://keybase.io/henrrrik) on keybase.
- I have a public key whose fingerprint is 0C38 ADD9 D38B F080 7893 0927 2E5A 1778 D3E5 B610
To claim this, I am signing this object:
# $Id$ | |
# Based on work of [email protected] that's in the MacPorts repository. | |
PortSystem 1.0 | |
name drush | |
version 3.1 | |
categories www php | |
platforms darwin |
#!/usr/bin/env ruby | |
unless ARGV[0] | |
puts 'Usage: newpost "the post title"' | |
exit(-1) | |
end | |
blog_root = "/Users/henrik/Project/henrrrik.github.com" | |
date_prefix = Time.now.strftime("%Y-%m-%d") | |
postname = ARGV[0].strip.downcase.gsub(/ /, '-') |
# Add this to the Gemfile... | |
gem 'rack-ssl-enforcer', :require => 'rack/ssl-enforcer' |
function rbenvsudo(){ | |
executable=$1 | |
shift 1 | |
sudo $(rbenv which $executable) $* | |
} |
# db/migrations/20120118012543_create_site_configuration.rb | |
class CreateSiteConfigurations < ActiveRecord::Migration | |
def change | |
create_table :site_configurations do |t| | |
t.string :key | |
t.text :value | |
t.string :form_type | |
t.string :form_collection_command |
# Description: | |
# LÄGG UT | |
# | |
module.exports = (robot) -> | |
robot.hear /lägg ut/i, (msg) -> | |
msg.send 'http://www.youtube.com/watch?v=H30SvVzluwI?autoplay=true' |
#!/usr/bin/env ruby | |
require 'english' | |
require 'rubocop' | |
ADDED_OR_MODIFIED = /A|AM|^M/.freeze | |
changed_files = `git status --porcelain`.split(/\n/). | |
select { |file_name_with_status| | |
file_name_with_status =~ ADDED_OR_MODIFIED |
I hereby claim:
To claim this, I am signing this object: