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
tirkarthi /
Last active Feb 18, 2020
Python 3.8 and 3.9 issues

Do take one issue per person to help others :) Also checkout Fedora tracker for more easy issues : . I tried to mark the issues complete but it's more maintenance so sorry if the issue is fixed or already has a PR and is not updated here.

sloria /
Last active Feb 13, 2020
Checklist for dropping Python 2 in my libraries
  • Add pyupgrade to .pre-commit-config.yaml.

If supporting py35, use --py3-plus instead of --py36-plus.

- repo:
  rev: ...latest version...
  - id: pyupgrade
    args: [--py36-plus]
mieky /
Last active Nov 28, 2019
MacOS Lifehacks

Collection of useful tips & tricks to set up on a Mac.

Safari: bind cmd+alt+arrows to switch between previous/next tab

defaults write -app Safari NSUserKeyEquivalents '{
"Show Next Tab" = "@~\\U2192";
"Show Previous Tab" = "@~\\U2190";
joyrexus /
Last active Feb 19, 2020
collapsible markdown

collapsible markdown?


yes, even hidden code blocks!

print("hello world!")
zerolab / d8_my_advanced_tab.php
Created Nov 3, 2016
Drupal 8 move something to the advanced tabs on node forms
View d8_my_advanced_tab.php
* Implements hook_form_FORM_ID_alter().
* Move your field or group of fields to the node form options vertical tabs.
function mymodule_form_node_form_alter(&$form, FormState $form_state, $form_id) {
$form['mygroup'] = [
View .travis.yml
# Supercharge your Travis builds with yarn
# Commit your lock file locally, and change your travis to this
language: node_js
- "4"
- npm -g install yarn
- yarn
juanpabloaj /
Last active Jun 18, 2018
Total of pip packages downloaded, separated by Python versions

Total of pip packages downloaded separated by Python versions

From June 26, 2016 (python 3.5.2 release) to Aug. 31, 2016.

Python versions from 2.6 to 3.5


Without 2.7

mikecrittenden /
Last active Aug 25, 2018
Cache get/set examples for Drupal 7 and Drupal 8

Drupal 7

Setting the cache

cache_set('cache_key_goes_here', 'cache_data_goes_here', 'cache', time() + 60);

Fetching the cache

$cache = cache_get('cache_key_goes_here');
tomtaylor / names.txt
Last active Apr 28, 2017
English village names generated by Tensorflow
View names.txt
Allers Bottom
Fenwall St Eastake
St Ninhope
Thawkanham Water Green
Mige Lane
Up Maling
Firley Dinch
leommoore /
Last active Jan 9, 2019 — forked from julionc/
How to install PhantomJS on Debian/Ubuntu

How to install PhantomJS on Ubuntu

Version: 2.1.1

Platform: x86_64

First, install or update to the latest system software.

sudo apt-get update
sudo apt-get install build-essential chrpath libssl-dev libxft-dev
You can’t perform that action at this time.