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
#import <sqlite3.h> | |
NSString *databasePath = [[NSSearchPathForDirectoriesInDomains(NSDocumentDirectory, NSUserDomainMask, YES) objectAtIndex:0] | |
stringByAppendingPathComponent: @"sqlcipher.db"]; | |
sqlite3 *db; | |
bool sqlcipher_valid = NO; | |
if (sqlite3_open([databasePath UTF8String], &db) == SQLITE_OK) { | |
const char* key = [@"BIGSecret" UTF8String]; | |
sqlite3_key(db, key, strlen(key)); |
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
Trello iOS 3.3.1 is bugfix release with fixes for missing boards, French translations, and crashy team-related notifications. Also, the nostalgia you would feel upon archiving a card with a faded lithograph of your friend from long ago has been intensified and then removed from the app. | |
~ ~ ~ | |
TRELLO iOS 3.3 RELEASE NOTES | |
Our iOS 9 release! | |
• On newer iPads, open the app in Split View and Slide Over. Get more done when you use Trello alongside your other favorite apps. | |
• On iPhone 6S and 6S+, peek and pop open cards with 3D Touch. Then, three-dimensionally touch the Trello app icon for Quick Actions. You can check out your notifications or create cards right from the home screen. |
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
cc -framework Security \ | |
-mmacosx-version-min=10.7 \ | |
-I${SQLCIPHER_DIR} \ | |
-o ./sqlcipher ${SQLCIPHER_DIR}/src/shell.c \ | |
/path/to/libsqlcipher.a |
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
static void ditto_createFunc(sqlite3_context *context, int argc, sqlite3_value **argv) { | |
sqlite3 *db = sqlite3_context_db_handle(context); | |
if(ditto_exec(db, | |
"CREATE TABLE ditto_log (" | |
" rep_id TEXT NOT NULL," | |
" csn INTEGER NOT NULL," | |
" timestamp DATETIME NOT NULL," | |
" type TEXT NOT NULL," | |
" object_name TEXT NOT 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
// | |
// AppDelegate.m | |
// SecureLoginDelegate | |
// | |
// Created by Billy Gray on 10/19/14. | |
// Copyright (c) 2014 Zetetic. All rights reserved. | |
// | |
#import "AppDelegate.h" | |
#import <sqlite3.h> |
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
PhaseScriptExecution Run\ Script /Users/billy/Library/Developer/Xcode/DerivedData/SQLCipherSpeed-cqrfepqyetjdfxbhaqmkjlkhzbxm/Build/Intermediates/sqlcipher.build/Debug-iphoneos/amalgamation.build/Script-9069D08A0FCE185A0042E34C.sh | |
cd /Users/billy/Documents/Sources/SQLCipherSpeed/sqlcipher | |
export ACTION=build | |
export AD_HOC_CODE_SIGNING_ALLOWED=NO | |
export ALTERNATE_GROUP=staff | |
export ALTERNATE_MODE=u+w,go-w,a+rX | |
export ALTERNATE_OWNER=billy | |
export ALWAYS_SEARCH_USER_PATHS=YES | |
export ALWAYS_USE_SEPARATE_HEADERMAPS=YES | |
export APPLE_INTERNAL_DEVELOPER_DIR=/AppleInternal/Developer |
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
### Keybase proof | |
I hereby claim: | |
* I am billymeltdown on github. | |
* I am billymeltdown (https://keybase.io/billymeltdown) on keybase. | |
* I have a public key whose fingerprint is 0EED A3EF C881 B376 1DF4 4BFD 6BDF 18EB 9D6B 3CE7 | |
To claim this, I am signing this object: |
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
DELETE FROM entries WHERE category_id = ? AND id NOT IN ( ?,?,?,?,?,?,?,?,?,?,?,?,?,?,?,?,?,?,?,?,?,?,?,?,?,?,?,?,?,?,?,?,?,?,?,?,?,?,?,?,?,?,?,?,?,?,?,?,?,?,?,?,?,?,?,?,?,?,?,?,?,?,?,?,?,?,?,?,?,?,?,?,?,?,?,?,?,?,?,?,?,?,?,?,?,?,?,?,?,?,?,?,?,?,?,?,?,?,?,?,?,?,?,?,?,?,?,?,?,?,?,?,?,?,?,?,?,?,?,?,?,?,?,?,?,?,?,?,?,?,?,?,?,?,?,?,?,?,?,?,?,?,?,?,?,?,?,?,?,?,?,?,?,?,?,?,?,?,?,?,?,?,?,?,?,?,?,?,?,?,?,?,?,?,?,?,?,?,?,?,?,?,?,?,?,?,?,?,?,?,?,?,?,?,?,?,?,?,?,?,?,?,?,?,?,?,?,?,?,?,?,?,?,?,?,?,?,?,?,?,?,?,?,?,?,?,?,?,?,?,?,?,?,?,?,?,?,?,?,?,?,?,?,?,?,?,?,?,?,?,?,?,?,?,?,?,?,?,?,?,?,?,?,?,?,?,?,?,?,?,?,?,?,?,?,?,?,?,?,?,?,?,?,?,?,?,?,?,?,?,?,?,?,?,?,?,?,?,?,?,?,?,?,?,?,?,?,?,?,?,?,?,?,?,?,?,?,?,?,?,?,?,?,?,?,?,?,?,?,?,?,?,?,?,?,?,?,?,?,?,?,?,?,?,?,?,?,?,?,?,?,?,?,?,?,?,?,?,?,?,?,?,?,?,?,?,?,?,?,?,?,?,?,?,?,?,?,?,?,?,?,?,?,?,?,?,?,?,?,?,?,?,?,?,?,?,?,?,?,?,?,?,?,?,?,?,?,?,?,?,?,?,?,?,?,?,?,?,?,?,?,?,?,?,?,?,?,?,?,?,?,?,?,?,?,?,?,?,?,?,?,?,?,?,?,?,?,?,?,?,?,?,?,?,?,?,?,?,?,?,?,?,?,?,?,?,?,?,?,?,?,?,?,?,?,?,?,?,?,?,?,?,?, |
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
+ (NSDictionary *)scanTableColumns { | |
// Basically: PRAGMA table_info( your_table_name ); | |
NSMutableDictionary *columns = [[[NSMutableDictionary alloc] init] autorelease]; | |
NSString *sql = [NSString stringWithFormat:@"PRAGMA table_info( '%@' );", [[self class] tableName]]; | |
[[self class] execute:sql withBlock:^(sqlite3_stmt *stmt) { | |
NSMutableDictionary *column = [NSMutableDictionary dictionary]; | |
const unsigned char *cName; | |
NSString *stringName = @"Unknown Column"; | |
cName = sqlite3_column_text(stmt, 1); // name is col 1 | |
if (cName != 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
- (IBAction)killingMeSoftlyWith:(id)thisSong | |
{ | |
if (self.fugeez) // NEVER do this | |
self.jam = thisSong; | |
self.jam = [self somethingElse]; | |
} |
NewerOlder