Skip to content

Instantly share code, notes, and snippets.

@kurthumes
kurthumes / UIColor+Hex.h
Created November 12, 2012 04:51 — forked from ohsc/UIColor+Hex.h
Enable hex value with UIColor
//
// UIColor+Hex.h
//
//
// Created by 超 沈 on 11-12-31.
// Copyright (c) 2011年 __MyCompanyName__. All rights reserved.
//
#import <UIKit/UIKit.h>
<html>
<head>
<title>List Styling</title>
<style type="text/css">
body {
font-family: "HelveticaNeue-Light", "Helvetica Neue Light",
"Helvetica Neue", Helvetica, Arial, "Lucida Grande",
sans-serif;
font-weight: 300;
}
@kurthumes
kurthumes / csvToJson.py
Last active September 27, 2015 02:18
convert csv file to json using python
from optparse import OptionParser
import csv
import json
if __name__ == "__main__":
parser = OptionParser(usage="usage: %prog csvfile")
parser.add_option("-d", "--delimiter", type="string", dest="delimiter",
default=",", help="the delimiter, default is ','")
(options, args) = parser.parse_args()