Skip to content

Instantly share code, notes, and snippets.

Anselm Hannemann anselmh

Block or report user

Report or block anselmh

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
anselmh /
Last active Jan 4, 2017
Digital Ocean Droplet sshd_config
# /etc/ssh/sshd_config
PasswordAuthentication no
PubkeyAuthentication yes
Protocol 2
HostKey /etc/ssh/ssh_host_ed25519_key
anselmh / hosts
Last active Jul 26, 2016
block newrelic tracker from sending data
View hosts
# Enter this into your /etc/hosts file to re-route traffic to newrelic hostnames to null

Make your own crunchy muesli

Buy some nice oat flakes (you can use fine or coarse, whatever you prefer).

  1. Take 250g (~9 Ounces [oz]) oat flakes
  2. Take about 100-150ml (5 [fl oz]) of honey or agave syrup
  3. Mix the oat flakes and the honey well
  4. You can add some cinnamon now if you want
  5. Roast the mixed flakes in a pan now for a short time (so that the honey is soaked by the flakes, about 2-5 minutes)
  6. Prepare a baking tray and put some baking paper on it.

Conference User Stories


As an Organizer

  • As an organiser I want to create an event where everyone feels safe and welcome.
  • As an organiser I want attendees to show a level of personal responsibility. That means ensuring that they arrive in time for all sessions, don't consume food or drink that they know will have adverse personal results and respect the speakers by listening to them and not being heads down on their laptops.
  • As a conference treasurer I want a ticketing system that pays straight away (like tito and not like eventbrite) so I have nice cash-flow management.
anselmh /
Last active Sep 20, 2015 — forked from paulirish/
What forces layout/reflow. The comprehensive list.

What forces layout / reflow

All of the below properties or methods, when requested/called in JavaScript, will trigger the browser to synchronously calculate the style and layout. This is also called reflow or layout thrashing, and is common performance bottleneck.


Box metrics
  • elem.offsetLeft, elem.offsetTop, elem.offsetWidth, elem.offsetHeight, elem.offsetParent
  • elem.clientLeft, elem.clientTop, elem.clientWidth, elem.clientHeight
  • elem.getClientRects(), elem.getBoundingClientRect()

Keybase proof

I hereby claim:

  • I am anselmh on github.
  • I am anselm ( on keybase.
  • I have a public key whose fingerprint is F691 9E8A 88F0 4543 BC79 BF5B D1A2 F21F 1BE7 4300

To claim this, I am signing this object:



Headline 2n level

This is a test markdown file with a link and some strong and italic text.

anselmh / package.json
Last active Aug 29, 2015
Clean directory and Copy files from one to another location (similar to grunt-contrib-copy)
View package.json
"devDependencies": {
"del": "^1.2.0",
"recursive-copy": "^1.0.10"
"scripts": {
"copy": "node task.copy.js",
anselmh / useful-meta-tags.html
Created Jan 29, 2015
List of some (useful) meta tags that aren’t that common.
View useful-meta-tags.html
<!-- Telephone number detection on iOS -->
<meta name="format-detection" content="telephone=yes"> (default on Safari in iOS)
<meta name="format-detection" content="telephone=no">
anselmh / SassMeister-input-HTML.html
Created Sep 9, 2014
Generated by
View SassMeister-input-HTML.html
<div class="selector">
Hello World. Should be black
<p class="test">
This should be black.
<div class="selector test">
You can’t perform that action at this time.