Skip to content

Instantly share code, notes, and snippets.

Lin Jen-Shin (godfat) godfat

View GitHub Profile
godfat /
Last active Mar 2, 2019
The Battle Cats - Cats rank

Top (Useful for most of the stages, and no alternatives at all)

  1. Miko Mitama (Uberfest)
  2. Kasa Jizo (Ultra Souls)
  3. Radiant Aphrodite (Almighties)

5 stars (Useful for most of the stages, but could be replaced with specific cats)

  • D'artanyan (Uberfest)
  • D'arktanyan (Epicfest)
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 / aa.rb
Created Mar 2, 2018
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}



  • TBA


  • [wvw group boon share chronomancer][]
  • [wvw roaming hybrid mirage][]
godfat / corrupt.rb
Created Aug 8, 2017
This produces "@@ -24,7 +24,7 @@ Redactedでは**レイヤ**における**zIndex**属性を制御可能にする�"
View corrupt.rb
require 'rugged'
require 'fileutils'
def with_empty_bare_repository(name = nil)
path = name || 'empty-bare-repository'
yield(Rugged::Repository.init_at(path, :bare))
View inner-class.rb
require 'rspec'
RSpec.describe do
class InnerClass
p Object.const_defined?(:InnerClass) # true
View gist:abb27bd2b1b9a84e3f84bfafcdd19ff7


Lee Ching-yu, the wife of Lee Ming-che, replies to the PRC’s Taiwan Affairs Office

(如需英文版本請轉到文章下方, please refer to bottom for english version.)


View auto-click.ahk
#NoEnv ; Recommended for performance and compatibility with future AutoHotkey releases.
#Warn ; Enable warnings to assist with detecting common errors.
SendMode Input ; Recommended for new scripts due to its superior speed and reliability.
SetWorkingDir %A_ScriptDir% ; Ensures a consistent starting directory.
#IfWinActive, ahk_class ArenaNet_Dx_Window_Class
#MaxThreadsPerHotkey 2
Toggle = 0

Architecture of GitLab as an Open Source Project

In this talk I'll briefly explain how GitLab was composed from different components, and what do each different components do, and how I contribute to GitLab. If you would also like to contribute to GitLab, then you'll certainly need to know where you need to get started for the contribution you want to make. This talk would be a nice introduction for you. If you are just interested in large software architecture in general, then this should also be interesting for you.


  • Who am I
  • Introduction to GitLab
    • What is GitLab
You can’t perform that action at this time.