Skip to content

Instantly share code, notes, and snippets.

Lin Jen-Shin (godfat) godfat

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

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
<!DOCTYPE HTML>
<html lang="en">
<head>
<title>Rib</title>
<meta charset="utf-8">
<meta name="viewport" content="width=792, user-scalable=no">
<meta http-equiv="x-ua-compatible" content="ie=edge">
<link href="http://www.godfat.org/slide/asset/screen-8.4.css" rel="stylesheet" type="text/css">
<style>
@godfat
godfat / aa.rb
Created Mar 2, 2018
settingslogic madness
View aa.rb
require 'settingslogic'
class Settings < Settingslogic
source 'aa.yaml'
end
Settings.a['d'] = 2
p Settings.a # {"b"=>0, "c"=>1, "d"=>2}
p Settings['a'] # {"b"=>0, "c"=>1}
View gw2-builds.md

Professions

Elementalist

  • TBA

Mesmer

  • [wvw group boon share chronomancer][]
  • [wvw roaming hybrid mirage][]
@godfat
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))
ensure
FileUtils.rm_rf(path)
View inner-class.rb
require 'rspec'
RSpec.describe do
class InnerClass
end
end
p Object.const_defined?(:InnerClass) # true
View gist:abb27bd2b1b9a84e3f84bfafcdd19ff7

https://blog.whereislee.org/2017/04/108

李明哲妻李凈瑜回覆國台辦聲明

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

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

20170409

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
F9::
View gitlab-architecture.md

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.

Outline

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