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
geoloqi.init({ | |
clientId: "xxxxxxx", | |
clientSecret: "xxxxxxx", | |
trackingProfile: "OFF", // Don't automatically start tracking | |
allowAnonymousUsers:false, // Don't automatically create a user when starting up the first time | |
pushAccount: "[email protected]", // Sets the push account to use for Android notifications | |
pushIcon: "push_icon" // Also required for Android push notifications | |
}, { | |
onSuccess:function(e) { | |
if (geoloqi.session==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
#!/usr/bin/env sh | |
## | |
# This is script with usefull tips taken from: | |
# https://github.com/mathiasbynens/dotfiles/blob/master/.osx | |
# | |
# install it: | |
# curl -sL https://raw.github.com/gist/2108403/hack.sh | sh | |
# |
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
/* | |
ColorBox Core Style: | |
The following CSS is consistent between example themes and should not be altered. | |
*/ | |
#colorbox, #cboxOverlay, #cboxWrapper{position:absolute; top:0; left:0; z-index:10001; overflow:hidden;} | |
#cboxOverlay{position:fixed; width:100%; height:100%;} | |
#cboxMiddleLeft, #cboxBottomLeft{clear:left;} | |
#cboxContent{position:relative;} | |
#cboxLoadedContent{overflow:auto;} | |
#cboxTitle{margin:0;} |
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
// Using the JavaScript module pattern, create a persistence module for CRUD operations | |
// One tutorial on the Module Pattern: http://www.adequatelygood.com/2010/3/JavaScript-Module-Pattern-In-Depth | |
var db = (function() { | |
//create an object which will be our public API | |
var api = {}; | |
//maintain a database connection we can use | |
var conn = Titanium.Database.open('todos'); | |
//Initialize the database |