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 \
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
#define WIN32_LEAN_AND_MEAN | |
#include <winsock2.h> | |
#include <windows.h> | |
#define SECURITY_WIN32 | |
#include <security.h> | |
#include <schannel.h> | |
#include <shlwapi.h> | |
#include <assert.h> | |
#include <stdio.h> |
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
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); |
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
/** | |
* 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 | |
* |
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
# 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). |
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:
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
/* | |
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 |
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
#include <IRremote.h> | |
/* | |
Send infrared commands from the Arduino to the iRobot Roomba | |
by probono | |
2013-03-17 Initial release | |