Navigation Menu

Skip to content

Instantly share code, notes, and snippets.

@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
@edeustace
edeustace / 0_reuse_code.js
Last active August 29, 2015 14:17
Here are some things you can do with Gists in GistBox.
// Use Gists to store code you would like to remember later on
console.log(window); // log the "window" object to the console