Skip to content

Instantly share code, notes, and snippets.

Currently hacking from Berlin 🐻

Benedikt Rötsch axe312ger

Currently hacking from Berlin 🐻
  • Remote / Berlin / Germany
Block or report user

Report or block axe312ger

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
axe312ger /
Last active Sep 4, 2019
Keep your developer system clean

Clean up your developer workstation

Free disk space on your development workstation by cleaning some caches


brew cleanup
axe312ger /
Last active Jul 30, 2018
I try to gather here all information to get your css knowledge to a higher level

Become a CSS ninja with reading a few links I gathered here!

There is so many information about css in the internet but most of the stuff, is totally non-sense and is just misleading people into copy & pasting bullshit where they don't understand why it is are working.

This is one of the biggest issues of frontend design! Thats why so many designs/websites fail. Especially cross-browser.

It is just a little you need to know, to truely understand how css is working. I hope these informations from other wonderful authors help you to improve yourself and make frontend and css work less painfull

axe312ger /
Created Jan 22, 2018
Metalsmith has 200+ plugins. Some duplicates and a few are in a bad shape, these list won't contain any of them.

Metalsmith Plugins - Handpicked

Metalsmith has 200+ plugins. Some duplicates and a few are in a bad shape, these list won't contain any of them.

Page Layout Rendering

Page Content Rendering

axe312ger /
Last active Nov 3, 2016
mp3tag and filebot renaming


\PATH\TO\YOUR\MOVIE\LIBRARY\{if (ext == 'jpg' || ext == 'jpeg') "_trash-us/$fn/"}{n} ({y}){' - '+source}{if (Integer.parseInt(vf.substring(0, vf.length()-1)) > 720) bene_quali = " - 1080p" else {if(Integer.parseInt(vf.substring(0, vf.length()-1)) > 480) bene_quali = " - 720p" else bene_quali = " - "+sdhd}}/{n} ({y}){' - '+audio.language.replaceAll(/\//, "+")}{' - '+source}{" - CD$pi"} [{"${fn.match(/3D/)}, "}{vc}{', '+vf}{', '+ac}{', '+af}{', '+file.toString().match(/\.ld\.|\.md\.|dubbed/).toUpperCase().replaceAll(/\./,'')}]
axe312ger / utf8EncodeURIComponent.js
Last active Sep 9, 2016
Human readable encodeURIComponent results since utf-8 is widely supported yet.
View utf8EncodeURIComponent.js
const reserved = [
':', '/', '?', '#', '[', ']', '@', // RFC 3986 gen-delims
'!', '$', '&', '\'', '(', ')', '*', '+', ',', ';', '=', // RFC 3986 sub-delims
'%' // % needs to be encoded to ensure proper decoding
function utf8EncodeURIComponent (uri) {
return Array.from(uri)
.map((char) => reserved.includes(char) ? encodeURIComponent(char) : char)

Keybase proof

I hereby claim:

  • I am axe312ger on github.
  • I am axe312 ( on keybase.
  • I have a public key ASAj7L_SgUss0rrC-wMRLYmyQRLGp9W55rw862reuiitGwo

To claim this, I am signing this object:

axe312ger / .svgo.yml
Last active Jun 16, 2016
Created optimized svg sprite which allows coloring via css by using currentColor. Uses svgo and svgSprite.
View .svgo.yml
multipass: true
pretty: true
indent: 2
- convertColors:
currentColor: true
- collapseGroups: true
axe312ger / gist:7908347
Created Dec 11, 2013
Country term list by continent. Based on @ 10.12.2013 Rows: Name, Parent, ISO-2 Country Code
View gist:7908347
South America;;;
North America;;;
Åland Islands;Europe;AX;
axe312ger / gist:7784737
Created Dec 4, 2013
Fix vagrant error: Error: Failed to set group to '0': Operation not permitted - [shared folder] Error: /Stage[main]//Apache::Vhost[ZvdLK5xWSmjX]/File[shared folder]/group: change from dialout to root failed: Failed to set group to '0': Operation not permitted - [shared folder] Warning: /Stage[main]//Apache::Vhost[ZvdLK5xWSmjX]/File[25-ZvdLK5xWSm…
View gist:7784737
sudo chgrp 0 [shared folder on host]
You can’t perform that action at this time.