Skip to content

Instantly share code, notes, and snippets.

Lin Jen-Shin (godfat) godfat

Block or report user

Report or block godfat

Hide content and notifications from this user.

Learn more about blocking users

Contact Support about this user’s behavior.

Learn more about reporting abuse

Report abuse
View GitHub Profile
View web.md

HTTP

Connection

telnet www.example.com 80
curl -v www.example.com

Request

GET / HTTP/1.1
@godfat
godfat / cats-rank.md
Last active Apr 26, 2019
The Battle Cats - Cats rank
View cats-rank.md

Top (Powerful 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 (Powerful 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::
You can’t perform that action at this time.