Skip to content

Instantly share code, notes, and snippets.

2001:0630:0001::/48 JANET-SERV JANET(UK)
2001:0630:0008::/48 ANGLIA-V6 Anglia Ruskin University
2001:0630:0009::/48 LSE London School of Economics and Political Science
2001:0630:0010::/48 BRUNEL-IPV6 Brunel University IPv6 Network
2001:0630:0011::/48 QMUL-V6 Queen Mary and Westfield College
2001:0630:0012::/48 ICV6NET1 Imperial College London
2001:0630:0013::/48 UCL-6NET University College London
2001:0630:0014::/48 KENCHELNET-IPV6 Kensington and Chelsea College
2001:0630:0015::/48 BIRKBECK-IPv6 Birkbeck College
2001:0630:0016::/48 HACK-COM-COL Hackney Community College
#!/usr/bin/perl -p
# Converts ml char-array constructions into strings
# eg: ('a'::('b'::('c'::[]))) => "abc"
#
# Makes use of all the horrific Perl regular expression features I could find:
# (?R) is the recursive subexpression pattern -- it recursively reuses the entire pattern as a sub-pattern.
# However, this doesn't support retrieving the nested pattern captures, so we use
# (?{ }) to execute the Perl expression $^R.($^N =~ s{^"}{\\"}r) which concatenates the last captured group (with "
# substituted for \") onto the result of the previous execution of this expression.
# $^R isn't cleared between regular expression matches, so we do this manually.
@IgnoredAmbience
IgnoredAmbience / RubyShoosChallenges.rst
Last active September 2, 2015 14:12
RubyShoos Challenges
$ ocamlc -version
4.02.2
$ ocamlc -I . stack.ml
File "stack.ml", line 2, characters 24-26:
Error: Syntax error
@IgnoredAmbience
IgnoredAmbience / ocaml-debian.md
Last active March 2, 2016 22:59
OCaml Debian Packaging
@IgnoredAmbience
IgnoredAmbience / git{hub,lab}-sync.md
Created April 26, 2016 21:14
Git Hub/Lab Syncing Ideas

General Setup

  • Get GitLab admin user details
  • Get GitLab sync user details
  • Get GitHub admin user details

GitHub -> GitLab Sync Setup

  1. Select source GitHub repo
  2. Either: Select/create destination GitLab repo
@IgnoredAmbience
IgnoredAmbience / es6.md
Last active May 24, 2016 08:49
NaN or A-Different-NaN, that is the question?

6.1.6 The Number Type

...

The Number type has exactly 18437736874454810627 (that is, 264−253+3) values, representing the double-precision 64-bit format IEEE 754-2008 values as specified in the IEEE Standard for Binary Floating-Point Arithmetic, except that the 9007199254740990 (that is, 253−2) distinct “Not-a-Number” values of the IEEE Standard are represented in ECMAScript as a single special NaN value. (Note that the NaN value is produced by the program expression NaN.) In some implementations, external code might be able to detect a difference between various Not-a-Number values, but such behaviour is implementation-dependent; to ECMAScript code, all NaN values are indistinguishable from each other.

NOTE The bit pattern that might be observed in an ArrayBuffer (see 24.1) after a Number value has been stored into it is not necessarily the same as the internal representation of that Number value used by the ECMAScript implementation.

...

24.1 ArrayBuffer Objects

The domain name jscert.org expired 21st June 2016. It currently has the statuses ok and autoRenewPeriod. [WHOIS Info][1]

UK-2's control panel gives an error message when requesting the EPP (AuthInfo) code. UK-2 have stated that:

The domain jscert.org will need to be renewed before it would be able to be transferred to a new registrar. You can renew it within your account icon in chi.midphase.com. Once that is done you can go to the domains tab on the left hand side. In there is a transfer tab at the top of the page. Click on that

@IgnoredAmbience
IgnoredAmbience / ubuntu-backport.md
Created August 24, 2016 19:12
No-Change Backporting Ubuntu Packages

2 options:

  1. Use the "Copy Package" link from an existing package source. (It gives destination distro options)
  2. Use the backportpackage tool on Ubuntu.
@IgnoredAmbience
IgnoredAmbience / 99-noto-mono-color-emoji.conf
Last active October 25, 2024 06:01
Noto Emoji Color fontconfig for Konsole
<?xml version="1.0" encoding="UTF-8"?>
<!DOCTYPE fontconfig SYSTEM "fonts.dtd">
<!--
Noto Mono + Color Emoji Font Configuration.
Currently the only Terminal Emulator I'm aware that supports colour fonts is Konsole.
Usage:
0. Ensure that the Noto fonts are installed on your machine.
1. Install this file to ~/.config/fontconfig/conf.d/99-noto-mono-color-emoji.conf