Skip to content

Instantly share code, notes, and snippets.

alias gti="git"
alias g='git'
alias gs='git status -sb'
alias gl='git log'
alias ga='git add'
alias gc='git commit'
alias gca='git commit -a'
alias gco='git checkout'
alias gm='git commit --amend'
alias gb='git branch'
+angular.module( 'gizmos.filters' ).filter( 'indexToAlphabet', [
+ function() {
+ return function( index, lettercase ) {
+ var index, alphabet, len
+
+ alphabet = "ABCDEFGHIJKLMNOPQRSTUVWXYZ"
+ len = ( alphabet.length - 1 )
+
+ if ( lettercase === 'lowercase' ) {
+ alphabet = alphabet.toLowerCase()
if ( pizza ) {
goToHappyPlace()
}
if ( pizza ) {
goToHappyPlace()
}
function getQueryParam( param ) {
let loc = document.location.search
if ( document.location.search && param ) {
return document.location.search.split( param + '=' ).pop()
}
}
getQueryParam( 'key' )
@lancebecker
lancebecker / .json
Last active February 28, 2019 22:23
vscode configuration
{
"workbench.iconTheme": "material-icon-theme",
"workbench.sideBar.location": "left",
"workbench.editor.enablePreview": false,
"workbench.startupEditor": "newUntitledFile",
"workbench.colorTheme": "Snazzy Operator",
"workbench.colorCustomizations": {
"editorError.border": "#f08080"
},