git grep "\.t-" -- assets/src/stylesheets
git grep ".u-" -- assets/src/stylesheets
git grep "__" -- assets/src/stylesheets
| const http = require('http'); | |
| const https = require('https'); | |
| const swIgnored = ["/css/", "/fonts/", "/images/", "/js/", "/scss/", ".bmp", ".css", ".csv", ".doc", ".docx", ".eot", ".gif", ".ico", ".ief", ".jpe", ".jpeg", ".jpg", ".js", ".json", ".less", ".map", ".m1v", ".mov", ".mp2", ".mp3", ".mp4", ".mpa", ".mpe", ".mpeg", ".mpg", ".otf", ".ott", ".ogv", ".pbm", ".pdf", ".pgm", ".png", ".ppm", ".pnm", ".ppt", ".pps", ".ps", ".qt", ".ras", ".rdf", ".rgb", ".rss", ".svg", ".swf", ".tiff", ".tif", ".tsv", ".ttf", ".txt", ".vcf", ".wav", ".webm", ".woff", ".woff2", ".xbm", ".xlm", ".xls", ".xml", ".xpdl", ".xpm", ".xwd"]; // in lower case | |
| const swStatusHeader = "x-sw-status"; | |
| const swFallbackHeader = "x-sw-fallback"; | |
| const swClientIpHeader = "x-sw-client-ip"; | |
| // Read env vars |
| with `react-native`: | |
| npm set progress=false && rm -rf ~/.npm && rm -rf node_modules && npm cache clean && time npm install | |
| npm install 83.72s user 26.03s system 100% cpu 1:49.32 total | |
| npm set progress=true && rm -rf ~/.npm && rm -rf node_modules && npm cache clean && time npm install | |
| npm install 199.30s user 27.32s system 91% cpu 4:08.29 total | |
| -- |
| ########## CONFIGURATION ################ | |
| export HISTFILESIZE=4096 # Number of line to save | |
| export HISTSIZE=1024 # Number of command to remember | |
| export HISTCONTROL="ignoreboth" # dont save already entered commands, and command starting with a space (same as ignoredups:ignorespace) | |
| ### Editor | |
| export EDITOR="vim" | |
| export VISUAL=$EDITOR # screen oriented editor (as opposed to ed) | |
| export FCEDIT=$EDITOR # edit command with vim |
| "\e[A": history-search-backward | |
| "\e[B": history-search-forward | |
| set show-all-if-ambiguous on | |
| set completion-ignore-case on |
| # enable bash completion in interactive shells | |
| if ! shopt -oq posix; then | |
| if [ -f /usr/share/bash-completion/bash_completion ]; then | |
| . /usr/share/bash-completion/bash_completion | |
| elif [ -f /etc/bash_completion ]; then | |
| . /etc/bash_completion | |
| fi | |
| fi | |
| # if the command-not-found package is installed, use it |