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
#!/usr/bin/python3 | |
# Algo to find solutions to a simple classrooms organization problem | |
# Usage: | |
# $ python3 eskola.py > out.txt | |
import sys | |
from enum import IntEnum | |
from operator import attrgetter | |
from random import choice, randrange, shuffle |
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 SimpleDotProject | |
// @namespace http://simpledotproject.essembeh.org | |
// @include http://dotproject*/dotproject/*?m=timecard&tab=1&* | |
// @grant none | |
// ==/UserScript== | |
function fireEvent (element, eventName) { | |
var evt = document.createEvent("HTMLEvents"); | |
evt.initEvent(eventName, false, true); |