π€
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
const decodeHtmlEntity = function (str: string) { | |
return str.replace(/&#(\d+);/g, function (match: string, dec: number) { | |
return String.fromCharCode(dec) | |
}) | |
} | |
const encodeHtmlEntity = function (str: string) { | |
const buf = [] | |
for (let i = str.length - 1; i >= 0; i--) { | |
buf.unshift(['&#', str.charCodeAt(i), ';'].join('')) |
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
π Morning 104 commits βββββββββββββββββββββ 15.7% | |
π Daytime 333 commits βββββββββββββββββββββ 50.2% | |
π Evening 169 commits βββββββββββββββββββββ 25.5% | |
π Night 57 commits βββββββββββββββββββββ 8.6% |
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
const getValue = <T, U extends keyof T>(obj: T, key: U): T[U] => { | |
return obj[key]; | |
}; |
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
name: node_actions_example | |
on: push | |
jobs: | |
job_using_node: | |
name: Using actions node | |
runs-on: ubuntu-latest | |
steps: | |
- uses: actions/checkout@v2 |
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
import { LOTTO_COUNTS, LOTTO_NUMBERS_LIMIT, LOTTO_NUMBERS_START } from '../constants'; | |
const template = document.createElement('template'); | |
const makeWinningNumberInput = () => { | |
const inputs = []; | |
while (inputs.length < LOTTO_COUNTS) { | |
const tagString = ` | |
<input | |
type="number" |
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
[user] | |
name = tolluset | |
email = [email protected] | |
[filter "lfs"] | |
clean = git-lfs clean -- %f | |
smudge = git-lfs smudge -- %f | |
process = git-lfs filter-process | |
required = true | |
[credential] | |
helper = osxkeychain |
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
# .config/alacritty/alacritty.yml | |
font: | |
size: 11 | |
normal: | |
family: MesloLGS NF | |
bold: | |
family: MesloLGS NF | |
italic: | |
family: MesloLGS NF | |
bold_italic: |