This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
<!-- Mobile meta & links --> | |
<!-- Reference | |
Custom Icon and Image Creation Guidelines: | |
http://developer.apple.com/library/safari/#documentation/UserExperience/Conceptual/MobileHIG/IconsImages/IconsImages.html | |
Configuring Web Applications: | |
http://developer.apple.com/library/safari/#documentation/appleapplications/reference/safariwebcontent/configuringwebapplications/configuringwebapplications.html |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
/* | |
* 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', |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
#!/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 |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
#!/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 |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
/* disable font boosting on mobile browsers */ | |
body * { | |
max-height: 1000000em; /* Chrome for Android */ | |
-moz-text-size-adjust: none; /* Firefox Mobile */ | |
} |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
var http = require("http"); | |
var url = require("url"); | |
var fs = require("fs"); | |
var port = process.argv[2] || 8080; | |
var contentTypes = { | |
'ico': 'image/x-icon', | |
'html': 'text/html', | |
'js': 'application/javascript', | |
'json': 'application/json', |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
/* | |
* Retina Images using Handlebars.js | |
* | |
* Created by [Makis Tracend](@tracend) | |
* Released under the [MIT license](http://makesites.org/licenses/MIT) | |
* | |
* Usage: <img src="{{retina 'http://mydoma.in/path/to/image.jpg'}}"> | |
*/ | |
Handlebars.registerHelper('retina', function( src ) { | |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
#!/bin/bash | |
ps -ef | grep $1 | grep -v grep | awk '{print $2}' | xargs kill -9 |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
<?xml version="1.0" encoding="UTF-8"?> | |
<scriptfile> | |
<settings program="actiona" version="3.9.1" scriptVersion="1.1.0" os="GNU/Linux"/> | |
<actions> | |
<action name="ActionClick" version="1.0.0"/> | |
<action name="ActionLoop" version="1.0.0"/> | |
<action name="ActionWriteText" version="1.0.0"/> | |
<action name="ActionKey" version="1.0.0"/> | |
<action name="ActionOpenURL" version="1.0.0"/> | |
<action name="ActionVariable" version="1.0.0"/> |
OlderNewer