This file contains 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
// ==UserScript== | |
// @name Remove favicons from and restore URLs to google search | |
// @version 2 | |
// @grant none | |
// @match https://www.google.com/search* | |
// ==/UserScript== | |
// Hide favicons and nav | |
['TbwUpd', 'B6fmyf'].map(function(c){Array.from(document.getElementsByClassName(c)).map(function(e){e.style.display='none';});}); |
This file contains 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
// ==UserScript== | |
// @name Clean Quora | |
// @namespace http://www.thescrapyard.org/ | |
// @version 0.2 | |
// @description Remove blog posts from Quora feed | |
// @author You | |
// @match https://www.quora.com/ | |
// @grant none | |
// ==/UserScript== |
This file contains 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
// ==UserScript== | |
// @name Fix Google Finance | |
// @namespace http://www.thescrapyard.org | |
// @version 0.1 | |
// @description Clean up the new Google finance page | |
// @author Jan-willem De Bleser | |
// @match https://www.google.com/search* | |
// @grant none | |
// ==/UserScript== |
This file contains 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 <Adafruit_NeoPixel.h> | |
#include <TinyWireM.h> | |
#include <USI_TWI_Master.h> | |
#define LEDPIN 3 | |
#define LEDCOUNT 12 | |
#define DEV_ADDR 0x4C // MMA7660FC 7-bit address | |
/* ATtiny85 | |
* ATtiny Pin 1 = (RESET) N/U ATtiny Pin 8 = VCC (2.7-5.5V) |
This file contains 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
import math | |
import numpy | |
import sys, os | |
from lxml import etree | |
Re = 6371000 # Earth radius in meters | |
# Extract the latitute and longitude as a tuple in radians from a <trkpt> element | |
def extract(trkpt) : |
This file contains 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
#!/usr/bin/perl -w | |
# copyright 2005-2008 Tomasz Pala <gotar@pld-linux.org> | |
# Contributions by Jan-willem De Bleser, 2013 | |
# license: GPL | |
# usage: | |
# watch -d -n1 'tc -s c ls dev imq1 | tccs -f 10 2>/dev/null' | |
# tccs.rc file format: |