If you encounter the following:
GitHub rate limit reached. To increase the limit use GitHub authentication.
Run jspm endpoint config github to set this up.
Sources :
| #!/bin/bash | |
| # A script to add or remove local domains from the /etc/hosts file and | |
| # optionally manage locally-trusted SSL certificates using mkcert. | |
| # --- Configuration --- | |
| HOSTS_FILE="/etc/hosts" | |
| IP_ADDRESS="127.0.0.1" | |
| # --- Help Function --- |
If you encounter the following:
GitHub rate limit reached. To increase the limit use GitHub authentication.
Run jspm endpoint config github to set this up.
Sources :
| { | |
| "name": "my-app", | |
| "version": "1.0.0", | |
| "description": "My test app", | |
| "main": "src/js/index.js", | |
| "scripts": { | |
| "jshint:dist": "jshint src/js/*.js", | |
| "jshint": "npm run jshint:dist", | |
| "jscs": "jscs src/*.js", | |
| "browserify": "browserify -s Validating -o ./dist/js/build.js ./lib/index.js", |
| import com.gitblit.GitBlit | |
| import com.gitblit.utils.JGitUtils | |
| import org.eclipse.jgit.lib.Repository | |
| import org.slf4j.Logger | |
| @Grab(group='org.codehaus.groovy.modules.http-builder', module='http-builder', version='0.7.2' ) | |
| import groovyx.net.http.RESTClient | |
| import groovyx.net.http.HttpResponseException | |
| import groovyx.net.http.ContentType |
| #!/bin/bash | |
| if [ "$1" == "-h" ] || [ "$1" == "--help" ] || [ "$1" == "" ]; then | |
| echo "Usage: $(basename $0) n command" | |
| echo "Execute command n times or until it succeeds (exit code 0)." | |
| exit $([ $1 ] || echo 1) | |
| fi | |
| control_c() { | |
| echo "$(tput setaf 1)Killing process per user request.$(tput sgr0)" |