https://docs.github.com/articles/about-gpg/
gpg์ ์ค์ ํด๋ณด์! commit์ Verified๊ฐ gpg์ ์ฐ๊ด์ด ์์๋ค๋ ์ง๊ธ์ด๋ผ๋ ์๊ฒ๋์ด์ ๋คํ์ด๋ค.
| const fs = require('fs'); | |
| const path = require('path'); | |
| const pattern = /{{\s*[bB]ug\("?(\d+)"?\)\s*}}/g; | |
| const replacement = '[Firefox bug $1](https://bugzil.la/$1)'; | |
| function processFile(file) { | |
| fs.readFile(file, 'utf8', (err, data) => { | |
| if (err) { | |
| console.error(err); |
| // {{ARIARole("button")}} => <a href='/ko/docs/Web/Accessibility/ARIA/Roles/button_role'><code>button</code></a> | |
| const fs = require("fs"); | |
| const path = require("path"); | |
| const replaceInFile = (file) => { | |
| const data = fs.readFileSync(file, "utf8"); | |
| const result = data.replace(/\{\{\s*ARIARole\s*\(\s*['"]([^'"]+)['"]\s*\)\s*\}\}/g, "<a href='/ko/docs/Web/Accessibility/ARIA/Roles/$1_role'><code>$1</code></a>"); | |
| fs.writeFileSync(file, result, "utf8"); | |
| } |
| function checkType(variable) { | |
| return Object.prototype.toString.call(variable).slice(8,-1); | |
| } |
| export GPG_TTY=$(tty) | |
| alias holee='git config --unset user.name&&git config --unset user.email&&git config user.name "hochan222"&&git config user.email "[email protected]"&&git config --list' |
| const padStart = (targetLength: number, padString: string, str: string): string => { | |
| return str.length >= targetLength ? str : new Array(targetLength - str.length + 1).join(padString) + str; | |
| }; |
https://docs.github.com/articles/about-gpg/
gpg์ ์ค์ ํด๋ณด์! commit์ Verified๊ฐ gpg์ ์ฐ๊ด์ด ์์๋ค๋ ์ง๊ธ์ด๋ผ๋ ์๊ฒ๋์ด์ ๋คํ์ด๋ค.
| CONTENT_TRANSLATED_ROOT=/Users/tonybyeon/Desktop/translated-content/files | |
| EDITOR=code |
| while 1 ; do leaks [ps] ; sleep 3 ; clear ; done |