Skip to content

Instantly share code, notes, and snippets.

@derrickshowers
derrickshowers / gist:80fb450490ff03e6e274
Created April 18, 2015 23:54
Delegation Design Pattern Using Swift
import UIKit
protocol YelpRequestDelegate {
func getYelpData() -> AnyObject
func processYelpData(data: NSData) -> NSData
}
class YelpAPI {
var delegate: YelpRequestDelegate?
@developius
developius / README.md
Last active July 14, 2024 15:45
Setup SSH keys for use with GitHub/GitLab/BitBucket etc
@RichardBronosky
RichardBronosky / multiple_ssh_setting.md
Last active June 5, 2024 19:16 — forked from jexchan/multiple_ssh_setting.md
Multiple SSH keys for different github accounts

Multiple SSH Keys settings for different github account

create different public key

create different ssh key according the article Mac Set-Up Git

$ ssh-keygen -t rsa -C "[email protected]"
@akrusz
akrusz / DiscreteUncertainGraph.html
Created September 23, 2012 01:36
D3 graph incorporating uncertainty.
<html>
<head>
<title>Uncertainty: Improving the dot plot</title>
<meta http-equiv="content-type" content="application/xhtml+xml; charset=utf-8" />
<script type="text/javascript" src="d3.js"></script>
<script type="text/javascript" src="jquery-1.8.2.min.js"></script>
<style type="text/css">
.axis path,
.axis line {
@dsc
dsc / chart.css
Created September 21, 2012 04:10
d3.js: A Sine Graph
svg {
font: 10px sans-serif;
}
.axis path, .axis line {
fill: none;
stroke: #000;
shape-rendering: crispEdges;
}