| ⌘T | go to file |
| ⌘⌃P | go to project |
| ⌘R | go to methods |
| ⌃G | go to line |
| ⌘KB | toggle side bar |
| ⌘⇧P | command prompt |
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
| // | |
| // RBResizer.swift | |
| // Locker | |
| // | |
| // Created by Hampton Catlin on 6/20/14. | |
| // Copyright (c) 2014 rarebit. All rights reserved. | |
| // | |
| import UIKit |
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
| // See the accompanying blog post: http://chris.eidhof.nl/posts/tiny-networking-in-swift.html | |
| public enum Method: String { // Bluntly stolen from Alamofire | |
| case OPTIONS = "OPTIONS" | |
| case GET = "GET" | |
| case HEAD = "HEAD" | |
| case POST = "POST" | |
| case PUT = "PUT" | |
| case PATCH = "PATCH" | |
| case DELETE = "DELETE" |
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 0.59 | |
| # | |
| # General options | |
| # | |
| # The type of line endings | |
| newlines = auto # auto/lf/crlf/cr | |
| # The original size of tabs in the input |
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
| #!/bin/bash | |
| # begin config section | |
| SOURCE=src | |
| BUILD=dist | |
| MAINCLASS=CrosswordApp | |
| UNCRUSTIFY=uncrustify.cfg | |
| OWNPACKAGES="com.hovercatsw uk.ac.soton" | |
| # end of config section | |
| TARGET=$BUILD/$MAINCLASS.java | |
| COMPLETE=`tempfile --prefix=flatten` |
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
| #!/bin/sh | |
| #uncrustify -l OC -c ~/.uncrustify --no-backup $(find -x -E $SRCROOT -not -regex '.*/\.?External/*.*' -name "*.[mh]") | |
| if [ $# -ne 1 ]; then | |
| echo "Please pass the name of the directory to format" | |
| exit 1; | |
| fi | |
| if [ ! -d $1 ]; then | |
| echo "$1 is not a directory" |
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
| <!DOCTYPE html> | |
| <html lang="en"> | |
| <head> | |
| <meta http-equiv="Content-type" content="text/html; charset=utf-8" /> | |
| <title>Stripe Sample Form</title> | |
| <script type="text/javascript" src="https://ajax.googleapis.com/ajax/libs/jquery/1.6.2/jquery.min.js"></script> | |
| <script type="text/javascript" src="https://ajax.aspnetcdn.com/ajax/jquery.validate/1.8.1/jquery.validate.min.js"></script> | |
| <script type="text/javascript" src="https://js.stripe.com/v1/"></script> | |
| <script type="text/javascript"> |
NewerOlder