Skip to content

Instantly share code, notes, and snippets.

View ptseng's full-sized avatar

Phil Tseng ptseng

View GitHub Profile
@ptseng
ptseng / keybase.md
Created May 26, 2015 19:10
Keybase Proof

Keybase proof

I hereby claim:

  • I am ptseng on github.
  • I am ptseng (https://keybase.io/ptseng) on keybase.
  • I have a public key whose fingerprint is 1A56 290D C033 7BBE 2E1C 38CC F535 073F 4721 BF36

To claim this, I am signing this object:

@ptseng
ptseng / fa.xml
Created January 1, 2016 00:38
FA for F55
<?xml version="1.0" encoding="UTF-8" standalone="yes"?>
<faList>
<id name="">
<comment/>
<ns1:fa xmlns:ns1="http://bmw.com/2005/psdz.data.fa">
<ns1:header createdBy="" date="2015-12-31-08:00" time="12:57:11" vinLong="WMWXU1C51GXXXXXXX"/>
<ns1:standardFA colourCode="0850" faVersion="3" fabricCode="BZE1" series="F055" timeCriteria="0715" typeKey="XU13">
<ns1:eCodes>
<ns1:eCode>A080</ns1:eCode>
<ns1:eCode>POLS</ns1:eCode>
@ptseng
ptseng / NetworkingPlayground.swift
Last active November 24, 2022 21:38
Code Sample for Leveraging Structs and Generics in the Networking Layer with Swift 4 (An update to objc.io Swift Talk)
import Foundation
import UIKit
import PlaygroundSupport
// MARK: HttpMethod
enum HttpMethod<Body> {
case get
case post(Body)
}