Skip to content

Instantly share code, notes, and snippets.

sudo add-apt-repository ppa:ubuntu-toolchain-r/test
sudo apt-get update
sudo apt-get install ubuntu-desktop build-essential git automake checkinstall gcc-6 g++-6 \
    intltool libtool \
    alsa-base alsa-utils alsa-tools libasound2 libasound2-plugins \
    libx11-dev libx11-xcb-dev check libsndfile1-dev libtdb-dev libgdbm-dev \
    libgtk-3-dev libgconf2-dev \
    libjack-dev jack libasyncns-dev libasyncns0 libwrap0-dev libwrap0 libsbc-dev libsbc1 \
    libavahi-common-dev libavahi-client3 libdbus-1-dev libssl-dev \
var somethingIStillWantToWatch = "PhysicalGraph";
var somethingElseIStillWantToWatch = "Petezah";
var li = document.getElementsByTagName("li");
for(var i=0; i<li.length; ++i){
var l = li[i];
var la = l.getElementsByTagName("a");
var lbtn = l.getElementsByTagName("button");
if (la && la[0] && la[0].href && la[0].href.indexOf(somethingIStillWantToWatch) < 0 && la[0].href.indexOf(somethingElseIStillWantToWatch) < 0){
if (lbtn && lbtn[0] && lbtn[0].textContent.indexOf("Unwatch") >= 0){
console.log("Unwatching " + la[0].href);
/**
* CREX-4388 uninstallText
*
* Copyright 2016 Steve Vlaminck
*
* Licensed under the Apache License, Version 2.0 (the "License"); you may not use this file except
* in compliance with the License. You may obtain a copy of the License at:
*
* http://www.apache.org/licenses/LICENSE-2.0
*
@Petezah
Petezah / Arduino Makefile
Last active August 12, 2016 15:11
This makefile allows you to build sketches from the command line without the Arduino environment (or Java). Copied from http://playground.arduino.cc/uploads/Learning/Makefile
# Arduino makefile
#
# This makefile allows you to build sketches from the command line
# without the Arduino environment (or Java).
#
# The Arduino environment does preliminary processing on a sketch before
# compiling it. If you're using this makefile instead, you'll need to do
# a few things differently:
#
# - Give your program's file a .cpp extension (e.g. foo.cpp).

Keybase proof

I hereby claim:

  • I am petezah on github.
  • I am petezah (https://keybase.io/petezah) on keybase.
  • I have a public key whose fingerprint is 9CA7 AA5D 1F32 F1CB 9A3C A465 738F EE96 E00F D7BD

To claim this, I am signing this object:

@Petezah
Petezah / virtualwall_irremote.pde
Created May 9, 2016 02:20 — forked from mschmitt/virtualwall_irremote.pde
A trivial Arduino sketch to mimic iRobot Virtual Wall for Roomba
/*
A trivial Arduino sketch to mimic iRobot Virtual Wall for Roomba
----------------------------------------------------------------
Based on information found at:
http://sites.google.com/site/irobotcreate2/createanirbeacon
Uses "A Multi-Protocol Infrared Remote Library for the Arduino":
http://www.arcfn.com/2009/08/multi-protocol-infrared-remote-library.html
@Petezah
Petezah / Send infrared commands from the Arduino to the iRobot Roomba Send infrared commands from the Arduino to the iRobot Roomba. Use a transistor to drive the IR LED from pin D3 for maximal range.
#include <IRremote.h>
/*
Send infrared commands from the Arduino to the iRobot Roomba
by probono
2013-03-17 Initial release