Skip to content

Instantly share code, notes, and snippets.

View godfat's full-sized avatar

Lin Jen-Shin (godfat) godfat

View GitHub Profile
View gist:d7114e6d76f80b006d667ae779a3a6f8
View gist:201c671301dbeaf162051854da0b6c12
Hi, GM is Kanna.
<1.4.4 version update contents>
================================================== =========================
▶ New Hero Legion / Centurion Remus
- Remus is a commander in the fight against a powerful legion.
Remus's soldiers become more powerful as they get together because of strong training.
godfat /
Last active April 26, 2019 08:14
The Battle Cats - Cats rank
View rib-slides.html
<html lang="en">
<meta charset="utf-8">
<meta name="viewport" content="width=792, user-scalable=no">
<meta http-equiv="x-ua-compatible" content="ie=edge">
<link href="" rel="stylesheet" type="text/css">
godfat /
Last active March 19, 2018 06:33
GW2 builds
godfat / aa.rb
Created March 2, 2018 13:56
settingslogic madness
View aa.rb
require 'settingslogic'
class Settings < Settingslogic
source 'aa.yaml'
Settings.a['d'] = 2
p Settings.a # {"b"=>0, "c"=>1, "d"=>2}
p Settings['a'] # {"b"=>0, "c"=>1}
View rails41_jsonb.rb
Rails.application.config.after_initialize do
ActiveSupport.on_load(:active_record) do
oid = ActiveRecord::ConnectionAdapters::PostgreSQLAdapter::OID
oid::Jsonb = do
def type