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
// usage: | |
// $ node new-page.js page-name | |
const { spawn } = require("child_process"); | |
var fs = require('fs'), | |
pageName = process.argv[2], | |
JSpageName = ('-' + pageName).replace(/\-./g, function(t) { return t[1].toUpperCase(); }); | |
if (pageName === undefined) { | |
return console.log('No page name specified.\nusage: node new-page.js page-name'); |
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
// ==UserScript== | |
// @name twitch clicky | |
// @namespace twitch.bits | |
// @version 0.2 | |
// @description try to take over the world! | |
// @author You | |
// @match https://www.twitch.tv/* | |
// @grant none | |
// ==/UserScript== |
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
// ==UserScript== | |
// @name yc | |
// @namespace yc | |
// @include https://news.ycombinator.com/* | |
// @version 0.1 | |
// @grant GM_addStyle | |
// ==/UserScript== | |
GM_addStyle(" \ | |
.ind { \ |
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
// ==UserScript== | |
// @name Hide facebook sponsored stories | |
// @namespace http://tampermonkey.net/ | |
// @version 0.1alpha | |
// @description try to take over the world! | |
// @author Cosmeen | |
// @match https://www.facebook.com/* | |
// @grant none | |
// ==/UserScript== | |
(function() { |
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
/* | |
from @rem | |
https://twitter.com/rem/status/729628084115247104 | |
*/ | |
@namespace url(http://www.w3.org/1999/xhtml); | |
@-moz-document domain("twitter.com") { | |
div[data-component-term="user-recommendations"], | |
div[data-component-term="trends"], | |
.promoted-tweet, |
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
// ==UserScript== | |
// @name yc | |
// @namespace yc | |
// @include https://news.ycombinator.com/* | |
// @version 0.1 | |
// @grant GM_addStyle | |
// @author Cosmeen | |
// ==/UserScript== | |
GM_addStyle(" \ |
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
<?php | |
class compareImages | |
{ | |
private function mimeType($i) | |
{ | |
/*returns array with mime type and if its jpg or png. Returns false if it isn't jpg or png*/ | |
$mime = getimagesize($i); | |
$return = array($mime[0],$mime[1]); | |
switch ($mime['mime']) |
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
eyJzdiI6eyJjIjoiM2I1NmtkIiwiY3MiOiIxZDQ4aG0iLCJ3IjoibDlpaWdtIiwiY2wiOiJjMTowfGMyOjB8YzM6MHxjNDowfGM1OjR8YzY6N3xjNzo0fGM4OjF8Yzk6MnxjMTA6MSIsInNsIjoiczE6NHxzMjoxMnxzMzoxfHM0Ojl8czU6MHxzNjphfHM3OjV8czg6M3xzOToyfHMxMDowIiwiYm4iOiJiMToya3xiMjppfGIzOmZ8YjQ6NnxiNTo1fGI2OjMiLCJ1IjoidTAxfHUwMnx1MDN8dTA0fHUwNXx1MDZ8dTA3fHUwOHx1MDl8dTEwfHUxMXx1MTJ8dTEzfHUxNHx1MTV8dTE2fHUxN3x1MTh8dTE5fHUyMXx1MjJ8dTI2fHUyN3x1Mjh8dTI5fHUzMHx1MzF8dTMyfHUzM3x1MzR8dTM1fHUzNnx1Mzd8dTM4fHUzOXx1NDB8dTQxfHU0OCIsInMiOiJzZWxsZXJfcnBzOjNjZGx8Y2xpY2tlcl9ycHM6N2FmY3xiYW5rX3JwczoyNjduNHxjaGVhdGVkX3dpZGdldHM6MHxjaGVhdGVkX2Nhc2g6MHxoYW5kX21hZGVfd2lkZ2V0czoxMmtoNXxtYWRlX3dpZGdldHM6MWs0ZGU0OS5jfHNvbGRfd2lkZ2V0czoxMGc2MTVmLjc0aWZqfGhhbmRfc29sZF93aWRnZXRzOmVsMDQuZTllOWU5M3xzZWNvbmRzX3BsYXllZDoxODVkfGJvdWdodF91cGdyYWRlczoxZXx0b3RhbF9jYXNoOjE4YjdlbmUxLjYwajE1fHRvdGFsX3NwZW50OjFhMG5qbmE5fHN0YXJ0X3RpbWU6Y2ZmbTgyajQ1In0sImFjIjoiYTAxfGEwMnxhMDN8YTA0fGEwN3xhMDh8YTA5fGExMnxhMTN8YTE0fGExN3xhMTh8YTIyfGEyM3xhMjR8YTI5fGEzMCJ9 |