Skip to content

Instantly share code, notes, and snippets.

View rschiang's full-sized avatar
🐳
Sailing

Poren Chiang rschiang

🐳
Sailing
View GitHub Profile
@rschiang
rschiang / bingo-pos.js
Last active March 13, 2019 11:35
SITCON 2019 Bingo Card proof-of-concept
crypto = require('crypto')
const sponsors = ['A', 'B', 'C', 'D', 'E', 'F', 'G', 'H', 'I', 'J', 'K', 'L', 'M', 'N', 'O', '+']
const communities = ['a', 'b', 'c', 'd', 'e', 'f', 'g', 'h']
// 5x5 grid; 0: sponsor; 1: community
const patterns = [0b0010001010100010101000100, 0b1010001010000010101010000,
0b1000100100010100010010001, 0b0010010001010101000100100]
@rschiang
rschiang / Crimson.css
Last active June 21, 2020 08:26
Crimson, a Markdown theme for legal reports
/*
Crimson – a theme for legal reports
© RSChiang 2019, CC BY-SA 4.0
*/
/* Metrics */
html, body {
margin: 0;
padding: 0;
@rschiang
rschiang / userChrome.css
Last active May 4, 2020 23:50
Fullscreen + overlay title bar for Firefox 71+
/* Fullscreen + overlay title bar for Firefox 71+ */
/* Adapted from https://bugzilla.mozilla.org/show_bug.cgi?id=740148 */
/* Fullscreen support */
/* Shift the browser towards the top */
:root[inFullscreen] {
--user-fullscreen-delta: calc(-40px - var(--tab-min-height));
}
:root[inFullscreen]:not([inDOMFullscreen]) #browser {
@rschiang
rschiang / Toolkit.md
Created June 10, 2021 17:26
Translators’ Resources for Mandarin (Taiwan)

Rewritten draft.

Very much appreciated for your interest of the project! As the source code updates frequently, it’s great to see new collaborators coming up with timely contributions to keep the project moving. Thank you for being here.

On the other hand, please try to follow the established principles when you translate: many of the new strings are similar to the existing ones, while the translation of specific terms has already been agreed upon. Here are some authoritative sources you may utilize during your contribution:

  • Suggested matches previously translated.
  • Coherence check (full text search of the translation memory of this project) on the top right.
  • The source code on GitHub, to make sure what functionality it refers to.
  • Dictionary of Academic Terms, National Academy for Educational Research .