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
#!/usr/bin/env bash | |
# Utility script which googles for the data contained inside positional | |
# arguments or for everything stored inside the WM clipboard. | |
# | |
# If the content of either positional argumets or clipboard starts with | |
# http,ftp,ecc (which means it is already a valid url), then skip the | |
# url-stuffing bit. | |
# | |
# Depends on xclip and xdg-open |
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
Ext.ns('Ext.ux.state'); | |
/** | |
* @class Ext.ux.state.LocalStorageProvider | |
* @extends Ext.state.Provider | |
* A Provider implementation which saves and retrieves state via the HTML5 localStorage object. | |
* If the browser does not support local storage, an exception will be thrown upon instantiating | |
* this class. | |
* <br />Usage: | |
<pre><code> |
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
# Upstart script for a play application that binds to an unprivileged user. | |
# put this into a file like /etc/init/playframework | |
# you can then start/stop it using either initctl or start/stop/restart | |
# e.g. | |
# start playframework | |
# http://dominikdorn.com | |
description "Description of your app" | |
author "Dominik Dorn <[email protected]>" | |
version "1.0" |
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
# My new git commit shortcut, thanks to http://whatthecommit.com/ :-) | |
alias commit='git commit -m "$(curl -s http://whatthecommit.com/ |grep '<p>' |cut -c 4-)"' |
NewerOlder