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
{ | |
"frames": | |
[ | |
{% for sprite in spritesAndAliases %}{% if currentLoop.currentIndex > 0 %},{% /if %} | |
{ | |
"filename": "{{ sprite.name }}", | |
"frame": {"x":{{ sprite.textureRectX }},"y":{{ sprite.textureRectY }},"w":{{ sprite.textureRectWidth }},"h":{{ sprite.textureRectHeight }}}, | |
"rotated": {% if sprite.isRotated %}true{% else %}false{% /if %}, | |
"trimmed": {% if sprite.isTrimmed %}true{% else %}false{% /if %}, |
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
/* | |
THIS GIST IS OUT OF DATE AND NOT MONITORED | |
PLEASE SEE https://github.com/leecrossley/cordova-plugin-shake-detection | |
*/ | |
var shake = (function () { | |
var shake = {}, | |
watchId = null, | |
options = { frequency: 300 }, | |
previousAcceleration = { x: null, y: null, z: null }, |
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
# url.txt should contain the URL load in Chrome in full screen. | |
do shell script "open '/Applications/Google Chrome.app' " & readFile("/url.txt") | |
tell application "Google Chrome" to activate | |
tell application "System Events" | |
keystroke "f" using {command down, shift down} | |
end tell | |
# All this just to read a file; no backticks in AppleScript. | |
on readFile(unixPath) |
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 | |
# | |
#################################### | |
# iTunes Command Line Control v1.0 | |
# written by David Schlosnagle | |
# created 2001.11.08 | |
# edit 2010.06.01 rahul kumar | |
#################################### | |
showHelp () { |