Skip to content

Instantly share code, notes, and snippets.

View andrewsomething's full-sized avatar

Andrew Starr-Bochicchio andrewsomething

View GitHub Profile
@andrewsomething
andrewsomething / headerHack.qml
Created March 1, 2014 18:06
An example of the problem coloring a header...
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)
@andrewsomething
andrewsomething / planet-check.py
Last active December 21, 2015 19:39
Check Planet config.ini against Launchpad team membership
#! /bin/python
import os
import ConfigParser
cachedir = os.path.expanduser("~/.launchpadlib/cache")
from launchpadlib.launchpad import Launchpad
launchpad = Launchpad.login_anonymously('planet check', 'production', cachedir)
Config = ConfigParser.ConfigParser()
@andrewsomething
andrewsomething / quickly_project_rename.py
Created September 24, 2012 20:15
Script for renaming a Quickly project
#!/bin/sh
#Rename the project
#Program goes over the files and renames them using bzr
#then it goes inside the file and changes all old names to new name
#
# Copyright (C) Canonical Inc. <Alexander Wolfson> <alex.wolfson@canonical.com>
# This program is free software: you can redistribute it and/or modify it
# under the terms of the GNU General Public License version 3, as published
# by the Free Software Foundation.
#
@andrewsomething
andrewsomething / datehist.py
Created October 9, 2011 17:50 — forked from tkf/datehist.py
Plot a histogram of mailinglist activity
#!/usr/bin/env python
"""
Plot histogram from list of dates
Usage
=====
Point to mbox file.
Ex.1: plot mailinglist activity::
/* Launchpad PPA Search
* Andrew Starr-Bochicchio <andrewsomething@ubuntu.com>
* MIT/X11 License
*/
CmdUtils.CreateCommand({
name: "lp-ppa-search",
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"},
/* Launchpad PPA Search
* Andrew Starr-Bochicchio <andrewsomething@ubuntu.com>
* MIT/X11 License
*/
CmdUtils.CreateCommand({
name: "lp-ppa-search",
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"},
/* Launchpad PPA Search
* Andrew Starr-Bochicchio <andrewsomething@ubuntu.com>
* MIT/X11 License
*/
CmdUtils.CreateCommand({
name: "lp-ppa-search",
icon: "http://www.ubuntu.com/files/favicon-ubuntu.ico",
/* homepage: "http://packages.qa.debian.org/common/index.html", */
author: { name: "Andrew Starr-Bochicchio", email: "andrewsomething@ubuntu.com"},
/* Report Ubuntu Bug
* Andrew Starr-Bochicchio <andrewsomething@ubuntu.com>
* MIT/X11 License
*/
CmdUtils.CreateCommand({
name: "ubuntu-report-bug",
icon: "http://www.ubuntu.com/files/favicon-ubuntu.ico",
/* homepage: "http://packages.qa.debian.org/common/index.html", */
author: { name: "Andrew Starr-Bochicchio", email: "andrewsomething@ubuntu.com"},
/* AptURL
* Andrew Starr-Bochicchio <andrewsomething@ubuntu.com>
* MIT/X11 License
*/
CmdUtils.CreateCommand({
name: "apturl",
icon: "http://www.ubuntu.com/files/favicon-ubuntu.ico",
/* homepage: "http://packages.qa.debian.org/common/index.html", */
author: { name: "Andrew Starr-Bochicchio", email: "andrewsomething@ubuntu.com"},
/* Report Ubuntu Bug
* Andrew Starr-Bochicchio <andrewsomething@ubuntu.com>
* MIT/X11 License
*/
CmdUtils.CreateCommand({
name: "ubuntu-report-bug",
icon: "http://www.ubuntu.com/files/favicon-ubuntu.ico",
/* homepage: "http://packages.qa.debian.org/common/index.html", */
author: { name: "Andrew Starr-Bochicchio", email: "andrewsomething@ubuntu.com"},