Skip to content

Instantly share code, notes, and snippets.

View AubreyHewes's full-sized avatar
💭
I may be slow to respond.

Aubrey AubreyHewes

💭
I may be slow to respond.
View GitHub Profile
@AubreyHewes
AubreyHewes / Install Budgie Desktop Ubuntu.md
Created May 11, 2017 12:47
Install Budgie Desktop on Ubuntu

Budgie on Ubuntu

Source: http://tipsonubuntu.com/2016/11/09/install-budgie-desktop-ubuntu-16-04-16-10/

Ubuntu Budgie now is an official Ubuntu flavor. For those who want to try this Gnome 3 based desktop environment, here is how to install Budgie Desktop in Ubuntu 16.04, Ubuntu 16.10. Also a complete uninstall guide is available. Budgie Desktop is a modern desktop features heavy integration with the GNOME stack. It’s the default desktop environment of Ubuntu Budgie (formerly known as Budgie Remix), which now is an official Ubuntu flavor.

Install Budgie Desktop in Ubuntu:

Budgie Remix Team has an official PPA repository. So far Ubuntu 16.04, Ubuntu 16.10, and their derivatives are supported.

@AubreyHewes
AubreyHewes / werckerNotifyDeploymentViaTrello.js
Created December 21, 2016 23:22
Wercker NotifyDeployment to Trello Card
// --------------------------------------------------------
//
// Notify a Trello card on a new deployment
//
// NOTE: This is a Wercker related CI script
// NOTE: This depends on the Wercker CI environment!
//
// Required ENV:
// TRELLO_API_KEY, TRELLO_API_TOKEN, TRELLO_CARD_ID
// Wercker ENV (supplied by Wercker):
@AubreyHewes
AubreyHewes / npm-shrinkwrap.json
Created June 30, 2016 09:41
sprity lwip dependency override for node v6
{
"dependencies": {
"sprity": {
"version": "1.0.8",
"dependencies": {
"sprity-lwip": {
"version": "1.0.3",
"dependencies": {
"lwip": {
"version": "0.0.9"
@AubreyHewes
AubreyHewes / nodegit-050-push-to-remote-failure-poc.js
Created October 7, 2015 20:44
nodegit 0.5.0 push to remote failure poc
#!/usr/bin/env /usr/bin/node
/**
* NOTE: Run in a project root that already has a remote configured
*
* # v0.5.0 (this is the npm default version)
*
* `npm install nodegit@^v0.5.0`
*
* NOTE: DOES_NOT fetch from S3 (see also https://github.com/nodegit/nodegit/issues/736)
<link rel="import" href="../chart-js/chart-js.html">
<polymer-element name="my-element">
<template>
<style>
:host {
position: absolute;
width: 100%;
height: 100%;
<link rel="import" href="../chart-js/chart-js.html">
<polymer-element name="my-element">
<template>
<style>
:host {
position: absolute;
width: 100%;
height: 100%;
@AubreyHewes
AubreyHewes / designer.html
Last active February 16, 2018 02:56
designer
<link rel="import" href="../core-icon-button/core-icon-button.html">
<link rel="import" href="../core-toolbar/core-toolbar.html">
<link rel="import" href="../core-icons/core-icons.html">
<link rel="import" href="../paper-icon-button/paper-icon-button.html">
<link rel="import" href="../paper-tabs/paper-tabs.html">
<link rel="import" href="../paper-tabs/paper-tab.html">
<polymer-element name="my-element">
<template>
@AubreyHewes
AubreyHewes / topbloemen-imporder.php
Last active January 24, 2017 09:27
DEPRECATED topbloemen import order interface
<?php
// DEPRECATED: interface no longer exists: use https://webservice.topbloemen.nl/soap/order/?wsdl
//
// redirect to new location at topbloemen using the given parameters to import a new topbloemen order
header('Location: http://bloemist.topbloemen-ws.nl/imporder.php?' . http_build_query([
'usr' => 'X', // username
'psw' => 'X', // password
'prdnam' => 'X', // some name
'prcinc' => 'X', // price inc
'prcexc' => 'X', // price ex
@AubreyHewes
AubreyHewes / WP_Redis.php
Last active August 29, 2015 14:14
Wordpress Redis plugin (dokku/dokku-alt redis plugin spec compatible)
<?php
/*
* Plugin Name: WP_Redis
* Description: Exposes Redis to Wordpress as WP_Redis class. Requires ENV variable REDIS_URL (i.e. redis://localhost:port; dokku / dokku-alt compatible )
* Author: Aubrey Hewes<aubrey@hewes.org.uk>
* Version: 1.0
* License: MIT
*/
/**
@AubreyHewes
AubreyHewes / Dockerfile
Created January 21, 2015 23:42
BitchX Dockerfile (Docker, BitchX, Dockerised BitchX)
FROM ubuntu:14.10
ENV DEBIAN_FRONTEND noninteractive
RUN apt-get update && \
apt-get upgrade -y --no-install-recommends && \
apt-get install -y --no-install-recommends \
build-essential \
libssl-dev \
ncurses-dev \