Skip to content

Instantly share code, notes, and snippets.

View yozef's full-sized avatar

Joseph yozef

  • Boston - San Francisco - Montréal
View GitHub Profile
@yozef
yozef / Ti Android SHA-1
Last active February 28, 2017 15:40 — forked from FokkeZB/shell
Get the Key Hash for Titanium's develoment keystore (replace 5.5.1.GA with your version)
Open Terminal:
keytool -exportcert -alias androiddebugkey -keystore ~/Library/Application Support/Titanium/mobilesdk/osx/6.0.1.GA/android/dev_keystore | openssl sha1 -binary | openssl base64
keytool -exportcert -alias tidev -keystore ~/Library/Application\ Support/Titanium/mobilesdk/osx/6.0.1.GA/android/dev_keystore -list -v
@yozef
yozef / example.js
Last active March 25, 2017 15:58 — forked from nulltask/usage.js
Appcelerator Titanium XML-RPC example.
var xmlrpc = require('./lib/xmlrpc');
var client = xmlrpc.createClient({
url: 'https://api.example.com/XML-RPC'
, username: 'xxxx'
, password: 'xxxx'
});
client
.call('foo.methodName')