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

Do take one issue per person to help others :) Also checkout Fedora tracker for more easy issues : https://bugzilla.redhat.com/show_bug.cgi?id=1785415 . 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
sloria / dropping_py2.md
Last active Feb 13, 2020
Checklist for dropping Python 2 in my libraries
View dropping_py2.md
  • Add pyupgrade to .pre-commit-config.yaml.

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

- repo: https://github.com/asottile/pyupgrade
  rev: ...latest version...
  hooks:
  - id: pyupgrade
    args: [--py36-plus]
@mieky
mieky / macos-lifehacks.md
Last active Nov 28, 2019
MacOS Lifehacks
View macos-lifehacks.md

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
joyrexus / README.md
Last active Feb 19, 2020
collapsible markdown
View README.md

collapsible markdown?

CLICK ME

yes, even hidden code blocks!

print("hello world!")
@zerolab
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
<?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
node_js:
- "4"
install:
- npm -g install yarn
- yarn
cache:
directories:
@juanpabloaj
juanpabloaj / README.md
Last active Jun 18, 2018
Total of pip packages downloaded, separated by Python versions
View README.md

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

downloads_by_versions

Without 2.7

@mikecrittenden
mikecrittenden / drupal_cache_example.md
Last active Aug 25, 2018
Cache get/set examples for Drupal 7 and Drupal 8
View drupal_cache_example.md

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
tomtaylor / names.txt
Last active Apr 28, 2017
English village names generated by Tensorflow
View names.txt
Allers Bottom
Culack
Swrarby
Fenwall St Eastake
Anbarth
St Ninhope
Thawkanham Water Green
Mige Lane
Up Maling
Firley Dinch
@leommoore
leommoore / 00.howto_install_phantomjs.md
Last active Jan 9, 2019 — forked from julionc/00.howto_install_phantomjs.md
How to install PhantomJS on Debian/Ubuntu
View 00.howto_install_phantomjs.md

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.