Skip to content

Instantly share code, notes, and snippets.

@digal
digal / gist:2a81d1ff0bdfd37ce7d5
Last active August 29, 2015 14:02
podfile stats
== podfiles: 30 ==
SDWebImage: 11
AFNetworking: 8
RestKit: 8
HockeySDK: 8
BlocksKit: 7
CocoaLumberjack: 6
MBProgressHUD: 6
TTTAttributedLabel: 5
@digal
digal / gist:f6af29483cf8ff1dc5bc
Created June 24, 2014 14:30
swift gen result
enum ProtocolMessage : Printable, Equatable {
case Keepalive
case Hello(pubkey: NSData, password: String)
case Send(encodedMessage: NSData, toPubkey: NSData)
case HelloResponse
case Message(encodedMessage: NSData, fromPubkey: NSData)
var description: String {
get {
switch self {
//src
var filmToActor = g.Morphism().Out("/film/film/starring").Out("/film/performance/actor")
g.V().Has("name", "Casablanca").Save("name", "source").Follow(filmToActor).Tag("target").All()
//Output (note the different "source" values in first and remaining records):
{
"result": [
{