Skip to content

Instantly share code, notes, and snippets.

View keybase.md

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 / gist:7981982
Last active Dec 31, 2015
Class Instantiation Subtlety
View gist:7981982
class Base{
public String baseDeclared = null;
public Base(){
setDefaults();
}
public void setDefaults(){
baseDeclared = "DEFAULT BASED DECLARED VALUE";
}
}
class Child extends Base {
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 = File.read ARGV[0]
You can’t perform that action at this time.