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 cvanderschuere on github. | |
* I am cvanderschuere (https://keybase.io/cvanderschuere) on keybase. | |
* I have a public key ASD2tRVHv0QTqjsTI8UBW9SgU66C53pxJ1WGfwRH0fxJFQo | |
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
package main | |
import "fmt" | |
import "time" | |
func main() { | |
finished := make(chan bool, 1) | |
go ticker(finished) | |
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
//How to save a password for a specific username | |
-(void) saveUsername:(NSString*)user withPassword:(NSString*)pass forServer:(NSString*)server { | |
NSError *error = nil; | |
[SFHFKeychainUtils storeUsername:user andPassword:pass forServiceName:@"com.tally" updateExisting:YES error:&error]; | |
if (error) { | |
NSLog(@"Save error: %@",error.localizedDescription); | |
} | |
} |