- item 1
- item2
This file contains 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 | |
sudo apt-get install git avahi-utils tmux -y && \ | |
git clone https://[email protected]/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' |
This file contains 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
var res = null; | |
for(var i = 0 ; i<2; i++){ | |
res = new Date().getTime(); | |
console.log('-', res); | |
(function(x){ | |
setTimeout(function(){ | |
console.log('--', x); |
This file contains 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
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!'); |
This file contains 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
https://raw.githubusercontent.com/robotics-in-concert/msg_database/master/msg_database_server/distro/hic_apps/hic_apps.yaml |
This file contains 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 | |
test | |
test | |
test | |
test | |
test | |
test | |
test2 | |
test4 | |
test5 |
This file contains 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
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 |
This file contains 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
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(" ") |
This file contains 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
x = 1 |
This file contains 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
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] 입고" |
NewerOlder