I hereby claim:
- I am koppen on github.
- I am mentalizer (https://keybase.io/mentalizer) on keybase.
- I have a public key whose fingerprint is EE7E 4025 6674 BAD8 3883 B1BC 92C6 35F9 D27E A0C1
To claim this, I am signing this object:
<!DOCTYPE html> | |
<html xmlns="http://www.w3.org/1999/xhtml"> | |
<head> | |
<style> | |
.wrapper { | |
background: yellow; | |
margin-left: auto; | |
margin-right: auto; | |
position: relative; | |
width: 50%; |
require 'minitest/autorun' | |
require 'minitest/pride' | |
class Columnizer | |
def initialize(elements) | |
@elements = elements | |
end | |
def columns(number_of_columns) | |
columns = create_columns(number_of_columns) |
1) MeetingsController GET show raises | |
Failure/Error: get :show, {:id => "not a real id"} | |
ActiveRecord::RecordNotFound: | |
Couldn't find Meeting with id=not a real id | |
# ./app/controllers/meetings_controller.rb:25:in `show' |
I hereby claim:
To claim this, I am signing this object:
// This is a manifest file that'll be compiled into application.js, which will include all the files | |
// listed below. | |
// | |
// Any JavaScript/Coffee file within this directory, lib/assets/javascripts, vendor/assets/javascripts, | |
// or vendor/assets/javascripts of plugins, if any, can be referenced here using a relative path. | |
// | |
// It's not advisable to add code directly here, but if you do, it'll appear at the bottom of the | |
// compiled file. | |
// | |
// Read Sprockets README (https://github.com/sstephenson/sprockets#sprockets-directives) for details |
$ ./find_method.rb "foo" "FOO" | |
"foo".upcase #=> "FOO" | |
"foo".swapcase #=> "FOO" | |
"foo".upcase! #=> "FOO" | |
"foo".swapcase! #=> "FOO" | |
$ ./find_method.rb 1 2 | |
1.succ #=> 2 | |
1.next #=> 2 |
TASK: [lesmyrmidons.mongodb | Include OS-specific variables.] ***************** | |
ok: [app] => {"ansible_facts": {"mongodb_repository": "deb http://downloads-distro.mongodb.org/repo/debian-sysvinit dist 10gen", "url_apt_key": "http://keyserver.ubuntu.com/pks/lookup?op=get&search="}} | |
TASK: [lesmyrmidons.mongodb | RedHat | Install dependencies packages] ********* | |
skipping: [app] | |
TASK: [lesmyrmidons.mongodb | RedHat | Add source sources] ******************** | |
skipping: [app] | |
TASK: [lesmyrmidons.mongodb | RedHat | Install Packages] ********************** |
require "loofah" | |
# An ActionMailer interceptor that converts HTML links to a text-representation | |
# in the text/plain part of emails. | |
class HtmlLinksToTextInterceptor | |
# A specialized Scrubber to convert HTML links to text | |
class LinkScrubber < Loofah::Scrubber | |
def scrub(node) | |
replace_link_node_with_text_node(node) if link?(node) | |
end |
# .git/hook/pre-commit | |
#!/bin/sh | |
# | |
# Check for ruby style errors | |
red='\033[0;31m' | |
green='\033[0;32m' | |
yellow='\033[0;33m' | |
NC='\033[0m' |
SELECT * FROM (SELECT * FROM unnest(string_to_array('janson morke nils', ' '))) a, (SELECT * FROM unnest(string_to_array('janson morke nils', ' '))) b; |