Skip to content

Instantly share code, notes, and snippets.

Hugo van Kemenade hugovk

  • Nord Software
  • Helsinki, Finland
Block or report user

Report or block hugovk

Hide content and notifications from this user.

Learn more about blocking users

Contact Support about this user’s behavior.

Learn more about reporting abuse

Report abuse
View GitHub Profile
@hugovk
hugovk / schbot_trends.txt
Last active Nov 30, 2015
UK and US Twitter trends from 26 Jan - 30 Nov 2015, one logged per hour (except the first few include World, France and Sweden WOEIDs) by https://twitter.com/botschmot
View schbot_trends.txt
@hugovk
hugovk / todayschallenge.py
Created Sep 3, 2015
Convert the letters of your full name into numbers, add them together, & determine the prime factorization of the sum
View todayschallenge.py
#!/usr/bin/env python
# encoding: utf-8
"""
Today's challenge:
Convert the letters of your full name into numbers, add them together,
& determine the prime factorization of the sum
https://twitter.com/todayschallenge/status/638713672278351875
https://twitter.com/todayschallenge/status/639075809060356096
"""
@hugovk
hugovk / HOLD-DOOR-1801.jpg
Last active Aug 29, 2015
Cutthroats: A supplement to Johnson's English dictionary (1801)
@hugovk
hugovk / Vagrantfile
Created Jun 1, 2015
A Drupal Vagrantfile
View Vagrantfile
# -*- mode: ruby -*-
# vi: set ft=ruby :
hostname = 'myvagrant'
domain = 'example.com'
ip = '192.168.54.5'
#forwarded_port = 8080
cpus = 2
ram = 2048
@hugovk
hugovk / minitest.py
Last active Aug 29, 2015
Attempt to download another user's Wordnik list
View minitest.py
#!/usr/bin/env python
# encoding: utf-8
from wordnik import swagger, AccountApi, WordListApi
WORDNIK_USERNAME = TODO
WORDNIK_PASSWORD = TODO
WORDNIK_API_KEY = TODO
permalink = "gapeseeds-and-muckworms---compound-derogatives"
@hugovk
hugovk / README.md
Last active Aug 29, 2015
Cutthroat verb-nouns
View README.md

Cutthroat verb-nouns

David-Antoine Williams writes:

What is the difference between a catch-all and a catch-phrase? Both are compounds formed as Verb+Noun, but in catch-all, the noun is the direct object of the verb, whereas in catch-phrase it is the subject. That is, a catch-all is something that catches all things, whereas a catch-phrase is not something that catches phrases – it is a phrase that catches something. Get it?

Recently there has been some discussion of catch-all type compounds, which Brianne Hughes has named “cutthroat compounds,” after one of the more suggestive of these. Apparently they’re rare, because they violate a general tendency for compounds in English to put the ‘head’ (e.g. phrase) on the right (‘right-headedness’). Compare F. ouvre-bouteille to E. bottle-opener (not open-bo

View keybase.md

Keybase proof

I hereby claim:

  • I am hugovk on github.
  • I am hugovk (https://keybase.io/hugovk) on keybase.
  • I have a public key whose fingerprint is F213 C454 5327 1E8C 046B 98FD 277D DF42 CB72 5F45

To claim this, I am signing this object:

@hugovk
hugovk / .jshintrc
Last active Apr 29, 2016
Gruntfile for Drupal to compile Less to CSS with source maps
View .jshintrc
{
"node": true,
"browser": true,
"esnext": true,
"bitwise": true,
"camelcase": true,
"curly": true,
"eqeqeq": true,
"immed": true,
"indent": 4,
@hugovk
hugovk / pandb.sh
Last active Aug 29, 2015
pandb.sh downloads and extracts a database from Pantheon in a local environment. updb.sh extracts the last downloaded DB.
View pandb.sh
#!/bin/bash
echo $1
DATABASENAME="TODO_ENTER_YOUR_DATABASE_NAME"
# From the Pantheon dashboard Backups tab, copy the temporary link for the
# database. Call this script with that link (in quotes) as a parameter.
if [ -z "$1" ];
then
@hugovk
hugovk / README.md
Last active Aug 29, 2015
Questions arising from a Project Gutenberg corpus
View README.md
You can’t perform that action at this time.