Skip to content

Instantly share code, notes, and snippets.

@ets
ets / keybase.md
Created September 26, 2015 14:59

Keybase proof

I hereby claim:

  • I am ets on github.
  • I am ets (https://keybase.io/ets) on keybase.
  • I have a public key whose fingerprint is 9C54 3F6B CF4B BB66 FC01 25B0 0279 A5EC 4492 4D44

To claim this, I am signing this object:

@ets
ets / import.rb
Last active December 29, 2015 11:19 — forked from juniorz/import.rb
require 'rubygems'
require 'nokogiri'
require 'fileutils'
require 'date'
require 'uri'
# usage: ruby import.rb my-blog.xml
# my-blog.xml is a file from Settings -> Basic -> Export in blogger.
data = File.read ARGV[0]
@ets
ets / gist:7981982
Last active December 31, 2015 11:49
Class Instantiation Subtlety
class Base{
public String baseDeclared = null;
public Base(){
setDefaults();
}
public void setDefaults(){
baseDeclared = "DEFAULT BASED DECLARED VALUE";
}
}
class Child extends Base {