This file contains 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== | |
// @match http://ankiweb.net/* | |
// @match https://ankiweb.net/* | |
// ==/UserScript== | |
function addJQuery(callback) { | |
var script = document.createElement("script"); | |
script.setAttribute("src", "https://ajax.googleapis.com/ajax/libs/jquery/2.1.1/jquery.min.js"); | |
script.addEventListener('load', function() { | |
var script = document.createElement("script"); |
This file contains 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 StackOverflow Code Block Copy Link | |
// @description Shows a copy icon in top right of stackexchange code blocks | |
// @version 0.1 | |
// @author RossRogers | |
// @include http://stackoverflow.com/* | |
// @grant GM_getValue | |
// @grant GM_setValue | |
// @grant GM_xmlhttpRequest | |
// @grant GM_setClipboard |
This file contains 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 django.core.management.base import BaseCommand, CommandError | |
from django.conf import settings | |
import rest_framework | |
from collections import namedtuple | |
import re,sys | |
INDENT = ' '*2 | |
# TODO(rrogers) 2015.06.01 - allow canonical, global nested-objects and | |
# automatically swap them in? | |
# |
This file contains 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 django.core.management.base import BaseCommand, CommandError | |
from django.conf import settings | |
import rest_framework | |
from collections import namedtuple | |
import re,sys | |
INDENT = ' '*2 | |
# TODO(rrogers) 2015.06.01 - allow canonical, global nested-objects and | |
# automatically swap them in? | |
# |