Or
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
# -*- coding: utf-8 -*- | |
from PyQt4.QtCore import * | |
from PyQt4.QtGui import * | |
import codecs | |
import os | |
import sys | |
from aqt import editor, addons, mw |
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
do fill = (item = 'The most creative minds in Art') -> | |
$('.tagline').append "#{item}" | |
fill |
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
var rclick = function() { | |
var myNodes = document.querySelectorAll(".rclick"); | |
for (var i=0; i<myNodes.length; i++) { | |
myNodes[i].addEventListener("contextmenu", function(e) { | |
e.preventDefault(); | |
if (e.target.tagName === 'IMG') { | |
if (document.querySelector('.preview')== null) { | |
var myElement = document.createElement('div'); | |
myElement.className = 'preview'; |
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
var pixgrid = function() { | |
function centerImage(theImage) { | |
var myDifX = (window.innerWidth - theImage.width) / 2, myDifY = (window.innerHeight - theImage.height) / 2; | |
return theImage.style.top = myDifY + "px", theImage.style.left = myDifX + "px", | |
theImage; | |
} | |
var myNodes = document.querySelectorAll(".pixgrid"); | |
for (var i=0; i<myNodes.length; i++) { | |
myNodes[i].addEventListener("click", function(e) { | |
if ("IMG" === e.target.tagName) { |
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
{ "speakers" : [ | |
{ | |
"name":"Mr Bellingham", | |
"shortname":"Barot_Bellingham", | |
"reknown":"Royal Academy of Painting and Sculpture", | |
"bio":"Barot has just finished his final year at The Royal Academy of Painting and Sculpture, where he excelled in glass etching paintings and portraiture. Hailed as one of the most diverse artists of his generation, Barot is equally as skilled with watercolors as he is with oils, and is just as well-balanced in different subject areas. Barot's collection entitled \"The Un-Collection\" will adorn the walls of Gilbert Hall, depicting his range of skills and sensibilities - all of them, uniquely Barot, yet undeniably different" | |
}, | |
{ | |
"name":"Jonathan G. Ferrar II", | |
"shortname":"Jonathan_Ferrar", |
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
// style.scss | |
// ============== | |
//Compass imports | |
@import "compass"; | |
@import "compass/css3/box-shadow"; | |
//Core partials | |
@import "variables"; | |
@import "mixins"; |
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 WorkflowyPlus Refac | |
// @namespace http://confusionstudios.com | |
// @version 0.2 | |
// @author Wizmann, DR2050 | |
// @match https://workflowy.com/* | |
// @grant none | |
// ==/UserScript== | |
/* jshint -W097 */ | |
'use strict'; |
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
""" | |
Mindmeister to OPML | |
Convert the JSON file embedded in mindmeister's native format | |
to OPML 1.0 that can be opened by OmniOutliner. For use with | |
python 2.6 and above. For usage, run python mm2oo.py --help | |
Copyright (c) 2011 Matt Bowen (https://github.com/mattbowen) | |
Permission is hereby granted, free of charge, to any person obtaining a copy of |
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
#!/usr/bin/env python | |
# A quick and dirty script to rename a pinboard.in tag. | |
# I'll probably update this become a proper command line app one day | |
import urllib2 | |
import pinboard | |
pinuser = "" | |
pinpasswd = "" |
OlderNewer