Skip to content

Instantly share code, notes, and snippets.

View wookay's full-sized avatar
📟
갛낲닽랔맟밪상앗잡참칼탇판학

WooKyoung Noh wookay

📟
갛낲닽랔맟밪상앗잡참칼탇판학
View GitHub Profile
@wookay
wookay / object introspection.sh
Created March 21, 2011 10:49
libcat Console object introspection
$ ./console.rb
ls TARGET : list target object (l) help : help (h)
> ls : list current object quit : quit (q)
> ls -r : list recursive about : about libcat Console
cd TARGET : change target object clear : clear the screen
> cd : to topViewController history : input commands history
> cd . : to self sleep N : sleep N seconds
> cd .. : to superview
> cd / : to rootViewController events : list touch events (e)
> cd ~ : to keyWindow > events record : record on/off (er)
@wookay
wookay / test_scrub.lua
Created August 11, 2011 06:44
test_scrub
-- test_scrub.lua
package.path = package.path .. ";../luacat/?.lua"
require 'UnitTest'
function scrub(args)
-- TODO: implement
@wookay
wookay / run_moai.rb
Created September 23, 2011 06:37
auto refresh moai main.lua
#! /usr/bin/ruby
# run_moai.rb
# wookay.noh at gmail.com
# sudo gem install filewatcher
require 'rubygems'
require 'filewatcher'
@wookay
wookay / test_moai_path_finder.lua
Created December 26, 2011 11:53
Test MOAI path finder
-- test_moai_path_finder.lua
-- wookay.noh at gmail.com
package.path = package.path .. ";../?.lua"
require 'libmoai'
function test_moai_path_finder()
local grid = Grid.new({32,32})
grid.rows = {
{0x03, 0x03, 0x00, 0x03, 0x03, 0x03, 0x03, 0x03},
@wookay
wookay / test_moai_chipmunk.lua
Created December 26, 2011 11:54
Test MOAI chipmunk physics
-- test_moai_chipmunk.lua
-- wookay.noh at gmail.com
package.path = package.path .. ";../?.lua"
require 'libmoai'
function test_moai_chipmunk()
local layer = Sim.layer()
layer.enableTouchEvents()
@wookay
wookay / gist:06dd4dc043829f37d092
Created July 25, 2014 14:59
mecab-ko-dic configure
#! /bin/sh
# Guess values for system-dependent variables and create Makefiles.
# Generated by GNU Autoconf 2.69 for mecab-ko-dic 1.6.1.
#
#
# Copyright (C) 1992-1996, 1998-2012 Free Software Foundation, Inc.
#
#
# This configure script is free software; the Free Software Foundation
# gives unlimited permission to copy, distribute and modify it.
$ julia
_
_ _ _(_)_ | A fresh approach to technical computing
(_) | (_) (_) | Documentation: http://docs.julialang.org
_ _ _| |_ __ _ | Type "help()" for help.
| | | | | | |/ _` | |
| | |_| | | | (_| | | Version 0.4.0-dev+1148 (2014-10-20 05:03 UTC)
_/ |\__'_|_|_|\__'_| | Commit 6290d34* (0 days old master)
|__/ | x86_64-apple-darwin13.4.0
@wookay
wookay / journal.py
Created December 1, 2014 06:34
journal.py
#!/usr/bin/python
#-- coding: utf-8 --
# textutil -convert txt Journal*.docx
import numpy as np
import pandas as pd
def regul(s):
@wookay
wookay / test_hangul.swift
Created December 3, 2014 10:59
test_hangul.swift
//
// test_hangul.swift
// Hangul
//
// Created by WooKyoung Noh on 12/1/2014.
// Copyright (c) 2014 factorcat. All rights reserved.
//
@objc(TestHangul)
class TestHangul : NSObject {
@wookay
wookay / Rope.scala
Created December 19, 2014 13:19
Rope.scala
trait UnitTest {
def assert_equal(expected :Int, got :Int) {
expected==got match {
case true =>
println("passed: " + expected)
case _ =>
println("Assertion failed\nExpected: " + expected + "\nGot: " + got)
}
}
}