Skip to content

Instantly share code, notes, and snippets.

View berkus's full-sized avatar
🎯
Haptic drift

Berkus Decker berkus

🎯
Haptic drift
View GitHub Profile
@berkus
berkus / gist:2651413
Created May 10, 2012 06:25 — forked from axelav/gist:1839777
Sublime Text 2 - Useful Shortcuts

Sublime Text 2 – Useful Shortcuts (Mac OS X)

General

⌘T go to file
⌘⌃P go to project
⌘R go to methods
⌃G go to line
⌘KB toggle side bar
⌘⇧P command prompt
@berkus
berkus / index.html
Last active December 13, 2015 18:08 — forked from darwin/index.html
<!DOCTYPE html>
<meta charset="utf-8">
<link rel="stylesheet" href="http://cmx.io/v/0.1/cmx.css"/>
<script src="http://cmx.io/v/0.1/cmx.js"></script>
<body>
<div style="max-width:600px; -webkit-transform:rotate(0deg);">
<scene id="scene1" width="400px">
<label t="translate(0,346) rotate(-3)">
<tspan x="0" y="0em">One crazy day</tspan>
;
; Selfer.
;
; Shikhin Sethi, the author of selfer, has dedicated the work to the public domain
; by waiving all of his or her rights to the work worldwide under copyright law,
; including all related and neighboring rights, to the extent allowed by law.
;
; You can copy, modify, distribute and perform the work, even for commercial purposes, all without asking permission.
;
; https://creativecommons.org/publicdomain/zero/1.0/
;
; Selfer.
;
; Shikhin Sethi, the author of selfer, has dedicated the work to the public domain
; by waiving all of his or her rights to the work worldwide under copyright law,
; including all related and neighboring rights, to the extent allowed by law.
;
; You can copy, modify, distribute and perform the work, even for commercial purposes,
; all without asking permission.
;
//
// SWFHTTPClient
// RACCancelTest
//
// Created by Nikolay Kasyanov on 29.03.13.
// Copyright (c) 2013 Softwear Finance. All rights reserved.
//
#import "SWFHTTPClient.h"
@implementation SWFHTTPClient {
# Copyright (C) 2011 Anurag Priyam - MIT License
module Jekyll
# Jekyll plugin to generate tag clouds.
#
# The plugin defines a `tag_cloud` tag that is rendered by Liquid into a tag
# cloud:
#
# <div class='cloud'>
//
// RemoteEntity.h
//
// Created by Christopher Bradford on 5/6/10.
// Copyright 2010 INM United. All rights reserved.
//
@interface RemoteEntity : NSManagedObject
{
app-admin/logrotate clang
app-admin/sudo clang
app-admin/syslog-ng clang
app-arch/bzip2 clang
app-arch/cpio clang
app-arch/file-roller clang
app-arch/gzip clang
app-arch/lha clang
app-arch/libarchive clang
app-arch/lz4 clang
protocol ISubscriber {
typealias Element
func sendNext(e: Element)
func sendError(e: NSError)
func sendCompleted()
}
/// Wraps RACSubscriber
class Subscriber<T: AnyObject> : ISubscriber {