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
System.trace = true; | |
window.showModuleRelationships = function () { | |
var modules = Object.keys(System.loads) | |
.map(function (moduleName) { | |
return System.loads[moduleName]; | |
}); | |
function displayName(module) { | |
return module | |
.replace(System.baseURL, '') |
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
# standard aliases | |
alias www="cd ~/www" | |
alias gist="cd ~/www/gist" | |
# npm-related aliases | |
alias npmlist="npm list -g --depth=0" | |
# git-related aliases | |
alias recent='for k in `git branch | perl -pe s/^..//`; do echo -e `git show --pretty=format:"%Cgreen%ci %Cblue%cr%Creset" $k -- | head -n 1`\\t$k; done | sort -r | head' | |
alias listr="git for-each-ref refs/remotes/ --format='%(authorname) %(refname)' --sort=authorname" |
- Make changes
- Commit those changes
- Make sure Travis turns green
- Bump version in
package.json
conventionalChangelog
- Commit
package.json
andCHANGELOG.md
files - Tag
- Push
The reason why commit and tag should be run after conventionalChangelog
is that the CHANGELOG should be included in the new release.
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
# Customize BASH PS1 prompt to show current GIT repository and branch. | |
# by Mike Stewart - http://MediaDoneRight.com | |
# SETUP CONSTANTS | |
# Bunch-o-predefined colors. Makes reading code easier than escape sequences. | |
# I don't remember where I found this. o_O | |
__git_ps1 () | |
{ | |
local b="$(git symbolic-ref HEAD 2>/dev/null)"; |
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
JAVA_HOME=/usr/libexec/java_home | |
SCALA_HOME=/usr/local/opt/scala/idea | |
NPM_PACKAGES=/Users/[username]/.npm-packages | |
NODE_PATH="$NPM_PACKAGES/lib/node_modules:$NODE_PATH" | |
PATH="$NPM_PACKAGES/bin:$PATH:$SCALA_HOME:$JAVA_HOME" |
Read these notes before proceeding
In order to downgrade to the previous major version (e.g. iOS 10 to iOS 9), important and regular action must be taken. For the downgrade to work, you must be proactive and prepare for a problem. Namely:
- Archiving backups
- Restoring the
.ipsw
file
Without regular attention to the two steps above, it may not be possible to truly downgrade the iOS version.
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
# This is a short collection of tools that are useful for managing your | |
# known_hosts file. In this case, I'm using the '-f' flag to specify the | |
# global known_hosts file because I'll be adding many deploy users on this | |
# system. Simply omit the -f flag to operate on ~/.ssh/known_hosts | |
# Add entry for host | |
# ssh-keyscan -H github.com > /etc/ssh/ssh_known_hosts | |
ssh-keyscan -H github.com > ~/.ssh/known_hosts | |
# Scan known hosts |
/**
* Return url split into its parts
* If `key` is passed, return that part of the url
* If `key` is passed but not found, return all of the parts
*
* Allowed keys: "url", "scheme", "host", "port", "path", "query", "hash"
*
* @param {string} url - Url to parse
* @param {string} key - "url", "scheme", "host", "port", "path", "query", "hash"
OlderNewer