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
https://stackoverflow.com/questions/49390110/how-to-debug-integration-test-in-intellij |
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
https://github.com/cf-pub-tools/concourse-training-scripts |
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
# first: | |
lsbom -f -l -s -pf /var/db/receipts/org.nodejs.pkg.bom | while read f; do sudo rm /usr/local/${f}; done | |
sudo rm -rf /usr/local/lib/node /usr/local/lib/node_modules /var/db/receipts/org.nodejs.* | |
# To recap, the best way (I've found) to completely uninstall node + npm is to do the following: | |
# go to /usr/local/lib and delete any node and node_modules | |
cd /usr/local/lib | |
sudo rm -rf node* |
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
➜ ~ lsbom -f -l -s -pf /var/db/receipts/org.nodejs.node.pkg.bom | cut -d'.' -f2- | while read f; do sudo rm ${f}; done | |
➜ ~ lsbom -f -l -s -pf /var/db/receipts/org.nodejs.node.pkg.bom | cut -d'.' -f2- | while read f; do ls -al ${f}; done | |
➜ ~ lsbom -f -l -s -pf /var/db/receipts/org.nodejs.node.pkg.bom | cut -d'.' -f2- | while read f; do ls -al ${f}; done | |
ls: /usr/local/bin/node: No such file or directory | |
ls: /usr/local/include/node/common.gypi: No such file or directory | |
ls: /usr/local/include/node/config.gypi: No such file or directory | |
ls: /usr/local/include/node/libplatform/libplatform-export.h: No such file or directory | |
ls: /usr/local/include/node/libplatform/libplatform.h: No such file or directory |
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
➜ /Users/d069924 cat .oh-my-zsh/themes/robbyrussell.zsh-theme | |
PROMPT="%(?:%{$fg_bold[green]%}➜ :%{$fg_bold[red]%}➜ )" | |
# PROMPT+=' %{$fg[cyan]%}%c%{$reset_color%} $(git_prompt_info)' | |
PROMPT+=' %{$fg[cyan]%}%d%{$reset_color%} $(git_prompt_info)' | |
ZSH_THEME_GIT_PROMPT_PREFIX="%{$fg_bold[blue]%}git:(%{$fg[red]%}" | |
ZSH_THEME_GIT_PROMPT_SUFFIX="%{$reset_color%} " | |
ZSH_THEME_GIT_PROMPT_DIRTY="%{$fg[blue]%}) %{$fg[yellow]%}✗" | |
ZSH_THEME_GIT_PROMPT_CLEAN="%{$fg[blue]%})" |
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
https://stackoverflow.com/questions/21964709/how-to-set-or-change-the-default-java-jdk-version-on-os-x | |
alias j12="export JAVA_HOME=`/usr/libexec/java_home -v 12`; java -version" | |
alias j11="export JAVA_HOME=`/usr/libexec/java_home -v 11`; java -version" | |
alias j10="export JAVA_HOME=`/usr/libexec/java_home -v 10`; java -version" | |
alias j9="export JAVA_HOME=`/usr/libexec/java_home -v 9`; java -version" | |
alias j8="export JAVA_HOME=`/usr/libexec/java_home -v 1.8`; java -version" |