Skip to content

Instantly share code, notes, and snippets.

console.log("Hello. What time is it?");
using System;
using System.Linq;
using System.Threading.Tasks;
using System.Collections.Generic;
namespace Playground
{
class MainClass
{
public static void Main (string[] args)
@haruair
haruair / howto.md
Last active June 23, 2016 01:03
C# 초보가 C# 패키지를 만드는 방법

C# 초보가 C# 패키지를 만드는 방법

이상한모임 / Kobe Creations

김용균

프롤로그

C# 배우고 싶지만 쉽게 배울 수 없던 너란 언어

@haruair
haruair / quicktodo.md
Last active August 3, 2016 02:42
quick todo

3분기

  • 책 8월 내로 마무리하기

4분기

  • 이모콘 준비
  • 11월 미국 방문
  • UWP로 앱 하나 만들기
  • 집에 쌓인 책 다 읽기
@haruair
haruair / writing.html
Created August 3, 2016 07:45
editor draft
<!doctype html>
<html>
<head>
<style>
@import url(https://fonts.googleapis.com/css?family=Merriweather:400,700,300,900);
.placeholderText {
font-family: 'Merriweather', 'apple sd gothic neo', serif;
border: 0;
background: #fafafa;
@haruair
haruair / slack-wc-client.py
Created August 23, 2016 04:21
slack wc client
from websocket import create_connection
import json
import signal
import sys
import requests
key = "" # me key
channelId = "C03BXUL0Q" # general
r = requests.get('https://slack.com/api/rtm.start?token='+key)
@haruair
haruair / address.py
Last active September 15, 2016 07:28
SQLAlchemy dirty convert using Normalizable
from datetime import datetime
from sqlalchemy import Column, Integer, String, DateTime, ForeignKey
from sqlalchemy.ext.hybrid import hybrid_property
from sqlalchemy.orm import relationship, backref
from database import Base
from util import Normalizable
class Address(Base, Normalizable):
@haruair
haruair / DefaultLayout.swift
Created November 29, 2016 05:16
당연히 작동 안합니다
class DefaultLayout : Layout {
let definitions = [
(PickButton, BottomButtonRepresentation),
(CameraView, FullScreenRepresentation),
(OverlayFlashView, FullScreenRepresentation),
]
}
@haruair
haruair / DefaultLayout.swift
Created November 29, 2016 05:23
비스무리하게 구현하면
class DefaultLayout : Layout {
let definitions = [
Definition(PickButton.self, BottomButtonRepresentation.self),
Definition(CameraView.self, FullScreenRepresentation.self),
Definition(OverlayFlashView.self, FullScreenRepresentation.self),
]
}
class Definition {
var elementType : Any?
@haruair
haruair / pre-commit-swiftlint.sh
Created December 5, 2016 13:25
Git Client-side pre-commit hook for SwiftLint
#!/bin/bash
#
# hook script for swiftlint. It will triggered when you make a commit.
#
# If you want to use, type commands in your console.
# $ ln -s ../../pre-commit-swiftlint.sh .git/hooks/pre-commit
# $ chmod +x .git/hooks/pre-commit
LINT=$(which swiftlint)