Skip to content

Instantly share code, notes, and snippets.

@masterchop
masterchop / googleSERPClickTrackingDisabler.user.js
Created November 1, 2020 19:00 — forked from erikvold/googleSERPClickTrackingDisabler.user.js
This userscript disables Google's click tracking for search results.
// ==UserScript==
// @name Google SERP Click Tracking Disabler
// @namespace googleSERPClickTrackingDisabler
// @include http*://*.google.tld/search?*
// @datecreated 2010-01-29
// @lastupdated 2010-01-29
// @version 0.1
// @author Erik Vergobbi Vold
// @license GPL version 3 or any later version; http://www.gnu.org/copyleft/gpl.html
// @description This userscript disables Google's click tracking for search results.
@masterchop
masterchop / remove-ads.js
Created September 13, 2020 21:21 — forked from hungdoansy/remove-ads.js
User script used in TamperMonkey to remove ads in Facebooks' news feed
// ==UserScript==
// @name Hide sponsored items
// @namespace whatisthis
// @version 0.1
// @description try to sanitize Facebook
// @author Sy Hung Doan
// @match https://www.facebook.com/*
// @match https://facebook.com/*
// @grant none
// ==/UserScript==
@masterchop
masterchop / Fisheye.shader
Created July 10, 2020 05:42 — forked from ogoshen/Fisheye.shader
RealSense T265 Fisheye Undistort Unity
Shader "Custom/Fisheye" {
Properties {
_MainTex ("MainTex", 2D) = "white" {}
// _UVMap ("UVMap", 2D) = "black" {}
_Gamma ("Gamma", float) = 0.45
}
SubShader {
Tags { "QUEUE"="Transparent" "IGNOREPROJECTOR"="true" "RenderType"="Transparent" "PreviewType"="Plane" }
Pass {
@masterchop
masterchop / ffserver.conf
Created April 19, 2019 22:47 — forked from peterhellberg/ffserver.conf
MJPEG stream from Webcam using FFServer and FFMpeg
HTTPPort 8090
HTTPBindAddress 0.0.0.0
MaxHTTPConnections 200
MaxClients 100
MaxBandWidth 500000
CustomLog -
<Feed camera.ffm>
File /tmp/camera.ffm
FileMaxSize 200M
@masterchop
masterchop / python_3_email_with_attachment.py
Created June 15, 2018 02:33 — forked from rdempsey/python_3_email_with_attachment.py
Use Python 3 to send an email with an attachment using Gmail
#!/usr/bin/env python
# encoding: utf-8
"""
python_3_email_with_attachment.py
Created by Robert Dempsey on 12/6/14.
Copyright (c) 2014 Robert Dempsey. Use at your own peril.
This script works with Python 3.x
NOTE: replace values in ALL CAPS with your own values