Mac용 homebrew 설치하기 Installation Page History Paste this at a shell prompt: /usr/bin/ruby -e "$(curl -fsSL https://raw.github.com/gist/323731)" (Make sure to run this inside a stand-alone terminal, not something like Emacs Shell.) Read the script first if you like. The script installs Homebrew to /usr/local so that you don’t need sudo when you brew install. It is a careful script, it can be run even if you have stu.. 더보기 Push 에러 관련 : Apple Push Notification: Failed to register with error: Error Domain=NSCocoaErrorDomain Apple Push Notification: Failed to register with error: Error Domain=NSCocoaErrorDomain I’m currently working on getting Push Notifications to work in my test application using Urban Airship’s service and got this message: Failed to register with error: Error Domain=NSCocoaErrorDomain Code=3000 UserInfo=0x117520 "no valid 'aps-environment' entitlement string found for application" I searched the.. 더보기 Objective C 에서 sha512 사용하기 1. This function will hash a string using SHA512. The resulting string is a hex representation of the hash: + (NSString *) createSHA512:(NSString *)source { const char *s = [source cStringUsingEncoding:NSASCIIStringEncoding]; NSData *keyData = [NSData dataWithBytes:s length:strlen(s)]; uint8_t digest[CC_SHA512_DIGEST_LENGTH] = {0}; CC_SHA512(keyData.bytes, keyData.length, digest); NSData *out = .. 더보기 이전 1 ··· 21 22 23 24 25 26 27 다음