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
| // | |
| // NSContainer+Subscripting.h | |
| // | |
| // Created by Markus Emrich on 10.08.12. | |
| // Copyright 2012 nxtbgthng. All rights reserved. | |
| // | |
| #if !defined(__IPHONE_6_0) || __IPHONE_OS_VERSION_MIN_REQUIRED < __IPHONE_6_0 | |
| #import "NSContainer+Subscripting.h" |
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
| #!/usr/bin/env ruby | |
| # Usage: gitio URL [CODE] | |
| # | |
| # Turns a github.com URL | |
| # into a git.io URL | |
| # | |
| # Copies the git.io URL to your clipboard. | |
| url = ARGV[0] | |
| code = ARGV[1] |
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
| // | |
| // NSColor+Hex.h | |
| // SoundCloud | |
| // | |
| // Created by Robert Böhnke on 4/1/11. | |
| // Copyright 2011 Soundcloud Ltd. All rights reserved. | |
| // | |
| #import <Foundation/Foundation.h> |
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
| require 'net/https' | |
| module SecurityModule | |
| class HighSecurity | |
| class ReallyHighSecurity | |
| def self.turn_on_safe_connections | |
| OpenSSL::SSL::VERIFY_NONE | |
| end | |
| end | |
| end |
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
| # Deploying a Sinatra app to Heroku | |
| ## Database | |
| The location of the database Heroku provides can be found in the environment | |
| variable DATABASE_URL. Check the configure-block of toodeloo.rb for an example | |
| on how to use this. | |
| ## Server | |
| Heroku is serving your apps with thin, with means you have all your thin goodness available, | |
| such as EventMachine. |