#Software Sustainability Collaborations Workshop, Oxford, 25-27 March 2015
Live notes, so an incomplete, partial record of what actually happened.
http://www.software.ac.uk/cw15
Tags: collabw15
My asides in []
# This will give all the ICSE2015/2016 papers filenames extracted from the titles of the PDF metadata, | |
# and put them in a folder on your desktop. It's been tested on OSX and depends on wget and pdfinfo, | |
# available via the macports xpdf package on pre-Yosemite OSX, and here for Yosemite users: | |
# | |
# ftp://ftp.foolabs.com/pub/xpdf/xpdfbin-mac-3.04.tar.gz | |
# | |
# It's a manual install, unfortunately, but I trust you're geared up for that. | |
# | |
# The username and password are available from these public-facing pdfs: | |
# http://atlantis.isti.cnr.it/ICSE2015ProgramBrochureOnLineVersion.pdf (2015 - icse15/conf15) |
#Software Sustainability Collaborations Workshop, Oxford, 25-27 March 2015
Live notes, so an incomplete, partial record of what actually happened.
http://www.software.ac.uk/cw15
Tags: collabw15
My asides in []
""" | |
Model of a Zombie outbreak in France, starting in Grenoble | |
This is a rewrite from this blog post by Max Berrgren: | |
http://maxberggren.github.io/2014/11/27/model-of-a-zombie-outbreak/ | |
with a different country, a slightly different model, and different | |
libraries. The map of population density is taken from Wikimedia Commons |
command | count | num_people_using | |
---|---|---|---|
cd | 347893.0 | 803.0 | |
ls | 326227.0 | 783.0 | |
rm | 80394.0 | 744.0 | |
git | 426701.0 | 696.0 | |
sudo | 109042.0 | 690.0 | |
mkdir | 22987.0 | 655.0 | |
cat | 54491.0 | 642.0 | |
mv | 39297.0 | 640.0 | |
ssh | 83035.0 | 623.0 |
#!/usr/bin/env python | |
# -*- coding: UTF-8 -*- | |
#-*- mode: python -*- | |
import subprocess | |
import os | |
import phant | |
THESIS_SECTIONS_DIR = '/Users/Sam/Dropbox/Uni/Thesis/thesis/sections/' |
This simple script will take a picture of a whiteboard and use parts of the ImageMagick library with sane defaults to clean it up tremendously.
The script is here:
#!/bin/bash
convert "$1" -morphology Convolve DoG:15,100,0 -negate -normalize -blur 0x1 -channel RBG -level 60%,91%,0.1 "$2"
branch_mapping = [('default', 'master')] | |
target = "git+ssh://git@github.com/haard/test" | |
repo = hgapi.Repo(path) | |
for hgb, gb in branch_mapping: | |
repo.hg_command('bookmark', '-r', hgb, gb) | |
repo.hg_command("--config", "paths.default=" + target, "--config", "extensions.hggit=", "push") |
branch_mapping = [('default', 'master')] | |
target = "git+ssh://git@github.com/haard/test" | |
repo = hgapi.Repo(path) | |
for hgb, gb in branch_mapping: | |
repo.hg_command('bookmark', '-r', hgb, gb) | |
repo.hg_command("--config", "paths.default=" + target, "--config", "extensions.hggit=", "push") |
HTTP transfer protocols | |
======================= | |
Git supports two HTTP based transfer protocols. A "dumb" protocol | |
which requires only a standard HTTP server on the server end of the | |
connection, and a "smart" protocol which requires a Git aware CGI | |
(or server module). This document describes both protocols. | |
As a design feature smart clients can automatically upgrade "dumb" | |
protocol URLs to smart URLs. This permits all users to have the |
// SIMPL | |
// A Serial Interpreted Minimal Programming Language | |
// Inspired by Txtzyme - by Ward Cunningham | |
// SIMPL tries to take you back to an age of computing when things were simple | |
// So it compiles in under 6K - leaving lots of room for other stuff | |
// SIMPL allows new words to be defined by preceding them with colon : (Like Forth) |