Skip to content

Instantly share code, notes, and snippets.

Maggie Leber MaggieLeber

Block or report user

Report or block MaggieLeber

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
MaggieLeber /
Last active Apr 24, 2019
Java learning resources
View gist:f352da805531c263e1a00a98a81b32c9
<?xml version="1.0" encoding="UTF-8"?>
<node x="370.7291666666667" y="76.0">com.rajant.core.proxy.session.ProxyCallback</node>
<node x="176.72916666666669" y="126.0">com.rajant.core.proxy.session.ProxySecurityException</node>
<node x="0.0" y="252.0">com.rajant.core.proxy.session.ProxyClientSession</node>
<node x="199.72916666666669" y="0.0">com.rajant.core.proxy.session.ProxyException</node>
<node x="344.0" y="322.0">com.rajant.core.proxy.session.ProxyServerSession</node>
View warnings.MD

WARNING: This product warps space and time in its vicinity.

WARNING: This product attracts every other piece of matter in the Universe, including the products of other manufacturers, with a force proportional to the product of the masses and inversely proportional to the distance between them.

CAUTION: The mass of this product contains the energy equivalent of 85 million tons of TNT per net ounce of weight.

HEALTH WARNING: Care should be taken when lifting this product, since its mass, and thus its weight, is dependent on its velocity relative to the user.

ADVISORY: There is an extremely small but nonzero chance that, through a process known as "tunneling," this product may spontaneously disappear from its present location and reappear at any random place in the universe, including your neighbor's domicile. The manufacturer will not be responsible for any damages or inconvenience that may result.

MaggieLeber / spacegaming.MD
Last active Aug 20, 2019
Spaceflight Simulation/Gaming Tools
View spacegaming.MD

Spaceflight Simulation/Gaming Tools


Some background here:

Here's the email Coursera sent:

###Save course materials for some courses by June 30

Dear , We wanted to inform you of an update to our technology platform that will affect access to some courses you previously joined. In 2014, Coursera began developing a new technology platform to improve your learning experience, and to allow courses to run more frequently. The majority of our courses are now offered on the new platform.

MaggieLeber / gist:e311695a430abedfca93
Created Jan 30, 2016
Scala parallel collections benchmark
View gist:e311695a430abedfca93
import collection.parallel.mutable.ParTrieMap
import collection.parallel.ForkJoinTaskSupport
object Map extends testing.Benchmark {
val length = sys.props("length").toInt
val par = sys.props("par").toInt
val partrie = ParTrieMap((0 until length) zip (0 until length): _*)
partrie.tasksupport = new ForkJoinTaskSupport(new scala.concurrent.forkjoin.ForkJoinPool(par))
MaggieLeber / MaggiesCanvasScreen.json
Created Jan 14, 2015
A screen I use in Canvas for Pebble. You also need a Tasker task that drives the Canvas plugin with the expression %MEMF free GPS %GPS at %SIT,and to set %SIT to name the situation you want displayed after "at".
View MaggiesCanvasScreen.json
"defs": [
"type": "LayerBackground",
"properties": {
"name": "Maggie\u0027s screen",
"background_colour": 1,
"height": 0,
"pos_x": 0,
"pos_y": 0,
MaggieLeber / ServerMill
Last active Aug 29, 2015
Generating a Packer template from Scala using the Play Framework JSON library to allow annotations as comments.
View ServerMill
package io.point.servermill
import play.api.libs.json.Json
object ServerMill extends App {
// generate a Packer template to build an AMI for a
// server instance on AWS.
You can’t perform that action at this time.