This little note is licensed under a Creative Commons CC0 License, meaning "No Rights Reserved". So you can reuse this note in whatever way you want, and there is no need to attribute me. Enjoy! :-)
I hereby claim:
- I am avandeursen on github.
- I am avandeursen (https://keybase.io/avandeursen) on keybase.
- I have a public key ASDdpXh2rDOE3K7e1acPSmsRjUMbbyj0EGSEbaloHv64yAo
To claim this, I am signing this object:
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 sys | |
import requests | |
from bs4 import BeautifulSoup | |
# Set to the PURE page you'd like to get the bibtex entries from. Here's mine: | |
pure = "https://pure.tudelft.nl/portal/en/persons/a-van-deursen(949eb2cc-4db0-4f33-bd56-13425fa5c24a)/publications.html?page=0" | |
class BibTexEntry: | |
def __init__(self, entry): |
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
#!/bin/bash | |
# Jacob Salmela | |
# 2016-03-12 | |
# Convert annoying DOCX into PDFs with a right-click | |
# Run this as an Automator Service | |
###### SCRIPT ####### | |
for f in "$@" | |
do | |
# Get the full file PATH without the extension |
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
# -*- mode: ruby -*- | |
# vi: set ft=ruby : | |
Vagrant.configure(2) do |config| | |
config.vm.box = "ubuntu/trusty64" | |
config.vm.provider "virtualbox" do |vb| | |
vb.gui = true | |
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
MAKEFILE=$(lastword $(MAKEFILE_LIST)) | |
# Simple set of make targets to create an msword-track-changes like | |
# diff for tex, based on two versions committed in git. | |
# | |
# Copyright (c) Arie van Deursen, 2014. | |
# Distributed under Apache License Version 2.0. | |
# https://www.apache.org/licenses/LICENSE-2.0 | |
# | |
# Note: Either this Makefile should be the same in both the OLD and the NEW version, |
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
public class JacocoTest { | |
public static class NoMethods { } | |
@Test public void testDeclaredMethod() { | |
assertEquals(0, NoMethods.class.getDeclaredMethods().length); | |
} } |