I hereby claim:
- I am sinjo on github.
- I am sinjo (https://keybase.io/sinjo) on keybase.
- I have a public key whose fingerprint is 4C72 3988 4729 BE4A E4E2 5C11 8FB9 FBC5 C0E8 1A14
To claim this, I am signing this object:
locks=# SELECT current_setting('transaction_isolation'); | |
current_setting | |
----------------- | |
read committed | |
(1 row) |
I hereby claim:
To claim this, I am signing this object:
class SadnessController < ApplicationController | |
def index | |
end | |
end |
#!/usr/bin/env ruby | |
lines = ARGV.flat_map { |file_name| File.open(file_name, 'r:bom|utf-8') { |file| file.read.lines } } | |
p lines | |
p lines.first | |
require 'date' | |
class Date | |
alias_method :old_compare, :<=> | |
def <=> other | |
if other.respond_to? :to_date | |
old_compare other.to_date | |
else | |
old_compare other |
import java.util.ArrayList; | |
import java.util.List; | |
public class Generic { | |
public static void main(final String[] args) { | |
final ArrayList<String> strings = new ArrayList<>(); | |
strings.add("foo"); | |
final String string = staticMethod(strings); |