This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
$ ./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) |
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
-- test_scrub.lua | |
package.path = package.path .. ";../luacat/?.lua" | |
require 'UnitTest' | |
function scrub(args) | |
-- TODO: implement |
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
#! /usr/bin/ruby | |
# run_moai.rb | |
# wookay.noh at gmail.com | |
# sudo gem install filewatcher | |
require 'rubygems' | |
require 'filewatcher' |
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
-- 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}, |
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
-- 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() |
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
#! /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. |
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
$ 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 |
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
#!/usr/bin/python | |
#-- coding: utf-8 -- | |
# textutil -convert txt Journal*.docx | |
import numpy as np | |
import pandas as pd | |
def regul(s): |
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
// | |
// test_hangul.swift | |
// Hangul | |
// | |
// Created by WooKyoung Noh on 12/1/2014. | |
// Copyright (c) 2014 factorcat. All rights reserved. | |
// | |
@objc(TestHangul) | |
class TestHangul : NSObject { |
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
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) | |
} | |
} | |
} |