Skip to content

Instantly share code, notes, and snippets.

Avatar

Andrew Starr-Bochicchio andrewsomething

View GitHub Profile
@andrewsomething
andrewsomething / headerHack.qml
Created Mar 1, 2014
An example of the problem coloring a header...
View headerHack.qml
import QtQuick 2.0
import Ubuntu.Components 0.1
import Ubuntu.Components.ListItems 0.1 as ListItem
MainView {
id: mainView
width: units.gu(40)
height: units.gu(60)
View gist:a82566e13181708f350f
$ git push deploy
++ id -un
+ [[ dokku != \d\o\k\k\u ]]
+ [[ -n git-receive-pack 'nodejs' ]]
+ export -n SSH_ORIGINAL_COMMAND
+ /usr/local/bin/dokku git-receive-pack ''\''nodejs'\'''
++ id -un
+ [[ dokku != \d\o\k\k\u ]]
+ [[ -n '' ]]
+ case "$1" in
View echoHttpRequest.js
module['exports'] = function echoHttp (hook) {
hook.debug("Debug messages are sent to the debug console");
hook.debug(hook.params);
hook.debug(hook.req.path);
hook.debug(hook.req.method);
View gist:5d21e17b9ddb4507ed22
#!/bin/sh
### BEGIN INIT INFO
# Provides: unicorn
# Required-Start: $local_fs $remote_fs
# Required-Stop: $local_fs $remote_fs
# Default-Start: 2 3 4 5
# Default-Stop: 0 1 6
# Short-Description: unicorn initscript
# Description: unicorn
### END INIT INFO
View x
/* Debian Package Search
* Andrew Starr-Bochicchio <andrewsomething@ubuntu.com>
* MIT/X11 License
*/
CmdUtils.CreateCommand({
name: "debian-packages",
icon: "http://www.debian.org/favicon.ico",
homepage: "http://packages.debian.org/",
author: { name: "Andrew Starr-Bochicchio", email: "andrewsomething@ubuntu.com"},
View x
/* Ubuntu Man Page Search
* Andrew Starr-Bochicchio <andrewsomething@ubuntu.com>
* MIT/X11 License
*/
CmdUtils.CreateCommand({
name: "ubuntu-man",
icon: "http://www.ubuntu.com/files/favicon-ubuntu.ico",
homepage: "http://manpages.ubuntu.com/",
author: { name: "Andrew Starr-Bochicchio", email: "andrewsomething@ubuntu.com"},
View x
/* Launchpad Ubuntu Package Search
* Andrew Starr-Bochicchio <andrewsomething@ubuntu.com>
* MIT/X11 License
*/
CmdUtils.CreateCommand({
name: "lp-packages",
icon: "https://launchpadlibrarian.net/16114928/gem-sm.png",
/* homepage: "http://packages.qa.debian.org/common/index.html", */
author: { name: "Andrew Starr-Bochicchio", email: "andrewsomething@ubuntu.com"},
View x
/* Launchpad Team and People Search
* Andrew Starr-Bochicchio <andrewsomething@ubuntu.com>
* MIT/X11 License
*/
CmdUtils.CreateCommand({
name: "lp-team-and-people",
icon: "https://launchpadlibrarian.net/16114928/gem-sm.png",
/* homepage: "http://packages.qa.debian.org/common/index.html", */
author: { name: "Andrew Starr-Bochicchio", email: "andrewsomething@ubuntu.com"},
View x
/* Launchpad Ubuntu Bug Search
* Andrew Starr-Bochicchio <andrewsomething@ubuntu.com>
* MIT/X11 License
*/
CmdUtils.CreateCommand({
name: "lp-ubuntu-bug",
icon: "https://launchpadlibrarian.net/16114928/gem-sm.png",
/* homepage: "http://packages.qa.debian.org/common/index.html", */
author: { name: "Andrew Starr-Bochicchio", email: "andrewsomething@ubuntu.com"},
You can’t perform that action at this time.