Skip to content

Instantly share code, notes, and snippets.

Keybase proof

I hereby claim:

  • I am aleclaws on github.
  • I am aleclawsid (https://keybase.io/aleclawsid) on keybase.
  • I have a public key ASBQVMpEU24lu4YhaZXl401oU52QAMBqd5S7r6pDvDatCgo

To claim this, I am signing this object:

@aleclaws
aleclaws / seckeyrefnsdata.c
Last active September 1, 2021 05:32
SecKeyRef to NSData
// HELPER QUERIES
void queryValueToData(NSMutableDictionary *query, void * value) {
query[(__bridge id)kSecValueRef] = (__bridge id)value ;
query[(__bridge id)kSecReturnData] = @YES ;
}
void queryDataToValue(NSMutableDictionary *query, id data) {
#include <stdio.h>
#include <stdlib.h>
struct _keywords {
const char *FIRST;
const char *SECOND;
};

Keybase proof

I hereby claim:

  • I am aleclaws on github.
  • I am aleclaws (https://keybase.io/aleclaws) on keybase.
  • I have a public key whose fingerprint is E34B 6DDE 3DE1 40C5 745D 0A9F 895B 33EB 1FB5 8C8F

To claim this, I am signing this object:

i) Each shuffle is described by n numbers t1,t2,...,tn
A shuffle defines a reindexing of the cards
```
given cards C = [ a b c d e]
and shuffle S = [ 2 3 4 5 1]
@aleclaws
aleclaws / gist:220b10793803aaa0c3c2
Created June 25, 2015 20:17
Can't Push Nav Controller
//
// AppDelegate.m
// fhwei
//
//
#import "AppDelegate.h"
@implementation AppDelegate