Skip to content

Instantly share code, notes, and snippets.

View tnraro's full-sized avatar

Hojin Yang tnraro

View GitHub Profile
@tnraro
tnraro / steamui.so.md
Last active May 3, 2016 13:43
Fatal error: Failed to load steamui.so

Fatal error: Failed to load steamui.so

원인

steamui.so가 32bit 러이브러리를 필요로 해서.

해결방안

@tnraro
tnraro / Symbols.js
Last active March 27, 2017 06:07
Symbols
const Symbols = (...rest) => rest.map(e => Symbol(e));
@tnraro
tnraro / meow.js
Last active September 15, 2017 01:13
new ncc
(function(){
'use strict';
let script = document.createElement('script');
script.type = "text/javascript;version=1.7";
script.src = "https://rawgit.com/tnRaro/a74dad40c84febe59367/raw/ncc.js";
document.body.appendChild(script);
script.onload = function(e){
api.overwriteCss();
@tnraro
tnraro / index.js
Last active August 29, 2015 11:47
node-path-map (仮)
var path = require('path');
function PathMap(config){
this._map = {};
this._cwd = process.cwd();
if(config)
this.config(config);
}
@tnraro
tnraro / namu.js
Last active August 29, 2015 14:23
namu wiki plugin
var plugin = {
name: 'namu wiki',
name_ko: '나무위키',
author: 'admin@tnraro.com',
version: '0.1.0',
description: '나무위키로 연결되는 좌표를 반환합니다.',
alias: ['nw'],
depends: ['Command'],
init: init,
destroy: destroy
#
# deb cdrom:[Debian GNU/Linux jessie-DI-b2 _Jessie_ - Official Snapshot amd64 NETINST Binary-1 20141003-18:31]/ stretch main contrib non-free
#deb cdrom:[Debian GNU/Linux jessie-DI-b2 _Jessie_ - Official Snapshot amd64 NETINST Binary-1 20141003-18:31]/ stretch main contrib non-free
deb http://ftp.jaist.ac.jp/debian/ jessie main contrib non-free
deb-src http://ftp.jaist.ac.jp/debian/ stretch main contrib non-free
deb http://security.debian.org/ jessie/updates main contrib non-free
var plugin = {
name: 'shortly.me',
name_ko: '나를 짧게',
name_jp: '私を短く',
author: 'admin@tnraro.com',
version: '0.1.0',
description: '나를 짧게 해줍니다.',
alias: ['짧게'],
depends: ['Command'],
init: init,
@tnraro
tnraro / toABC.py
Last active August 29, 2015 14:20
toABC
import sys
import subprocess
import os.path
argv = sys.argv[1:]
for src in argv:
tmp = src.split('.')
if( tmp.pop() != "swf" or os.path.exists(src) == False):
print('[WARNING] '+src)
continue
cmd = 'bin/swfdump -abc -showbytecode '+src+' > '+'.'.join(tmp)+'.abc'
@tnraro
tnraro / exchangeRate.js
Last active August 29, 2015 14:15
ncc-bot plugins
var plugin = {
name: 'exchangeRate',
name_ko: '환율정보',
author: 'tnRaro',
version: '0.5.3',
description: '환율정보를 불러옵니다',
depends: ['Command'],
init: init,
destroy: destroy
}