Skip to content

Instantly share code, notes, and snippets.

View gebn's full-sized avatar

George Brighton gebn

View GitHub Profile
@gebn
gebn / keybase.md
Created February 8, 2017 02:50
Keybase.io Proof

Keybase proof

I hereby claim:

  • I am gebn on github.
  • I am gebn (https://keybase.io/gebn) on keybase.
  • I have a public key whose fingerprint is E850 617E 852D B9CD 2018 B2F0 2B85 A437 DD4E 0240

To claim this, I am signing this object:

@gebn
gebn / ctl
Last active March 30, 2016 22:49
Finds and connects to a UG04 lab machine.
#!/bin/bash
# will hold available machine hostnames
alive=()
# iterate through a subset of machines in UG04
for suffix in {10..100}; do
# ping each one
ping -c 1 -t 1 "cca-ug04-130$suffix" > /dev/null 2>&1
@gebn
gebn / faq.md
Last active September 14, 2016 12:37
A series of answers to the most common questions asked by freshers at SoCS.

University of Birmingham School of Computer Science Freshers' FAQ

What documents do I need to bring with me?

As far as the School of Computer Science goes, just your university ID card. If you're a UK student and register online by noon on 6th September, it will be posted to you within 3 weeks. Otherwise, you can collect your card during Welcome Week from the Welcome Hub. Please do this on Monday, as you'll need your card when you come to us on Tuesday for the first induction event.

In addition, the university publishes a useful packing list, which will be particularly valuable to international students. If you're British (or have snuck into the country), it's definitely a good idea to have your passport with you. You'll need it to register with Worklink, which is the system through which all university employment is paid.

Do I need to bring a computer?

@gebn
gebn / format.html
Created June 9, 2014 00:27
Formats a code listing for Peerwise.
<!DOCTYPE html>
<html lang="en">
<head>
<meta charset="utf-8">
<title>PeerWise Code Formatter</title>
<script type="text/javascript">
(function() {
"use strict";