Skip to content

Instantly share code, notes, and snippets.

Working from home

Rob Blackwell RobBlackwell

Working from home
View GitHub Profile
View gist:4ed1aaf78154d386c4a2

Use Quicklisp

Use the SLIME provided with Quicklisp

(ql:quickload "quicklisp-slime-helper")

Update your Quicklisp

View gist:dc965da495b6ed3d5bb4
pandoc --latex-engine=xelatex -V papersize:"a4paper" -V geometry:margin=1in -V fontsize:12pt -o briefing.pdf
RobBlackwell / gist:2520279
Created Apr 28, 2012
Sample Windows Azure diagnostics.wadcfg
View gist:2520279
<?xml version="1.0" encoding="utf-8" ?>
<DiagnosticMonitorConfiguration xmlns="" configurationChangePollInterval="PT1M" overallQuotaInMB="4096">
<DiagnosticInfrastructureLogs bufferQuotaInMB="1024"
scheduledTransferPeriod="PT1M" />
<Logs bufferQuotaInMB="1024"
scheduledTransferPeriod="PT1M" />
RobBlackwell / SQLAzureExportSample.cs
Created Apr 12, 2012
Sample showing how to export a SQL Azure database to BACPAC format.
View SQLAzureExportSample.cs
using System;
using System.IO;
using System.Net;
using System.Runtime.Serialization;
using System.Text;
using System.Xml;
namespace SqlAzureBackup
class Program
RobBlackwell / gist:8649897
Last active Jan 4, 2016
Richoramas Benchmark in Common Lisp
View gist:8649897
(ql:quickload "puri")
(defun test()
(loop for i from 0 to 1000000
collecting (puri:parse-uri "")))
(time (progn (test) t))
;;; 32 bit SBCL
RobBlackwell / Richorama's benchmark in ANSI C
Last active Jan 4, 2016
Richorama's benchmark in ANSI C
View Richorama's benchmark in ANSI C
#include <stdio.h>
#include <uriparser/Uri.h>
#include <time.h>
int main(void)
clock_t start = clock() / (CLOCKS_PER_SEC / 1000);
UriParserStateA state;
View sbcl-on-windows-subsystem-for-linux.txt
reb@HELIUM:~$ sudo apt-get install sbcl
Reading package lists... Done
Building dependency tree
Reading state information... Done
The following packages were automatically installed and are no longer required:
libfreetype6 os-prober
Use 'apt-get autoremove' to remove them.
The following extra packages will be installed:
Suggested packages:
RobBlackwell / eduroam
Last active Mar 17, 2017
eduroam UEA on x230 arch linux
View eduroam
Description="eduroam network"
View gist:d09dd9e934b3afc9721ae7c2b60cd086
nix-env -iA nixos.oraclejre8
Unfortunately, we cannot download file jdk-8u131-linux-x64.tar.gz automatically.
Please go to to download it yourself, and add it to the Nix store
using either
nix-store --add-fixed sha256 jdk-8u131-linux-x64.tar.gz
nix-prefetch-url --type sha256 file:///path/to/jdk-8u131-linux-x64.tar.gz
RobBlackwell / gist:e6b874b9b664d7496f4099bae3c363f4
Created Jan 31, 2018
Preserving your working directory in gnome-terminal
View gist:e6b874b9b664d7496f4099bae3c363f4
# including this ensures that new gnome-terminal tabs keep the parent `pwd` !
if [ -e /etc/profile.d/ ]; then
. /etc/profile.d/