Skip to content

Instantly share code, notes, and snippets.

@happyjem
happyjem / TestForUnxTime.cs
Last active May 30, 2017 02:41
.NET Unix Time to Date Time After .Net 4.6
using System;
namespace TestForUnxTime
{
//reference : https://msdn.microsoft.com/ko-kr/library/system.datetimeoffset.fromunixtimeseconds(v=vs.110).aspx
class MainClass
{
public static void Main(string[] args)
{
//before Net 4.6
@happyjem
happyjem / gist:fc0971a669a03ae11311cda3c81193db
Last active July 26, 2016 03:01
Look and Say For Swift
//: Playground - noun: a place where people can play
import UIKit
enum conwaySequenceError: ErrorType {
case outOfBoundError
case notCalulateHandledError
case logicalUnHandledError
}