Skip to content

Instantly share code, notes, and snippets.

View theBull's full-sized avatar

Danny Bullis theBull

View GitHub Profile
open -a Google\ Chrome --args --disable-web-security
@theBull
theBull / bashrc
Created September 27, 2016 19:22 — forked from anonymous/.bashrc
How to change cursor shape, color, and blinkrate of Linux Console
##############
# pretty prompt and font colors
##############
# alter the default colors to make them a bit prettier
echo -en "\e]P0000000" #black
echo -en "\e]P1D75F5F" #darkred
echo -en "\e]P287AF5F" #darkgreen
echo -en "\e]P3D7AF87" #brown
echo -en "\e]P48787AF" #darkblue
rm -rf node_modules && npm cache clean && npm uninstall --save angular-cli; sudo npm uninstall -g angular-cli; npm i --save @angular/cli && sudo npm i -g @angular/cli && npm i
@theBull
theBull / npm-publish.sh
Last active October 18, 2017 04:10
Bash script to publish a package to npm and push the latest to the project's configured git repository.
#!/bin/bash
# 1. copy into root npm package directory as npm-publish.sh
# 2. ensure script is executable
# $ cd path/to/npm-publish.sh
# $ chmod 755 npm-publish.sh
# 3. execute
# $ ./npm-publish.sh
# Run unit tests (if present)