Skip to content

Instantly share code, notes, and snippets.

Rich Hong hongrich

Block or report user

Report or block hongrich

Hide content and notifications from this user.

Learn more about blocking users

Contact Support about this user’s behavior.

Learn more about reporting abuse

Report abuse
View GitHub Profile
View gist:260fc8c36aaed3f2a63c0612ba9fc910
App Store Review Guidelines
Introduction
Apps are changing the world, enriching people’s lives, and enabling developers like you to innovate like never before. As a result, the App Store has grown into an exciting and vibrant ecosystem for millions of developers and more than a billion users. Whether you are a first time developer or a large team of experienced programmers, we are excited that you are creating apps for the App Store and want to help you understand our guidelines so you can be confident your app will get through the review process quickly.
The guiding principle of the App Store is simple - we want to provide a safe experience for users to get apps and a great opportunity for all developers to be successful. On the following pages you will find guidelines arranged into five clear sections: Safety, Performance, Business, Design, and Legal. A few other points to keep in mind:
We have lots of kids downloading lots of apps. Parental controls work great to protect kids, but you have to do your par
View keybase.md

Keybase proof

I hereby claim:

  • I am hongrich on github.
  • I am rich (https://keybase.io/rich) on keybase.
  • I have a public key whose fingerprint is B6E0 F151 06D0 F3B9 F277 8F17 560D 8252 4AEF 4FF3

To claim this, I am signing this object:

View gist:9176925
static OSStatus
SSLVerifySignedServerKeyExchange(SSLContext *ctx, bool isRsa, SSLBuffer signedParams,
uint8_t *signature, UInt16 signatureLen)
{
OSStatus err;
SSLBuffer hashOut, hashCtx, clientRandom, serverRandom;
uint8_t hashes[SSL_SHA1_DIGEST_LEN + SSL_MD5_DIGEST_LEN];
SSLBuffer signedHashes;
uint8_t *dataToSign;
size_t dataToSignLen;
@hongrich
hongrich / gist:989202
Created May 24, 2011
iOS launch app from safari or download app from store (from Square)
View gist:989202
a.launchOrInstallWallet = function () {
var b = new Date().getTime();
setTimeout(function () {
if (new Date().getTime() - b < 200) {
document.location = "itms://itunes.apple.com/us/app/square/id335393788"
}
}, 150);
document.location = "square-unbox://"
};
@hongrich
hongrich / gist:215692
Created Oct 22, 2009
Colony static arrays
View gist:215692
code/projects/autonomous_recharging/archs/USI_TWI_Slave.c:static uint8_t TWI_RxBuf[TWI_RX_BUFFER_SIZE];
code/projects/autonomous_recharging/archs/USI_TWI_Slave.c:static uint8_t TWI_TxBuf[TWI_TX_BUFFER_SIZE];
code/projects/colonet/robot/colonet_dragonfly/colonet_dragonfly.c:static UserHandler user_handlers[USER_DEFINED_MSG_TOTAL];
code/projects/colonet/robot/colonet_firefly+/colonet.c:static UserHandler user_handlers[USER_DEFINED_MSG_TOTAL];
code/projects/colonet/robot/dragonfly_wireless_relay/lcd.c:static const unsigned char FontLookup [][5] =
code/projects/colonet/robot/dragonfly_wireless_relay/rangefinder.h:static int IR_dist_conversion[114] = {
code/projects/colonet/server/colonet_wireless.cpp:static char log_filename[80];
code/projects/colonet/server/colonet_wireless.cpp:static char wl_port[40];
code/projects/colonet/server/manual_control/manualControlRobot/lcd.c:static const unsigned char FontLookup [][5] =
code/projects/colonet/server/manual_control/manualControlRobot/rangefinder.c:static int IR_dist_co
You can’t perform that action at this time.