Skip to content

Instantly share code, notes, and snippets.

// ==UserScript==
// @name instacrap
// @namespace http://tampermonkey.net/
// @version 0.4
// @description ahh stop that bullshit
// @author w0rm49
// @match https://www.instagram.com/*
// @match http://www.instagram.com/*
// @match https://*.instagram.com/*
// @match http://*.instagram.com/*
@w0rm49
w0rm49 / working_time_counter.ino
Last active August 19, 2019 09:34
Working time counter
/**
* connect ssd1306 to i2c pins
* button (or jumper) between pin 2 and ground
*
* how to reset counter:
* 1. press and hold button
* 2. reset or enable arduino
* 3. hold button at least 2 seconds,
* 4. reboot again
*/
@w0rm49
w0rm49 / synth.cpp
Created February 6, 2017 06:54 — forked from genericpenguin/synth.cpp
Arduino Synth
/* Arduino Synth from
https://janostman.wordpress.com/2016/01/15/how-to-build-your-very-own-string-synth/
*/
#include <avr/interrupt.h>
#include <avr/io.h>
#include <avr/pgmspace.h>
#ifndef cbi
#define cbi(sfr, bit) (_SFR_BYTE(sfr) &= ~_BV(bit))
#endif
#ifndef sbi
<?php
$ytdlPath = '/whereever/your/youtube-dl'; //change this
ob_start();
$url = trim(rawurldecode($_SERVER['QUERY_STRING']));
$qStr = parse_url($url, PHP_URL_QUERY );
parse_str($qStr, $get);
if (!isset($get['v']) || !preg_match('~[a-zA-Z0-9_-]{11}~',$get['v']) ) {