Skip to content

Instantly share code, notes, and snippets.

ets /
Created September 26, 2015 14:59

Keybase proof

I hereby claim:

  • I am ets on github.
  • I am 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 / gist:7981982
Last active December 31, 2015 11:49
Class Instantiation Subtlety
View gist:7981982
class Base{
public String baseDeclared = null;
public Base(){
public void setDefaults(){
class Child extends Base {
ets / import.rb
Last active December 29, 2015 11:19 — forked from juniorz/import.rb
View 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 = ARGV[0]