Skip to content

Instantly share code, notes, and snippets.

View mojoaxel's full-sized avatar
🏠
Working from home

Alexander Wunschik mojoaxel

🏠
Working from home
View GitHub Profile
@mojoaxel
mojoaxel / font-boosting.css
Last active July 1, 2019 18:23 — forked from sethlilly/font-boosting.css
Disable font boosting on mobile browsers
/* disable font boosting on mobile browsers */
body * {
max-height: 1000000em; /* Chrome for Android */
-moz-text-size-adjust: none; /* Firefox Mobile */
}
#!/bin/sh
## Node.js for Raspberry Pi Packaging Script
## =========================================
## Execute this script from within node.js git repo
## Use like this:
## ~/node/$ VERSION=v0.10.0 ./buildnode.sh
if [ -z $VERSION ]; then
echo "set the VERSION first"
exit 1
@mojoaxel
mojoaxel / nano_jsyntax_highlightning.sh
Last active December 10, 2015 04:28
Improve syntax-highlighting for the nano text editor
#!/bin/sh
### Improve syntax-highlighting for the nano editor.
### by mojoaxel <[email protected]>
### NOT TESTED YET!! USE WITH CARE!!
### http://www.if-not-true-then-false.com/2009/tuning-nano-text-editor-with-nanorc/
### download sytax setting for javascript
@mojoaxel
mojoaxel / gist:1616416
Created January 15, 2012 16:53 — forked from leplatrem/gist:1415767
Leaflet Offline Tiles using SQL Storage
/*
* L.TileLayer.LocalCache : A tile layer using SQL Storage, if available.
*/
L.TileLayer.LocalCache = L.TileLayer.extend({
options: {
minZoom: 0,
maxZoom: 18,
tileSize: 256,
subdomains: 'abc',
@mojoaxel
mojoaxel / mobile-meta-links.html
Created January 9, 2012 21:35
iOS Web App Configuration