This file contains 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
# ~/.ssh/config | |
Host personal | |
User git | |
HostName github.com | |
IdentityFile ~/.ssh/github/id_ed25519 | |
IdentitiesOnly yes | |
This file contains 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
#!/bin/bash | |
set -euo pipefail | |
cd ${0%/*} | |
trap cleanup EXIT | |
function cleanup() { | |
# cleanup commands |
This file contains 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
@font-face { | |
font-family: 'Inter'; | |
font-style: normal; | |
font-weight: 100; | |
font-display: swap; | |
src: url("Inter-Thin.woff2?v=3.19") format("woff2"), | |
url("Inter-Thin.woff?v=3.19") format("woff"); | |
} | |
@font-face { | |
font-family: 'Inter'; |
This file contains 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
<span class="grid place-content-center p-4"> | |
<svg class="animate-spin -ml-1 mr-3 h-6 w-6 text-gray-60000" xmlns="http://www.w3.org/2000/svg" fill="none" viewBox="0 0 24 24"> | |
<circle class="opacity-25" cx="12" cy="12" r="10" stroke="currentColor" stroke-width="4"></circle> | |
<path class="opacity-75" fill="currentColor" d="M4 12a8 8 0 018-8V0C5.373 0 0 5.373 0 12h4zm2 5.291A7.962 7.962 0 014 12H0c0 3.042 1.135 5.824 3 7.938l3-2.647z"></path> | |
</svg> | |
</span> | |
<!-- link: https://play.tailwindcss.com/rZuSKLpKhb --> |
This file contains 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
#!/bin/bash | |
pandoc --pdf-engine=wkhtmltopdf \ | |
README.md -o out.pdf \ | |
-V fontsize=16pt \ | |
-V 'mainfont:JetBrains Mono' \ | |
-V 'monofont:JetBrains Mono' \ | |
-V 'linkcolor:#3b82f6' \ | |
-V 'monobackgroundcolor:#F3F4F6' \ | |
-V 'papersize:a4' \ |
This file contains 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
let g:netrw_banner = 0 | |
let g:netrw_liststyle = 3 | |
let g:netrw_browse_split = 4 | |
let g:netrw_altv = 1 | |
let g:netrw_winsize = 20 | |
let g:NetrwIsOpen=0 | |
function! ToggleNetrw() | |
if g:NetrwIsOpen | |
let i = bufnr("$") | |
while (i >= 1) |
This file contains 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
" for transparent background | |
function! AdaptColorscheme() | |
highlight clear CursorLine | |
highlight Normal ctermbg=none | |
highlight LineNr ctermbg=none | |
highlight Folded ctermbg=none | |
highlight NonText ctermbg=none | |
highlight SpecialKey ctermbg=none | |
highlight VertSplit ctermbg=none | |
highlight SignColumn ctermbg=none |
This file contains 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 web; | |
# One worker process per CPU core. | |
worker_processes 8; | |
# Also set | |
# /etc/security/limits.conf | |
# web soft nofile 65535 | |
# web hard nofile 65535 | |
# /etc/default/nginx |
This file contains 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
{ | |
"env": { | |
"browser": true, | |
"node": true, | |
"es6": true | |
}, | |
"plugins": ["react"], | |
"ecmaFeatures": { |
This file contains 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
{"lastUpload":"2020-07-11T21:12:08.346Z","extensionVersion":"v3.4.3"} |