Skip to content

Instantly share code, notes, and snippets.

Edward Kim haruair

Block or report user

Report or block haruair

Hide content and notifications from this user.

Learn more about blocking users

Contact Support about this user’s behavior.

Learn more about reporting abuse

Report abuse
View GitHub Profile
@haruair
haruair / address.py
Last active Sep 15, 2016
SQLAlchemy dirty convert using Normalizable
View address.py
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):
View slack-wc-client.py
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)
View writing.html
<!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;
View quicktodo.md

3분기

  • 책 8월 내로 마무리하기

4분기

  • 이모콘 준비
  • 11월 미국 방문
  • UWP로 앱 하나 만들기
  • 집에 쌓인 책 다 읽기
@haruair
haruair / howto.md
Last active Jun 23, 2016
C# 초보가 C# 패키지를 만드는 방법
View howto.md

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

이상한모임 / Kobe Creations

김용균

프롤로그

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

View Playground.cs
using System;
using System.Linq;
using System.Threading.Tasks;
using System.Collections.Generic;
namespace Playground
{
class MainClass
{
public static void Main (string[] args)
View index.js
console.log("Hello. What time is it?");
View .tmux.conf
# 0 is too far from ` ;)
set -g base-index 1
set -g prefix ^b
setw -g xterm-keys on
# on ssh, it will be the problem
# set -g default-terminal "screen-256color"
set -g default-terminal "xterm"
@haruair
haruair / fwp-bulk-zap.php
Created Apr 8, 2016
FeedWordPress Bulk Zap Action
View fwp-bulk-zap.php
<?php
/*
Plugin Name: FeedWordPress Bulk Zap
Plugin URI: http://haruair.com
Description: Code snipet for bulk zap of FeedWordPress
Version: 0.1
Author: Haruair
Author URI: http://haruair.com
License: GPL v2
*/
@haruair
haruair / gradle.md
Created Mar 31, 2016
Java 프로젝트 Gradle로 시작하기
View gradle.md

spring의 gradle로 프로젝트 시작하기를 따라하며 정리한 글이다.

먼저 brew로 java와 의존성 및 빌드 관리/자동화 도구인 gradle을 설치한다.

$ brew tap caskroom/cask
$ brew install brew-cask
$ brew cask install java
$ brew install gradle
You can’t perform that action at this time.