Skip to content

Instantly share code, notes, and snippets.

View g0dzill3r's full-sized avatar

Lee Crawford g0dzill3r

  • Etherfirma, LLC
View GitHub Profile
TigerTextRequester.login(String username, String password, LoginListener listener)
LoginListener.onLoggedIn(JSONObject userJson)
TigerTextAccountManager.getAuthDataFromJson(userJson)
// Pass the bundle from the last step into either addAccount() or updateAccount()
if (!mAccountManager.hasAccount(mUsername)) {
mAccountManager.addAccount(mUsername, authData);
} else {
class Program
{
static void Main(string[] args)
{
TT.Win.SDK.Global.Init("[API Key]", "[API Secret]"]);
TT.Win.SDK.Api.Events.MessageReceivedEvent += Events_MessageReceivedEvent;
TT.Win.SDK.Api.Events.StartListening();
Console.WriteLine("You can post message anytime by entering recipient, message and press <ENTER> (Format: recipientId;message)");
StartSendMessenger();
}
#import <TTKit/TTKit.h>
[[TTKit sharedInstance] initializeWithAgent:@”XXXX”]
[[TTKit sharedInstance] application:application
handleEventsForBackgroundURLSession:identifier
completionHandler:completionHandler];
[[TTKit sharedInstance] loginWithUserId:@"username" password:@"password"
success:^(TTUser *user) {
@g0dzill3r
g0dzill3r / keybase.md
Created February 27, 2015 16:58
keybase.md

Keybase proof

I hereby claim:

  • I am g0dzill3r on github.
  • I am leeopenwager (https://keybase.io/leeopenwager) on keybase.
  • I have a public key whose fingerprint is B4FA 4738 F01A 1FDF B19D C85B B304 B87E 659C 5A9B

To claim this, I am signing this object: