Over the past couple years in school, I've placed tremendous value in a few things:
- Comprehensive, single-document summaries of courses I've taken;
- Beautifully type-set reports;
- Writing the bare-minimum of LaTeX to get by.
******** pts/6 ***.***.***.*** Mon Dec 7 20:48 - 23:04 (02:16) | |
******** pts/0 ***.***.***.*** Mon Dec 7 20:04 - 22:10 (02:05) | |
******** pts/7 ***.***.***.*** Mon Dec 7 19:14 - 20:17 (01:02) | |
******** pts/9 ***.***.***.*** Mon Dec 7 18:16 - 19:41 (01:24) | |
******** pts/8 ***.***.***.*** Mon Dec 7 18:09 - 20:14 (02:04) | |
******** pts/7 ***.***.***.*** Mon Dec 7 17:38 - 17:39 (00:00) | |
******** pts/6 ***.***.***.*** Mon Dec 7 16:50 - 20:00 (03:10) | |
******** pts/6 ***.***.***.*** Mon Dec 7 16:22 - 16:28 (00:06) | |
******** pts/6 ***.***.***.*** Mon Dec 7 16:22 - 16:22 (00:00) | |
******** pts/7 ***.***.***.*** Mon Dec 7 15:21 - 15:24 (00:02) |
class JavaUtil { | |
/** | |
* Runtime checks, similar to the Kotlin standard library check method. | |
*/ | |
public static void check(boolean condition, String message) { | |
if (!condition) { | |
throw new IllegalStateException(message); | |
} | |
} |
#!/usr/bin/env python3 | |
# Run this script to initialize a new sub project in the scratch/ | |
# directory of an ns-3 distribution. This should allow one to get | |
# started with the simulator more quickly. | |
# | |
# author: Keefer Rourke <[email protected]> | |
# license: ISC | |
# | |
# Copyright 2020 Keefer Rourke |
Starting point: mozilla-central with https://phabricator.services.mozilla.com/D85296 and dependent patches applied.
First, we make this change to trigger the error.
The relevant part of the error is:
0:06.54 /home/botond/dev/projects/mozilla/central/dom/system/IOUtils.cpp:204:3: error: no matching function for call to 'InvokeAsync'
0:06.54 InvokeAsync(
0:06.54 ^~~~~~~~~~~
/** | |
* WorkerScope prepares a function to be run in a web worker | |
* without needing an external JavaScript file or forcing you | |
* to deal with event listener. | |
* | |
* Example usage: | |
* | |
* await result = new WorkerScope( | |
* () => self.postMessage('hi!') | |
* ).run() // 'hi' |
#!/usr/bin/env bash | |
# git-loccount.sh | |
# Pretty prints the total added, removed, and contributed lines of code for a given user | |
# in a git repository. | |
# | |
# Arguments: | |
# $1 - username | |
# $2 - directory to check |
import org.objectweb.asm.Opcodes | |
data class AccessModifier(val code: Int, val name: String) | |
enum class ClassPart { | |
CLASS, | |
METHOD, | |
FIELD, | |
MODULE, | |
MODULE_REQUIRES |
#!/usr/bin/env bash | |
# exit codes | |
EX_OK=0 | |
EX_ERR=1 | |
EX_USAGE=64 | |
# default argument values | |
since_year=2015 | |
until_year=$(date +%Y) |
#!/bin/bash | |
# | |
# latexcompile | |
# Keefer Rourke <[email protected]> | |
# | |
# To the extent possible under law, the person who associated CC0 with | |
# latexcompile has waived all copyright and related or neighboring rights | |
# to latexcompile. | |
# | |
# See <http://creativecommons.org/publicdomain/zero/1.0/> for a copy of |