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 |