Skip to content

Instantly share code, notes, and snippets.

View qrg's full-sized avatar
🏠
Working from home

Qurage qrg

🏠
Working from home
View GitHub Profile
@qrg
qrg / replace-specified-font-family.js
Last active March 26, 2018 11:03
Replace specified font-family on the body element.
const EXCLUSIONS = [
'Meiryo',
'メイリオ',
'"MS PGothic"',
'"MS ゴシック"',
'x-locale-body',
'system-ui',
'"Yu Gothic UI"',
'"YuGothic UI"'
].map(f => f.toLowerCase());
@qrg
qrg / samazama_na_kakko.md
Last active February 24, 2018 07:49
かっこの名前が伝えづらい
  • ()
    • Unicode : LEFT(U+0028)/RIGHT(U+0029) PARENTHESIS
    • parenthesis
    • parentheses (plural)
    • paren
    • round brackets
    • 丸括弧
    • パレン
  • []
  • Unicode : LEFT(U+005B)/RIGHT(U+005D) SQUARE BRACKET
@qrg
qrg / caves-of-qud-log.md
Created December 6, 2016 18:16
Caves of Qud log

Caves of Qud

1

キャラクターを作成した

キャラクターメイキングにあたっては、Mutations の種類を一通り把握しておきたかったので 時間はかかったものの全て翻訳した。 次のビルドを考えながらプレイするにも予備知識がないと考えづらそうと思ったため。

@qrg
qrg / help-ten-things-you-should-do-when-you-start-to-play.md
Last active June 17, 2021 20:07
Caves of Qud translations (ja)

Ten things you should do when you start to play

(はじめに行う 10 項目)

1. Switch to the alternate keyset if you don't have a numpad.

テンキーがない場合は alternate keyset に切り替える

Press 'Esc' then 'k' to view the key mapping menu. Press 'F2' to switch keysets.

@qrg
qrg / peco-config.json
Last active November 23, 2016 05:44
iTerm2 color scheme
{
"Prompt": "peco >",
"Style": {
"Basic": ["on_default", "default"],
"Selected": ["on_black", "white"],
"Query": ["yellow"],
"Matched": ["yellow"]
}
}
This file has been truncated, but you can view the full file.
{
"rows_length": 3328,
"rows": [
{
"type": "AMMO",
"id": "battery",
"category": "spare_parts",
"price": 12000,
"name": "battery",
"name_plural": "batteries",
[
{
"_id": 3,
"id": "string_6",
"translation": {
"name": "紐(15cm)",
"description": "6インチ(15cm)の綿の紐です。"
}
},
{
@qrg
qrg / input.bas
Last active March 31, 2018 21:14
10 INPUT "What is your name: "; U$ 20 PRINT "Hello "; U$ 30 INPUT "How many stars do you want: "; N 40 S$ = "" 50 FOR I = 1 TO N 60 S$ = S$ + "*" 70 NEXT I 80 PRINT S$ 90 INPUT "Do you want more stars? "; A$ 100 IF LEN(A$) = 0 THEN GOTO 90 110 A$ = LEFT$(A$, 1) 120 IF A$ = "Y" OR A$ = "y" THEN GOTO 30 130 PRINT "Goodbye "; U$ 140 END
[BLACK_R:30]
[BLACK_G:30]
[BLACK_B:50]
[BLUE_R:24]
[BLUE_G:124]
[BLUE_B:232]
[GREEN_R:70]
[GREEN_G:125]
[GREEN_B:55]
[CYAN_R:120]
@qrg
qrg / layout.csv
Last active March 31, 2018 21:15
# layout
5 sky
4 sky barrack
3 sky archery target bolt
2 sky bolt recovery
1 sand pasture (dog)
0 sand
-1 sand pasture
-2 clay farm potash seed plants