Skip to content

Instantly share code, notes, and snippets.

"""
========================= FOOTNOTES =================================
This section adds footnote handling to markdown. It can be used as
an example for extending python-markdown with relatively complex
functionality. While in this case the extension is included inside
the module itself, it could just as easily be added from outside the
module. Not that all markdown classes above are ignorant about
footnotes. All footnote functionality is provided separately and
then added to the markdown instance at the run time.
// ==UserScript==
// @name WebCT Multiple sessions
// @namespace fuck webct
// @description ^
// @include https://mycourses.mcgill.ca/webct/cobaltMainFrame.dowebct?*
// @include http://mycourses.mcgill.ca/webct/cobaltMainFrame.dowebct?*
// ==/UserScript==
(
function(){
document.cookie = "uid2="
#include "goonMicro.h"
#include <string>
#include <windows.h>
#include <time.h>
#include <iostream>
#include <fstream>
#define RETREAT_HP -14
#define RETREAT_DIST 150
#define RETREAT_MIN_SP 2.0
import sys
import math
START = 0
END = 1
VALUE = 2
class HeapNode:
def __init__(self, vertex, val=sys.maxint):
#id of the Node