Skip to content

Instantly share code, notes, and snippets.

abbr --add --global gco git checkout
abbr --add --global gbmr git branch --sort committerdate
abbr --add --global gd git diff
abbr --add --global gdc git diff --cached
abbr --add --global ga git add
abbr --add --global gca git commit -a -m
abbr --add --global gc git commit
abbr --add --global gcm git commit -m
abbr --add --global gbd git branch -D
abbr --add --global gst git status -sb --ignore-submodules
@edeustace
edeustace / update-monitor-position
Created September 25, 2018 09:39
update-monitor-position for monitors.xml version 2
#!/bin/bash
# -------------------------------------------------
# Get monitors configuration from monitor.xml and apply it for current user session.
# In case of multiple definitions in monitor.xml only first one is used.
#
# See http://bernaerts.dyndns.org/linux/74-ubuntu/309-ubuntu-dual-display-monitor-position-lost
# for instructions
#
# Revision history :
# 19/04/2014, V1.0 - Creation by N. Bernaerts
# migrating from https://github.com/robbyrussell/oh-my-zsh/blob/master/plugins/git/git.plugin.zsh
# Aliases
alias g='git'
#compdef g=git
alias gst='git status'
#compdef _git gst=git-status
alias gd='git diff'
#compdef _git gd=git-diff
alias gdc='git diff --cached'
@edeustace
edeustace / demo-player-w-config-panel.html
Last active March 20, 2018 17:52
demo-player using assets generated using `pie pack`
<!doctype html>
<html>
<head>
<title>Demo</title>
<style>
body {
font-family: 'Roboto', sans-serif;
}


S3Paths.draftFile(d.id, path)
https://gist.github.com/ae16c7b229c1e5a60a23
https://gist.github.com/ae16c7b229c1e5a60a23
./bin/scalariform -s=2.10.2 modules/core/services/src/main/scala/org/corespring/services/bootstrap/Services.scala modules/core/services/src/main/scala/org/corespring/services/item/ItemAssetService.scala modules/core/services/src/main/scala/org/corespring/services/item/ItemService.scala modules/lib/v2-player-integration/src/main/scala/org/corespring/v2/player/hooks/ItemDraftSupportingMaterialHooks.scala