Skip to content

Instantly share code, notes, and snippets.

C. Fuhrman fuhrmanator

Block or report user

Report or block fuhrmanator

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
@fuhrmanator
fuhrmanator / tg2p.st
Last active Jan 28, 2019 — forked from oliveiraallex/tg2p.st
Not so Terse Guide to Pharo
View tg2p.st
"**************************************************************************
* Allowable characters: *
* - a-z *
* - A-Z *
* - 0-9 *
* - .+/\*~<>@%|&? *
* - blank, tab, cr, ff, lf *
* *
* Variables: *
* - variables must be declared before use *
@fuhrmanator
fuhrmanator / tg2p.st
Created Mar 27, 2018 — forked from jdevoo/tg2p.st
Not so Terse Guide to Pharo
View tg2p.st
"**************************************************************************
* Allowable characters: *
* - a-z *
* - A-Z *
* - 0-9 *
* - .+/\*~<>@%|&? *
* - blank, tab, cr, ff, lf *
* *
* Variables: *
* - variables must be declared before use *
@fuhrmanator
fuhrmanator / Playground.st
Last active Mar 23, 2018
Pharo sample to show UML
View Playground.st
| b classes targetClassNames |
classes := MooseModel root allModels first allClasses select: [:each |
(each container mooseName beginsWith:'edu::' ) and: (each name endsWith: 'Optimizer') ].
"La doc sur les collections m'est toujours super utile: http://pharo.gforge.inria.fr/PBE1/PBE1ch10.html"
targetClassNames := Set withAll: #('CBMOptimizer','CBMSOptimizer','CBMUtilityOptimizer').
view := RTView new.
view @ RTZoomableView.
@fuhrmanator
fuhrmanator / Moodle_date_time_text_box.user.js
Last active Dec 24, 2017
UserScript to make changing dates in Moodle more ergonomic (less clicks and copy-paste)
View Moodle_date_time_text_box.user.js
// ==UserScript==
// @name Moodle date-time text box
// @namespace https://profs.etsmtl.ca/cfuhrman/
// @version 0.1
// @description Save many clicks by providing a text box to specify dates and times in Moodle dates, on the https://moodle.org/plugins/report_editdates -- uses JQuery datetimepicker to validate (or pick) times
// @author Christopher Fuhrman
// @updateURL https://gist.github.com/fuhrmanator/7e9bf5e03302c91593348061c1e81459/raw/89a686fea5456c1e7898be6ad4a2a823a4a98c9e/Moodle_date_time_text_box.user.js
// @downloadURL https://gist.github.com/fuhrmanator/7e9bf5e03302c91593348061c1e81459/raw/89a686fea5456c1e7898be6ad4a2a823a4a98c9e/Moodle_date_time_text_box.user.js
// @match https://*/report/editdates/index.php*
// @require https://code.jquery.com/jquery-latest.js
@fuhrmanator
fuhrmanator / .block
Last active Apr 12, 2017
Horloge pour l'ÉTS style Railway Station Clock de Hilfiker en JavaScript
View .block
license: gpl-3.0
View course-planner-domain-model.puml
@startuml
skinparam style strictuml
hide methods
hide empty members
class Instructor
class Term {
name : String
year : Year
coursesStart : Date
coursesEnd : Date
You can’t perform that action at this time.