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
#!/bin/bash | |
usage() | |
{ | |
cat << EOF | |
Usage: $0 [OPTIONS] STREAM_NUMBER | |
Downloads Coachella YouTube live stream number STREAM_NUMBER (required, one of 1, 2 or 3). | |
Stop the download simply with CTRL-C. | |
Any options after STREAM_NUMBER will be ignored. |
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
// i'm just savin' this for later | |
function magic(json){ | |
var a = {} | |
for(var i in json["topartists"]["artist"]){ | |
a[json["topartists"]["artist"][i]["name"]]=true; | |
} | |
var tds = document.getElementsByClassName("subjectCell"); |
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
links = document.getElementById("mw-pages").getElementsByTagName("a"); for(var i in links){try{links[i].href = "http://last.fm/music/" + links[i].title.replace(' ','+');}catch(e){}} |
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
## | |
# DO WHAT THE FUCK YOU WANT TO PUBLIC LICENSE | |
# Version 2, December 2004 | |
# | |
# Copyright (C) 2004 Sam Hocevar <[email protected]> | |
# | |
# Everyone is permitted to copy and distribute verbatim or modified | |
# copies of this license document, and changing it is allowed as long | |
# as the name is changed. | |
# |
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
abstype and andalso as case do datatype else eqtype end exception fn fun functor handle if in include infix infixr let local nonfix of op open orelse raise rec sharing sig signature struct structure then type val with withtype while | |
use | |
:: nil null length hd tl rev concat revAppend app map foldl foldr | |
size substring concat str implode explode | |
Array.maxLen Array.array Array.fromList Array.tabulate Array.length Array.sub Array.update Array.vector Array.copy Array.copyVec Array.appi Array.app Array.modifyi Array.modify Array.foldli Array.foldri Array.foldl Array.foldr Array.findi Array.find Array.exists Array.all Array.collate |
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 Duolingo Lingot Philanthropy | |
// @namespace http://github.com/arekolek | |
// @include https://www.duolingo.com/* | |
// @version 1.0 | |
// @grant none | |
// ==/UserScript== | |
function setIntervalLimited(fn, n, t) { | |
if(n <= 0) return; |
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
// DO WHAT THE FUCK YOU WANT TO PUBLIC LICENSE | |
// Version 2, December 2004 | |
// | |
//Copyright (C) 2004 Sam Hocevar <[email protected]> | |
// | |
//Everyone is permitted to copy and distribute verbatim or modified | |
//copies of this license document, and changing it is allowed as long | |
//as the name is changed. | |
// | |
// DO WHAT THE FUCK YOU WANT TO PUBLIC LICENSE |
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 Duolingo Trim tree | |
// @namespace 9a84a9d7b3fef7de9d2fd7155dcd794c | |
// @description Hides all golden skills with a button. | |
// @author Arek Olek | |
// @match https://www.duolingo.com/* | |
// @icon http://arkadiuszolek.student.tcs.uj.edu.pl/greasemonkey/duolingo.png | |
// @grant GM_getValue | |
// @grant GM_setValue | |
// @require http://ajax.googleapis.com/ajax/libs/jquery/1.9.1/jquery.min.js |
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
library(plyr) | |
file = paste(commandArgs(TRUE)[1], '.txt', sep='') | |
d = read.table(file, col.names=c('n', 'vertices', 'edges', 'edge', 'out_degree', 'adjacent_vertices', 'add_edge', 'remove_edge', 'source', 'target')) | |
d = ddply(d, ~n, colwise(mean)) | |
d[,c(3:6,8)] = d[,c(3:6,8)]/1000 |
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 No mousewheel-zoom | |
// @namespace http://github.com/arekolek | |
// @version 0.1 | |
// @author Arek Olek | |
// @match http://*/* | |
// @match https://*/* | |
// @grant none | |
// ==/UserScript== |
OlderNewer