- 100: This train has been cancelled because of a broken down train
- 101: This train has been cancelled because of a delay on a previous journey
- 102: This train has been cancelled because of a derailed train
- 104: This train has been cancelled because of a fire at a station
- 105: This train has been cancelled because of a fire at a station earlier
- 106: This train has been cancelled because of a landslip
- 107: This train has been cancelled because of a line-side fire
This file contains 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
from __future__ import division | |
from myro import * | |
import blockext | |
from blockext import * | |
@command("stop both motors") |
This file contains 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
import itertools | |
import regex | |
# Lexer results | |
class Token: | |
def __init__(self, kind, value=None): | |
self.kind = kind |
This file contains 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
fun boxes = [0, 0, 0, 0];; | |
fun allcons x [] = [] | |
| allcons x (l :: ll) = | |
(x :: l) :: (allcons x ll) ;; | |
fun arrange 0 l = [l] | |
| arrange n [] = [] | |
| arrange n (x::l) = | |
(arrange (n-1) ((x+1) :: l)) @ (allcons x (arrange n l));; |
Loading
Sorry, something went wrong. Reload?
Sorry, we cannot display this file.
Sorry, this file is invalid so it cannot be displayed.
This file contains 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
{ | |
"cells": [ | |
{ | |
"cell_type": "code", | |
"execution_count": 1, | |
"metadata": { | |
"collapsed": false | |
}, | |
"outputs": [], | |
"source": [ |
This file contains 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
?|..| imports standard library | |
--------------------------------------------------------- | |
% zero | |
?… import library named … | |
…$… define export named string … with value … | |
can't export digit as logical value |
Loading
Sorry, something went wrong. Reload?
Sorry, we cannot display this file.
Sorry, this file is invalid so it cannot be displayed.
This file contains 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
import os | |
from mitmproxy.models import HTTPResponse, decoded | |
from mitmproxy.script import concurrent | |
from netlib.http import Headers | |
target = 'scratch.mit.edu' | |
target_cdn = 'cdn.scratch.mit.edu' |
Loading
Sorry, something went wrong. Reload?
Sorry, we cannot display this file.
Sorry, this file is invalid so it cannot be displayed.
OlderNewer