Skip to content

Instantly share code, notes, and snippets.

View Jan0707's full-sized avatar

Jan Gregor Emge-Triebel Jan0707

View GitHub Profile
<?php
include_once 'vendor/autoload.php';
class Dummy
{
private $foo = 'bar';
private $bars = ['foo_One', 'fooKey' => 'fooValue'];
}
@Jan0707
Jan0707 / SwiftyJSONDebug.swift
Created April 16, 2015 17:55
SwiftyJSONDebug.swift
//: Playground - noun: a place where people can play
import UIKit
import XCPlayground
XCPSetExecutionShouldContinueIndefinitely()
let url = NSURL(string: "http://api.tvmaze.com/shows/1?embed=previousepisode")!
let session = NSURLSession.sharedSession()
//
// MasterViewController.swift
// HackerNewsTitles
//
// Created by Jan Gregor Triebel on 06.04.15.
// Copyright (c) 2015 Jan Gregor Triebel. All rights reserved.
//
import UIKit