Skip to content

Instantly share code, notes, and snippets.

View LeiHao0's full-sized avatar
πŸ˜ƒ
I may be slow to respond.

Lei Hao LeiHao0

πŸ˜ƒ
I may be slow to respond.
View GitHub Profile
<?xml version="1.0" encoding="UTF-8"?>
<!DOCTYPE plist PUBLIC "-//Apple//DTD PLIST 1.0//EN" "http://www.apple.com/DTDs/PropertyList-1.0.dtd">
<plist version="1.0">
<dict>
<key>items</key>
<array>
<dict>
<key>assets</key>
<array>
<dict>
@LeiHao0
LeiHao0 / Node.m
Created September 20, 2014 12:33
//
// Node.m
// XML
//
// Created by artwalk on 9/16/14.
// Copyright (c) 2014 artwalk. All rights reserved.
//
#import "Node.h"
// Playground - noun: a place where people can play
import UIKit
class Hummingbird {
var name: String
init (name:String) {
self.name = name
}
@LeiHao0
LeiHao0 / AnalyzeGoogleCalender
Last active August 29, 2015 14:06
AnalyzeGoogleCalender
# python 3.x
import datetime, os, glob
class Event():
def __init__(self, text):
self.text = text
self.summary = self.getSummary()
self.duration = self.getDuration()
def getSummary(self):
@LeiHao0
LeiHao0 / gist:7a28b60e020c1a204275
Last active August 29, 2015 14:06
A Simple Pedometer
We couldn’t find that file to show.