I hereby claim:
- I am demon1105 on github.
- I am demonnico (https://keybase.io/demonnico) on keybase.
- I have a public key whose fingerprint is 4F29 DF51 438E F0DA 6D12 325E A80B 7A46 78AB FAFA
To claim this, I am signing this object:
| // Use Gists to store code you would like to remember later on | |
| console.log(window); // log the "window" object to the console |
| /usr/libexec/PlistBuddy -c Print:UDID udid.plist | |
| ios devices:add "name"=udid | |
| ios profiles:devices:add profilename "name"=udid | |
| rm -f profilename.mobileprovision | |
| ios profiles:download profilename |
| //get default metadata infomation from CMSampleBufferRef instance. | |
| NSDictionary * dic = | |
| (__bridge NSDictionary*)CMCopyDictionaryOfAttachments(NULL, imageDataSampleBuffer, kCMAttachmentMode_ShouldPropagate); | |
| NSLog(@"default metadata:%@",dic); | |
| // |
| lipo -info hello.a // print the static library's fat info. |
I hereby claim:
To claim this, I am signing this object:
| // .h | |
| @interface UIDevice (ProcessesAdditions) | |
| - (NSArray *)runningProcesses; | |
| @end | |
| // .m | |
| #import <sys/sysctl.h> | |
| @implementation UIDevice (ProcessesAdditions) |
| #!/bin/sh | |
| git filter-branch --env-filter ' | |
| OLD_EMAIL="[email protected]" | |
| CORRECT_NAME="Your Correct Name" | |
| CORRECT_EMAIL="[email protected]" | |
| if [ "$GIT_COMMITTER_EMAIL" = "$OLD_EMAIL" ] | |
| then | |
| export GIT_COMMITTER_NAME="$CORRECT_NAME" | |
| export GIT_COMMITTER_EMAIL="$CORRECT_EMAIL" |