分類はしませんので、必要があれば検索してください。基本的に、ネットへの接続が問題だったために起きているエラーです。
異常時
% gem update cocoapods
Updating installed gems
^CERROR: Interrupted
% brew upgrade mongodb | |
==> Upgrading 1 outdated package, with result: | |
mongodb 2.4.5 | |
==> Upgrading mongodb | |
==> Downloading http://fastdl.mongodb.org/osx/mongodb-osx-x86_64-2.4.5.tgz | |
######################################################################## 100.0% | |
==> Caveats | |
To have launchd start mongodb at login: | |
ln -sfv /usr/local/opt/mongodb/*.plist ~/Library/LaunchAgents | |
Then to load mongodb now: |
- (void)osVersion | |
{ | |
NSString *targetVersion = @"6.0"; | |
NSString *osVersion = [[UIDevice currentDevice] systemVersion]; | |
NSLog(@"OSのバージョン:%@", osVersion); | |
if ([osVersion compare:targetVersion options:NSNumericSearch] == NSOrderedAscending) { | |
NSLog(@"iOS%@前のバージョン", osVersion); | |
} |
Ubuntu 12.04 production environment for Ruby 2, Rails 4, Nginx and Passenger (work in progress) | |
#install required packages | |
apt-get update | |
apt-get upgrade -y | |
apt-get install -y git curl build-essential libssl-dev libcurl4-openssl-dev nodejs | |
#optional | |
apt-get install libsqlite3-dev sqlite3 |
~/.rbenv/plugins/ruby-build/share/ruby-build/2.0.0-p247 | |
install_package "openssl-1.0.1e" "https://www.openssl.org/source/openssl-1.0.1e.tar.gz#66bf6f10f060d561929de96f9dfe5b8c" mac_openssl --if has_broken_mac_openssl | |
# 接続できないのでコメントアウト | |
#install_package "ruby-2.0.0-p247" "http://ftp.ruby-lang.org/pub/ruby/2.0/ruby-2.0.0-p247.tar.gz#c351450a0bed670e0f5ca07da3458a5b" standard verify_openssl | |
# 臨時的にこのURLを使用 |
% curl -kL https://raw.github.com/saghul/pythonz/master/pythonz-install | bash | |
% Total % Received % Xferd Average Speed Time Time Time Current | |
Dload Upload Total Spent Left Speed | |
100 2596 100 2596 0 0 349 0 0:00:07 0:00:07 --:--:-- 372 | |
Downloading https://github.com/saghul/pythonz/tarball/master | |
######################################################################## 100.0% | |
Extracting /Users/naokits/.pythonz/dists/pythonz-latest.tar.gz | |
Installing pythonz into /Users/naokits/.pythonz |
デバッグ - テクニカルサポート - Apple Developer
https://developer.apple.com/jp/support/technical/debugging/
Apple ソフトウェア製品で使われる一般的な TCP および UDP ポート
http://support.apple.com/kb/TS1629?viewlocale=ja_JP&locale=ja_JP
/** | |
* 昭和64年 = 平成元年 = 1989年というルールから、簡単に昭和と西暦、平成と西暦を変換 | |
*/ | |
#import <Foundation/Foundation.h> | |
#define HEISEI_MAGIC_NUMBER 12 | |
#define SHOWA_MAGIC_NUMBER 25 | |
@interface Hoge : NSObject |
Login - Facebook開発者
https://developers.facebook.com/docs/reference/login/#permissions
1 - Authenticate Using Facebook Login - Facebook開発者
https://developers.facebook.com/docs/tutorials/ios-sdk-tutorial/authenticate/