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
#!/usr/bin/env bash | |
NAME="$1" | |
GH_USER="henderea" | |
GH_REPO="webpack-template" | |
TEMP_DIR=$(mktemp -d -t webpack-template-XXX) | |
ZIP_NAME="$TEMP_DIR/webpack-template-master.zip" | |
curl -sSL -o "$ZIP_NAME" "https://github.com/$GH_USER/$GH_REPO/archive/master.zip" | |
unzip "$ZIP_NAME" -d "$TEMP_DIR" | |
mv "$TEMP_DIR/webpack-template-master" "$1" |
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
Traceback (most recent call last): | |
6: from /Users/erichenderson/.rvm/gems/ruby-2.6.3/bin/ruby_executable_hooks:10:in `<main>' | |
5: from /Users/erichenderson/.rvm/gems/ruby-2.6.3/gems/executable-hooks-1.6.0/lib/executable-hooks/hooks.rb:49:in `run' | |
4: from /Users/erichenderson/.rvm/gems/ruby-2.6.3/gems/executable-hooks-1.6.0/lib/executable-hooks/hooks.rb:49:in `each' | |
3: from /Users/erichenderson/.rvm/gems/ruby-2.6.3/gems/executable-hooks-1.6.0/lib/executable-hooks/hooks.rb:50:in `block in run' | |
2: from /Users/erichenderson/.rvm/rubies/ruby-2.6.3/lib/ruby/gems/2.6.0/gems/rubygems-bundler-1.4.5/lib/rubygems_executable_plugin.rb:4:in `block in <top (required)>' | |
1: from /Users/erichenderson/.rvm/rubies/ruby-2.6.3/lib/ruby/site_ruby/2.6.0/rubygems/core_ext/kernel_require.rb:54:in `require' | |
/Users/erichenderson/.rvm/rubies/ruby-2.6.3/lib/ruby/site_ruby/2.6.0/rubygems/core_ext/kernel_require.rb:54:in `require': cannot load such file -- rubygems-bundler/noexec (LoadError) | |
10: from /Users/erichenderson/.rvm/gems/ru |
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
0 info it worked if it ends with ok | |
1 verbose cli [ | |
1 verbose cli '/home/henderea/.nvm/versions/node/v12.0.0/bin/node', | |
1 verbose cli '/home/henderea/.nvm/versions/node/v12.0.0/bin/npm', | |
1 verbose cli 'install', | |
1 verbose cli '-g', | |
1 verbose cli '@henderea/jse' | |
1 verbose cli ] | |
2 info using npm@6.9.0 | |
3 info using node@v12.0.0 |
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
0 info it worked if it ends with ok | |
1 verbose cli [ | |
1 verbose cli '/Users/erichenderson/.nvm/versions/node/v12.0.0/bin/node', | |
1 verbose cli '/Users/erichenderson/.nvm/versions/node/v12.0.0/bin/npm', | |
1 verbose cli 'install', | |
1 verbose cli '-g', | |
1 verbose cli '@henderea/jse' | |
1 verbose cli ] | |
2 info using npm@6.9.0 | |
3 info using node@v12.0.0 |
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
#!/usr/bin/env bash | |
if [[ $EUID == "0" ]]; then | |
domain_target="system" | |
plist_dir="/Library/LaunchDaemons" | |
else | |
domain_target="gui/$EUID" | |
plist_dir="$HOME/Library/LaunchAgents" | |
fi |
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
27a5bf48dd5c5610dda624b8d3af24bb check_open_files.rb | |
764b427cde1a7fa562b7fe8427aedb51 create-webpack.sh | |
982f84ad2f7b3609802aa6cfe64ae576 local-ssl-create.sh | |
46bce664c7463d8588c786cffd5a1ffd clone_repo.rb | |
6bda431d92d5b3769ef5ee93c3d355e6 git-svn-prune.sh | |
ccadcd4e5bc0f0908d91272d9366de98 git-svn-relocate.rb | |
74016363040a932c3fcac61c7ca7efd7 my-service.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
#!/usr/bin/env ruby | |
Signal.trap('SIGINT') { | |
Process.waitall | |
puts | |
exit 1 | |
} | |
require 'readline' | |
require 'fileutils' |
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
#!/usr/bin/env bash | |
# Delete references to SVN branches that no longer exist | |
# Usage (this will not execute without asking you to confirm the list): | |
# git-svn-prune.sh | |
# Started with | |
# Set your SVN prefix | |
GIT_SVN_PREFIX="$1" |
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
#!/usr/bin/env ruby | |
Signal.trap('SIGINT') { | |
Process.waitall | |
puts | |
exit 1 | |
} | |
require 'readline' |
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
# include this in your .bashrc or .zshrc if you want to enable command output for install_scripts | |
# INSTALL_SCRIPTS_DEBUG=1 | |
function _install_scripts_debug { | |
[[ $INSTALL_SCRIPTS_DEBUG -eq 1 ]] && echo $@ | |
} | |
function install_scripts { | |
INSTALL_SCRIPTS_VERSION="20" | |
# define configuration |
NewerOlder