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
#!/bin/bash | |
CURRENT_BRANCH=$(git rev-parse --abbrev-ref HEAD); | |
if [[ "$CURRENT_BRANCH" = "v0.25" ]]; then | |
echo -e "\033]50;SetProfile=v0.25\a" | |
else | |
echo -e "\033]50;SetProfile=Default\a" | |
fi |
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
# Start your node.js application with profiler | |
node --prof app.js | |
# When you stop the application process, you will see the following files: | |
# If you run your application in cluster mode, you will have multiple log files | |
isolate-nnnnnnnnnnn-v8.log | |
# Process the log file(s) to make them human-readable | |
node --prof-process isolate-nnnnnnnnnn-v8.log > prof |
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
" enable syntax highlighting | |
syntax enable | |
" spell checks | |
set spell spelllang=en_us | |
hi clear SpellRare | |
hi SpellRare cterm=underline | |
hi clear SpellLocal | |
hi SpellLocal cterm=underline | |
hi clear SpellCap |
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
#!/bin/bash | |
################################### | |
# Usage: sudo ./installer.sh [os] # | |
################################### | |
OS=$1; | |
UBUNTU="ubuntu"; | |
############# |