Skip to content

Instantly share code, notes, and snippets.

View AMeijerNL's full-sized avatar

Alex Meijer AMeijerNL

View GitHub Profile
@AMeijerNL
AMeijerNL / Web Font - Characters
Last active December 18, 2015 09:48
Collection of special characters, which I use to test web font compatibility. Copy-paste the list inside a HTML document to test the characters
Aa Bb Cc Dd Ee Ff Gg Hh Ii Jj Kk Ll Mm Nn Oo Pp Qq Rr Ss Tt Uu Vv Ww Xx Yy Zz
1234567890 !@#$%^&*()[]{};'\:"|,./<>?-_+=±§`~
Ää Ââ Àà Áá Ãã Åå Ǟǟ Ææ Çç Ëë Êê Èè Éé Ḧḧ Ïï Îî Ìì Íí Ḯḯ Ññ Öö Ôô Òò Óó Õõ Ȫȫ Ṏṏ Øø
Tẗ Üü Ûû Ùù Úú Ǖǖ Ǘǘ Ǚǚ Ǜǜ Ṳṳ Ṻṻ Ẅẅ Ẍẍ Ýý Ÿÿ
© € £ ¥ º ® ß « » ¿ ¡
@AMeijerNL
AMeijerNL / Base64 encode images (Mac terminal)
Created June 12, 2013 07:59
No installs required, just change the filename and you're all set! Even better: First compress / minify your images (using a tool like ImageOptim). Uncompressed .png file (200x70 pixels) outputs as 4764 characters The same file, compressed: outputs as 1749 characters! Which is only 36% of the original size!
$ openssl enc -base64 -in YOUR_FILE.png | tr -d '\n'
@AMeijerNL
AMeijerNL / gist:984e95f68f6329d74aba
Created September 25, 2014 11:32
Viewport helpers
/* =================================
VIEWPORTS HELPERS
================================= */
.show-from {
&--mobile {
display: none;
@include breakpoint($mq-mobile){
display: initial;
}