Loosely ordered with the commands I use most towards the top. Sublime also offer full documentation.
Ctrl+C | copy current line (if no selection) |
Ctrl+X | cut current line (if no selection) |
Ctrl+⇧+K | delete line |
Ctrl+↩ | insert line after |
source :rubygems | |
gem 'sinatra' | |
gem 'json' | |
gem 'omniauth' | |
gem 'omniauth-oauth2' | |
gem 'omniauth-github' | |
gem 'omniauth-facebook' | |
gem 'omniauth-twitter' | |
# gem 'omniauth-att', :path => File.expand_path("./../../omniauth-att", __FILE__) |
### | |
Module dependencies | |
### | |
require.paths.unshift "#{__dirname}/lib/support/express-csrf/" | |
require.paths.unshift "#{__dirname}/lib/support/node_hash/lib/" | |
express = require 'express' | |
app = module.exports = express.createServer() | |
RedisStore = require 'connect-redis' |
NSURLConnection | NSURLSession | |
------------------------------------------------------------------------------------------------------------+-------------------------------------------------------------------------------------------------------------------------------------- | |
NSURLConnectionDelegate connectionShouldUseCredentialStorage: | | |
------------------------------------------------------------------------------------------------------------+-------------------------------------------------------------------------------------------------------------------------------------- | |
NSURLConnectionDelegate connection:willSendRequestForAuthenticationChallenge: | NSURLSessionDelegate URLSession:didReceiveChallenge:completionHandler: | |
| N |
Loosely ordered with the commands I use most towards the top. Sublime also offer full documentation.
Ctrl+C | copy current line (if no selection) |
Ctrl+X | cut current line (if no selection) |
Ctrl+⇧+K | delete line |
Ctrl+↩ | insert line after |
var backgroundColor: [UInt8] = [0, 0, 0, 0] | |
let GaussianBlurKernel: [Int16] = | |
[ 1, 4, 6, 4, 1, | |
4, 16, 24, 16, 4, | |
6, 24, 36, 24, 6, | |
4, 16, 24, 16, 4, | |
1, 4, 6, 4, 1 | |
] |
import UIKit | |
extension UIColor { | |
static func randomColor() -> UIColor { | |
let red = CGFloat(arc4random_uniform(255)) / 255.0 | |
let green = CGFloat(arc4random_uniform(255)) / 255.0 | |
let blue = CGFloat(arc4random_uniform(255)) / 255.0 | |
return UIColor(red: red, green: green, blue: blue, alpha: 1.0) | |
} |
import lldb | |
import commands | |
def __lldb_init_module (debugger, dict): | |
debugger.HandleCommand('command script add -f LBRShortcut.window_description_command window_description') | |
debugger.HandleCommand('command script add -f LBRShortcut.json_data_command json_data') | |
debugger.HandleCommand('command script add -f LBRShortcut.fire_fault_command fire_fault') | |
def window_description_command(debbuger, command, result, dict): |
import CoreData | |
public class Address: NSManagedObject { | |
@NSManaged public var city: String | |
@NSManaged public var country: String | |
@NSManaged public var person: Person | |
} |