Distribution : CentOS 6.5
GitLab version : 6.0 - 6.4
Web Server : Apache, Nginx
Init system : sysvinit
Database : MySQL, PostgreSQL
Contributors : @nielsbasjes, @axilleas, @mairin, @ponsjuh, @yorn, @psftw, @etcet
Additional Notes : In order to get a proper Ruby setup we build it from source
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
| $ ssh -p [ポート番号] root@[IPアドレス] | |
| The authenticity of host ******* can't be established. | |
| RSA key fingerprint is ********. | |
| Are you sure you want to continue connecting (yes/no)? yes | |
| # |
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
| ######################### | |
| # .gitignore file for Xcode5 | |
| # | |
| # NB: if you are storing "built" products, this WILL NOT WORK, | |
| # and you should use a different .gitignore (or none at all) | |
| # This file is for SOURCE projects, where there are many extra | |
| # files that we want to exclude | |
| # | |
| # For updates, see: http://stackoverflow.com/questions/49478/git-ignore-file-for-xcode-projects | |
| # and https://gist.github.com/adamgit/3786883 |
MacBookAirを再インストールするので愛用していたアプリをメモ
愛用アプリをメモがてらご紹介します。ざっと。ざざーっと。
- Google Chrome ⇒http://www.google.com/intl/ja/chrome/browser/
とりあえずまず一番始めにいれるのがブラウザ。ブックマーク等が同期できるので愛用しています。 - Homebrew ⇒http://brew.sh/
パッケージマネージャ。Macportsを利用してましたが乗り換えました。 - Bartender ⇒http://www.macbartender.com/
メニューバーに並ぶアプリアイコンをすっきりと整理させるためのアプリ。
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
| # | |
| # Uncrustify Configuration File | |
| # File Created With UncrustifyX 0.4.3 (252) | |
| # | |
| # Alignment | |
| # --------- | |
| ## Alignment |
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
| // Use Gists to store code you would like to remember later on | |
| console.log(window); // log the "window" object to the console |
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
| +(BOOL)isJailbroken{ | |
| #if !(TARGET_IPHONE_SIMULATOR) | |
| if ([[NSFileManager defaultManager] fileExistsAtPath:@"/Applications/Cydia.app"]){ | |
| return YES; | |
| }else if([[NSFileManager defaultManager] fileExistsAtPath:@"/Library/MobileSubstrate/MobileSubstrate.dylib"]){ | |
| return YES; | |
| }else if([[NSFileManager defaultManager] fileExistsAtPath:@"/bin/bash"]){ | |
| return YES; |
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
| import UIKit | |
| import Security | |
| class Keychain { | |
| class func save(key: String, data: NSData) -> Bool { | |
| let query = [ | |
| kSecClass as String : kSecClassGenericPassword as String, | |
| kSecAttrAccount as String : key, | |
| kSecValueData as String : data ] |
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
| <style type="text/css"> | |
| * {font-family:"Avenir Next", sans-serif;} | |
| #globalheader-container {display:none;} | |
| #footer-menu {display:none;} | |
| .profile {display:none !important;} | |
| .footer-action-wrapper {display:none;} | |
| .footer-service-link {display:none;} | |
| .entry-content h4 { color: rgb(59, 66, 126);/*₩ヨヌ¥ᆳラ│ノᄇ*/ | |
| background: rgb(243, 242, 252); /*│テフ₩ルᆵ│ノᄇ*/ | |
| padding: 10px 10px; /*│ᆭヒ¥ヌᄎ ̄チラ ̄チᄒ ̄ツマ ̄ツハ ̄チᆴ ̄ツᄍ ̄テレ ̄テᄐ ̄ツᄍ ¦ᄌハ¦ᄌヒ ̄タチ¥ᄋᆭ¥マᄈ*/ |
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
| Twitter API 1.1 の現行APIの制限 | |
| (REST API v1.1 Limits per window by resource) | |
| https://dev.twitter.com/docs/rate-limiting/1.1/limits | |
| ・15分辺り最大何回実行できるか | |
| Timelines | |
| GET statuses/mentions_timeline 15回 | |
| GET statuses/user_timeline 180回/user, 300回/application |