Skip to content

Instantly share code, notes, and snippets.

rissole

  • Australia
Block or report user

Report or block rissole

Hide content and notifications from this user.

Learn more about blocking users

Contact Support about this user’s behavior.

Learn more about reporting abuse

Report abuse
View GitHub Profile
View battlenet sum spend
$('#order-history td:nth-child(7):contains(AUD)').map((i,e) => Number(e.getAttribute('data-raw'))).toArray().reduce((next, total) => total + next, 0)
View vip_to_mp3.py
import xml.etree.ElementTree as ET
import urllib.request, urllib.parse, urllib.error
import json
import re
import os, subprocess, shutil
downloaded_album_art = {}
M4A_FOLDER = 'm4a/'
IMG_FOLDER = 'img/'
MP3_FOLDER = 'mp3/'
@rissole
rissole / text
Last active Nov 9, 2015
ultra variety memes
View text
(420) (yeah) (chucknorris) (donotwant) (wololo) (troll) (notbad) (nothingtodohere) (awesome) (iseewhatyoudidthere) (badass) (badpokerface) (badtime) (feelsbadman) (feelwithit) (facepalm) (sonic)
(haha) (notawesome) (fwp) Sorry, I just dropped my Ultra Variety Pack™ of Memes (fuckyeah) (excellent) (gangnamstyle)
(awyeah) (cereal) (rainbowdoge) (cerealspit) (rainbowdrool) (1up) (emg) (success) (pbj) (phrasing) (grumpycat) (scumbag) (aliens) (ohcrap) (ohgodwhy) (giggity) (sap)
@rissole
rissole / gist:d4493908f1b70e1ac065
Created Mar 5, 2015
they call them hackathons for a reason
View gist:d4493908f1b70e1ac065
$('div.feed-item').click(function() {
var url = $(this).attr('data-url');
var $veil = $('<div style="width: 100%; height: 100%; position: absolute; top: 0; left: 0; z-index: 99; background-color: rgba(0,0,0,0.5);">');
var $frame = $('<iframe style="position: absolute; background-color: #fff; box-shadow: 0 0 3em #333; z-index: 100;">');
$frame.attr('src', url);
var $body = $('body');
var w = $body.width() * 0.8;
var h = $body.height() * 0.8;
$frame.css('width', w);
$frame.css('height', h);
@rissole
rissole / tinytext
Last active Aug 29, 2015
Make tiny text gags. Just run in console then use tinytext('string') to make tiny. Only input lowercase letters a-z or space. q doesn't work either.
View tinytext
small = 'ᵃ ᵇ ᶜ ᵈ ᵉ ᶠ ᵍ ʰ ⁱ ʲ ᵏ ˡ ᵐ ⁿ ᵒ ᵖ q ʳ ˢ ᵗ ᵘ ᵛ ʷ ˣ ʸ ᶻ'.split(' '); tinytext = function(s) { return s.split('').map(function(c) { return c == ' ' ? ' ' : small[c.charCodeAt(0)-97] }).join('') }
@rissole
rissole / sellomatic_main
Created Nov 22, 2014
SellOMatic Lua file cleaned up & fixed
View sellomatic_main
SellOMatic = LibStub("AceAddon-3.0"):NewAddon("SellOMatic", "AceEvent-3.0", "AceConsole-3.0");
local L = LibStub("AceLocale-3.0"):GetLocale("SellOMatic");
-- Addon variables
local SOMNone, merchant;
function SellOMatic:OnInitialize()
SellOMatic:Create_SOMNone();
end;
@rissole
rissole / twitch_emotes_alt_text.user.js
Created Sep 8, 2014
Puts alt text on twitch emote images. Credit to http://twitchemotes.com/
View twitch_emotes_alt_text.user.js
This file has been truncated, but you can view the full file.
// ==UserScript==
// @name Twitch Emotes Alt Text
// @namespace rissole
// @description Puts alt text on twitch emote images. Credit to http://twitchemotes.com/
// @include http://www.twitch.tv/*
// @version 1
// @grant none
// ==/UserScript==
@rissole
rissole / fbg.user.js
Created Sep 8, 2014
[Facebook Gags Collection]: Master script
View fbg.user.js
// ==UserScript==
// @name Facebook Gags Master
// @namespace gags
// @description Gag factory. But seriously, OnMessageReceived hook for Facebook.
// @include https://www.facebook.com/
// @include https://www.facebook.com/?*
// @version 1
// @grant none
// ==/UserScript==
@rissole
rissole / fbg_ziiip.user.js
Created Sep 8, 2014
[Facebook Gags Collection]: ziiip -> Rust zip sound
View fbg_ziiip.user.js
// ==UserScript==
// @name Facebook Gags: ziiiip
// @namespace gags
// @description ziiip -> Rust zip sound
// @include https://www.facebook.com/
// @include https://www.facebook.com/?*
// @require http://pastebin.com/raw.php?i=2GyZd2Dy
// @version 1
// @grant none
// ==/UserScript==
@rissole
rissole / fbg_drop.user.js
Created Sep 8, 2014
[Facebook Gags Collection]: [drop] -> wub wub wub wub
View fbg_drop.user.js
// ==UserScript==
// @name Facebook Gags: [drop]
// @namespace gags
// @description [drop] -> wub wub wub wub
// @include https://www.facebook.com/
// @include https://www.facebook.com/?*
// @require http://pastebin.com/raw.php?i=2GyZd2Dy
// @version 1
// @grant none
// ==/UserScript==
You can’t perform that action at this time.