Skip to content

Instantly share code, notes, and snippets.

View axe312ger's full-sized avatar
🏝️
Enjoying life

Benedikt Rötsch axe312ger

🏝️
Enjoying life
  • Remote / Berlin / Germany
View GitHub Profile
@axe312ger
axe312ger / .svgo.yml
Last active June 16, 2016 15:07
Created optimized svg sprite which allows coloring via css by using currentColor. Uses svgo and svgSprite.
multipass: true
js2svg:
pretty: true
indent: 2
plugins:
- convertColors:
currentColor: true
- collapseGroups: true

Keybase proof

I hereby claim:

  • I am axe312ger on github.
  • I am axe312 (https://keybase.io/axe312) on keybase.
  • I have a public key ASAj7L_SgUss0rrC-wMRLYmyQRLGp9W55rw862reuiitGwo

To claim this, I am signing this object:

@axe312ger
axe312ger / utf8EncodeURIComponent.js
Last active September 9, 2016 11:48
Human readable encodeURIComponent results since utf-8 is widely supported yet.
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)
.join('')
@axe312ger
axe312ger / css-ninja.md
Last active July 30, 2018 10:20
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
axe312ger / metalsmith-plugins.md
Created January 22, 2018 21:04
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
axe312ger / cleanup-dev-workstation.md
Last active March 15, 2022 11:55
Keep your developer system clean

Clean up your developer workstation

Free disk space on your development workstation by cleaning some caches

OSX/Brew

brew cleanup
for i in *.MP4; do ffmpeg -i "$i" -an -filter:v "setpts=0.25*PTS" -r 60 -map_metadata 0 -movflags use_metadata_tags "optimized/${i%.*}.mp4"; done