This file contains hidden or 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
Hey, I'm vindriaoc-746640 and I have contributed to the Privacy Pools Ceremony. | |
The following are my contribution signatures: | |
Circuit # 1 (withdraw) | |
Contributor # 504 | |
Contribution Hash: 06b4f598 c43add94 ebd16520 f5de8120 | |
4644380b 3f934e8e cfb282d7 8f415fa7 | |
c6a4738b c18c8b0f b107ef78 e859b586 | |
89950aeb 155bd2bd 96c87acf 95f88b7f |
This file contains hidden or 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 Ki={}; //Root of Kopi.TIME NameSpaces | |
var Kopi=Ki; //Root of Kopi.TIME NameSpaces | |
Kopi.app='App' //"Curr App", Application w/ share implementation (Ex: Kopi.Viewer) | |
Kopi.<App>={}; //"Some App" (Change <App> with your app name see Ex: Auth) | |
Kopi.<App>.f={}; //"Some App" must declare function in this namespaces! | |
Kopi.<App>.<Ns>={}; //"Some App" have NameSpace or copy of instance object | |
Kopi.Tab={}; //Tab Module | |
Kopi.Tab.Group. //Instance of tabGroup use in this application |
This file contains hidden or 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
## | |
# Use this script in one of several ways: | |
# To launch the Android package manager, ./t a | |
# To deploy to Android ./t /Code/PathToYourProject da | |
# To run the iOS Simulator ./t /Code/PathToYourProject si | |
# To run the Android Emulator ./t /Code/PathToYourProject sa | |
# Future feature: add support for deploying to iOS with the "di" flag | |
## | |
## |
This file contains hidden or 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 win = Ti.UI.createWindow({ | |
backgroundColor: 'white' | |
}); | |
var tableView = Ti.UI.createTableView(); | |
var setupDB = function() { | |
var db = Ti.Database.open('mydb.db'); | |
db.execute('CREATE TABLE IF NOT EXISTS DATABASETEST (ID INTEGER, NAME TEXT)'); | |
db.execute('DELETE FROM DATABASETEST'); |
This file contains hidden or 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
// the following code is both the logic and examples of using it | |
var win = Titanium.UI.currentWindow; | |
// I've set anyDensity to true in my app and this function enables the UI to properly scale | |
// you can safely delete this function and all references to it if you'd like | |
var adj = function(pixels) { | |
if(Titanium.Platform.name == 'iPhone OS') { | |
return pixels; | |
} else { |
This file contains hidden or 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 bash | |
## Command line interface for creating and building Titanium Mobile Android projects. | |
TI_SRC="$HOME/local/src/titanium_mobile" | |
TI_SDK="$TI_SRC/dist/mobilesdk/linux/1.7.0" | |
TI_VERSION_TAG="1_7_0_preview" | |
ANDROID_HOME=${ANDROID_HOME:-"$HOME/local/lib/android-sdk"} | |
JAVA_HOME=${JAVA_HOME:-"/usr/lib/jvm/java-6-sun"} #sun-java6-sdk | |
PROJECT_HOME="$HOME/projects/ti" |
This file contains hidden or 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 activity = Ti.Android.currentActivity; | |
var win = Ti.UI.currentWindow; | |
activity.addEventListener("create", function(e) { | |
var button = Ti.UI.createButton({title: "Hello world"}); | |
button.addEventListener("click", function(e) { | |
activity.finish(); | |
}); | |
win.add(button); | |
}); |
This file contains hidden or 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 win = Ti.UI.createWindow({ backgroundColor: '#fff' }); | |
win.add(Ti.UI.createLabel({ text: 'Type appcelerator.com in a browser, and this app will get launched. Try it!' })); | |
win.open(); |
This file contains hidden or 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 win = Ti.UI.createWindow({ backgroundColor: '#fff' }); | |
win.add(Ti.UI.createLabel({ text: 'Look for the notification! It should be there now.' })); | |
win.open(); | |
Titanium.Android.NotificationManager.notify( | |
0, // <-- this is an ID that we can use to clear the notification later | |
Ti.Android.createNotification({ | |
contentTitle: 'Cheese, Gromit!', | |
contentText: 'Swiss', | |
tickerText: 'Our app made a notification!', |
NewerOlder