Skip to content

Instantly share code, notes, and snippets.

Eunsub Kim eskim

Block or report user

Report or block eskim

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
View rx2run.sh
#!/bin/sh
sudo apt-get install git avahi-utils tmux -y && \
git clone https://eskim@bitbucket.org/yichoe/rx2.ubuntu.git rx2 && \
cd rx2/bin
echo "sudo -i"
echo 'echo "options rtl8723be fwlps=0" > /etc/modprobe.d/rtl8723be.conf'
echo 'modprobe -r rtl8723be'
echo 'modprobe rtl8723be'
View a.js
var res = null;
for(var i = 0 ; i<2; i++){
res = new Date().getTime();
console.log('-', res);
(function(x){
setTimeout(function(){
console.log('--', x);
View test.js
import Fiber from 'fibers';
function sleep(ms) {
var fiber = Fiber.current;
setTimeout(function() {
// fiber.run();
// fiber.throwInto(new Error('throw!'));
setTimeout(_ => {
if(fiber.stopped){
fiber.throwInto('throw!');
View gist:78e3822a1fc31ebe2fbe
https://raw.githubusercontent.com/robotics-in-concert/msg_database/master/msg_database_server/distro/hic_apps/hic_apps.yaml
View tpl2.txt
test
test
test
test
test
test
test
test2
test4
test5
View gist:b1abe813fde6386172ee
http://files.yujinrobot.com/rocon/rapp_repository/concert_common_rapps.tar.gz
http://files.yujinrobot.com/rocon/rapp_repository/robosem_bridge.tar.gz
http://files.yujinrobot.com/rocon/rapp_repository/rocon_ninja_block.tar.gz
http://files.yujinrobot.com/rocon/rapp_repository/rocon_hue.tar.gz
@eskim
eskim / kma-weather.coffee
Last active Aug 29, 2015
muninn-receipes
View kma-weather.coffee
q.longStackSupport = true
Agent.check = ->
url = "http://www.kma.go.kr/wid/queryDFSRSS.jsp?zone=1121585000"
q.nfcall(request, url).then (res)=>
xml = res[0].body
console.log xml
$ = cheerio.load(res[0].body)
selects = "hour day temp tmx tmn wfEn wfKor pop".split(" ")
View timon_kazmi.coffee
Agent.check = ->
url = "http://m.ticketmonster.co.kr/deal/option?id=63174021&depth=0&opt_key="
q.nfcall(request, url, json: true).then (r)=>
data = r[0].body
kitchen_set = data[14].remain_count
if kitchen_set > 0
@create_event title: "티몬", message: "인디 키친툴세트 입고"
bbq_set = data[20].remain_count
if bbq_set
@create_event title: "티몬", message: "인디BBQ스큐어[혼합/7Pset] 입고"
You can’t perform that action at this time.