View factorial.js
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 color_palettes = [ | |
["#D63826", "#FFCC00", "#79C3A7", "#00bbff", "#5500FF"], | |
["#D63826", "#0D809C", "#F5C03E", "#152A3B", "#79C3A7"], | |
["#0F4155", "#5399A1", "#8CA96B", "#CB5548", "#E7E6F5"], | |
["#E8614F", "#EBEBD6", "#F3F2DB", "#668065", "#4B3331"], | |
["#DBE5EC", "#336B87", "#2A3132", "#E94D35", "#EFAC55"], | |
["#cdd7db", "#5aacad", "#0e7e80", "#00bbff", "#EFAC55"], | |
]; | |
let init; |
View .zshrc
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
# VCS | |
autoload -Uz vcs_info | |
precmd_vcs_info() { vcs_info } | |
precmd_functions+=( precmd_vcs_info ) | |
setopt prompt_subst | |
zstyle ':vcs_info:git:*' formats '%F{243}(%b)%f' # '%F{51}(%b) %r%f' | |
zstyle ':vcs_info:*' enable git | |
# RPROMPT=\$vcs_info_msg_0_ | |
PROMPT='%(?.%F{green}√.%F{red}?%?)%f %F{184}%h%f %F{208}[%*]%f %F{51}%2~%f ${vcs_info_msg_0_} %F{160}δ%f ' |
View oogabooga.sh
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 | |
white="\033[0;37m" | |
red="\033[0;31m" | |
yellow="\033[0;33m" | |
green="\033[0;32m" | |
blue="\033[0;34m" | |
newTermOpened=0 |
View .bash_profile
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
# aliases | |
alias vi='vi "+set number"' | |
alias egrep='egrep --color=auto' | |
alias grep='grep --color=auto' | |
alias ls='ls -G' | |
alias kc='kubectl' | |
alias ahab="echo 'docker stop \$(docker ps -aq) && docker rm \$(docker ps -aq)' && docker stop \$(docker ps -aq) && docker rm \$(docker ps -aq)" | |
alias rm='rm -i' | |
alias history="history | grep" | |
alias python='/usr/local/bin/python3.7' |