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
| # Based on gnzhtheme | |
| setopt prompt_subst | |
| () { | |
| local PR_USER PR_USER_OP PR_PROMPT PR_HOST | |
| # Check the UID | |
| if [[ $UID -ne 0 ]]; then # normal user |
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
| { | |
| "codeLens.enable": false, | |
| "eslint.fixOnSaveTimeout": 1, | |
| "suggest.noselect": false, | |
| "coc.preferences.formatOnSaveFiletypes": ["*"], | |
| "python.venvPath": "${env:HOME}/.pyenv/versions", | |
| "python.formatting.provider": "black", | |
| "python.formatting.provider": "black", | |
| "python.formatting.blackPath": "${env:HOME}/.pyenv/shims/black", | |
| "python.formatting.blackArgs": ["-l 120"], |
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
| export ZSH="/Users/rs0230/.oh-my-zsh" | |
| ZSH_THEME='gnzh' | |
| plugins=( | |
| git | |
| dnf | |
| zsh-autosuggestions | |
| ) |
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
| local iron = require("iron.core") | |
| local view = require("iron.view") | |
| iron.setup { | |
| config = { | |
| -- Whether a repl should be discarded or not | |
| scratch_repl = true, | |
| -- Your repl definitions come here | |
| repl_definition = { | |
| sh = { |
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
| Promise.race([ | |
| fetch('/foo'), | |
| new Promise((_, reject) => | |
| setTimeout(() => reject(new Error('Timeout')), 7000) | |
| ) | |
| ]); |
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
| alias c='docker-compose' | |
| alias cb='docker-compose build' | |
| alias cup='docker-compose up' | |
| alias cr='docker-compose run --service-ports --rm' | |
| alias crl='docker-compose run --service-ports --rm local' | |
| alias crd='docker-compose run --service-ports --rm develop' | |
| alias crt='docker-compose run --rm test' | |
| alias crp='docker-compose run --rm provision' | |
| alias crci='docker-compose run --rm ci' | |
| alias crwt='docker-compose run --rm watchtest' |