You signed in with another tab or window. Reload to refresh your session. You signed out in another tab or window. Reload to refresh your session. You switched accounts on another tab or window. Reload to refresh your session. Dismiss alert
Description Packaged javascript-sandbox for NPM Installation npm install --save hubot-javascript add ["hubot-javascript"] to your external-scripts.json. Examples hubot js [1,2,3].map(function (n) { return n * n; } ) -> [ 1, 4, 9 ] hubot run String.fromCharCode(72, 85, 66, 79, 84) -> 'HUBOT' hubot sandbox 0.1 + 0.2 -> 0.30000000000000004
ãã®è¨äºã¯ Slack Advent Calendar 2014 - Qiita ã® 11 æ¥ç®ã®è¨äºã§ãã Slack ã®ãããªãã£ãããã¼ã«ãå°å ¥ããã Bot ãéç¨ããã®ã人éã®æ§ãªã®ã§ãçããã®ãã£ã³ãã«ã§ã Bot ãã¯ã¤ã¯ã¤æ´»æ°ä»ãã¦ã姿ãè¦ããããã¨æãã¾ãã Slack Advent Calendar 2014 - Qiita ãçºãã¦ãã¦ããBot ã®è©±ãããã¤ãããããã§ãããåãå±ãã¦ããä¼ç¤¾ã® Slack ãã¼ã ã§ããjewelpet ã¨ããå½¹ã«ç«ããªã Bot ããã¾ãã ä»æ¥ã¯ Slack ã§åãã¦ããå½¹ã«ç«ããªã Bot ã®æ©è½ç´¹ä»ã¨ããããéç¨ãã¦å¾ãå½¹ã«ç«ããªãç¥è¦ãç´¹ä»ãã¾ãã æ©è½ç´¹ä» 社å åããªã®ã§èº«å ãã¿ãå¤ãã jpi hubot image me ã®ã¨ã¤ãªã¢ã¹ã§ããhear ã使ã£ã¦ jpi ã¨ããæååã«åå¿ããããã«ãã¦ãã¾ããjewel
Hubotãåè·ããè²ã 試ãã¦éç¨ãã¦ãããã1å¹´åããããããããããã£ã¦ãã®ããã£ã¦ããããä¸æ¦ã¾ã¨ãã¦ã¿ããæãã Hubotã«é¢ãã¦ã¯ hubot/docs at master · github/hubot · GitHub ãããã¯ä¸éãæãã«èªãã ãããåã¯ããæã£ããã¹ãããããªæãã§ãã£ã¦ããã³ã¼ããéç¨ãå¤ãã®ã§ãé©å®ããµã«ãªã³ã°ãã¦ããã ããã°ã¨ã 便å©ã¹ã¯ãªããã®ãç´¹ä» ã¨ãããããããªã®æ¸ããèªæ ¢ããã ãªã³ã¯èªåã§åãã㤠request = require('request') cheerio = require('cheerio') URI = require('URIjs') module.exports = (robot) -> getTitle = (msg, uri) -> request uri, (err, response, html) -> i
Forkwell ã®ã¨ã³ã¸ãã¢ã®1人ãæ£å¾³ã§ããå æ¥ãå ¥ç¤¾ãã馬ã§ãã æè¿Hubotã§botãä½ãå§ãã¦ãæä¼ãéç¥ãããããGithub Issueã®ä»¶æ°ãåãããããã¨éãã§ãã¾ãã Hubotã®è¨äºã¯ã°ã°ãã°ããããåºã¦ãã¦ãåãããã®ã¯ã¨ã¦ãç°¡åã§ããã¨ããããHubotã§ãã¹ããæ¸ãæ¹æ³ãã¨ãªãã¨ãæ å ±ãã»ã¨ãã©åºã¦ãã¾ããã ChatOpsããã£ã¦ããã¨ã³ã¸ãã¢ããã¾ãããã¹ãã³ã¼ããå ¨ãæ¸ããã«botãéçºãã¦ã訳ããªãã¨æãã¾ãããä¸æè°ã¨è¨äºãè¦ã¤ããã¾ããã å 人ã®ããã°ãªã©ãç¡ãã£ãã®ã§ãèªåã§åè¦å «è¦ãã¤ã¤ããªãã¨ãTDDã§Hubotéçºã§ããç°å¢ãä½ããã®ã§ãããã°ã«ã¾ã¨ãã¦ã¿ã¾ããã ç®æ¬¡ Hubotã§botãä½ãæ¹æ³ ãã¹ãç¨ã«ã¢ã¸ã¥ã¼ã«ãå ¥ãã mocha ã®å®è¡æ¹æ³ greet ã®ãã¹ããæ¸ã cron ã®ãã¹ããæ¸ã time ã¢ã¸ã¥ã¼ã«ã使ã£ã¦ãã
ç¥ã£ã¦ã人ã«ã¯ä»æ´ã§ããããã©ãã¿ãã«ä»ãããªãã¸ããªåãåºãããã«ãã¦ã¿ãã precmdã§ãªãã¸ããªåãtmux rename-windowã«æ¸¡ãã ãã§ãã autoload -Uz vcs_info zstyle ':vcs_info:*' enable git svn zstyle ':vcs_info:*' formats '%r' precmd () { LANG=en_US.UTF-8 vcs_info [[ -n ${vcs_info_msg_0_} ]] && tmux rename-window $vcs_info_msg_0_ } github
ãJavaScriptããâ人éã®è¨èâã®ããã«æ¸ããï¼ ãJavaScriptãã¯ããWebãã©ã¦ã¶ãä¸ã§åçãªè¡¨ç¾ãã§ããã¹ã¯ãªããè¨èªã§ãæè¿ã§ã¯ãAjaxããHTML5ããªã©ã®Webã¢ããªæè¡ã®æ®åã¨ã¨ãã«ãã¾ãã¾ãéè¦ãé«ã¾ã£ã¦ãã¾ãã ãããã大ããªåé¡ã¨ãã¦ãææ³ãæ§é ãè¤éã§ãã³ã¼ããåããã«ããã¨ããç¹ãããã¾ãã ãã®ãJavaScriptãã®è¤éãªææ³ãæ§é ãç°¡åã«ãããã®ãããCoffeeScriptãã§ãã ãCoffeeScriptãã¯ããJavaScriptãã®å¤ããã«ä½¿ããããã°ã©ãã³ã°è¨èªã§ãã³ã¼ãã®ç°¡ç¥åã«ãããâ人ã®è¨èâã«è¿ãæè¦ã§ãå¹ççã«éçºã§ããããã«ãªã£ã¦ãã¾ãã æ¬æ¸ã¯ãéçºç°å¢ã®å°å ¥ããã¯ããã対話åã®ãããã·ã¹ãã ãHubotãï¼ãã¥ã¼ãããï¼ã使ããªããããCoffeeScriptãã§ã®ããã°ã©ãã³ã°æ¹æ³ã解説ãã¦ãã¾ãã
ä¼ç¤¾ã®IRC㧠ircbot console ãå©ç¨ãã¦botãç«ã¦ã¦ãJenkinsã¿ã¹ã¯ã®å®äºæã«ã«ã¹ã¿ãã¤ã¶ãã«ãªã¡ãã»ã¼ã¸ãæµããããgithub enterpriseãfecruã®RSSãå å·¥ãã¦æµããããã¦ãã®ã§ãããæ¡å¼µæ§ã«éçãæããã®ã§ãä»æ´ãªããhubotã¨coffeescriptã触ã£ã¦ã¿ããã¨ãã話ã ä»åè²ã 触ã£ãææç©ã¯ãã¡ã github IRCbot console ã§ãã£ã¦ãããã¨ã¨hubotã§ã®å®è£ æ³ botã«å¼ã³ãããã¨ããã¹ã å¨æã¹ã¯ãªããã§éç¥ RSSãç£è¦ãã¦ã¤ã¶ãã curlçµç±ã§æ§ã ãªã¡ãã»ã¼ã¸ãæµã âãã¹ã¦ãã¨ããããhubotã§ãå®è£ åºæ¥ã¾ããã hubotãIRCã§ä½¿ãããã®åºæ¬ hubotã¨ã¨ãã«hubot-ircãå ¥ããã°è¯ãã§ãã ãã¡ã ãªã©ã詳ããã§ãã æ¤ç´¢ããã¨çµæ§noticeãã§ããªãã¦èºãã¦ã人ãããããã§ãããh
Hubotã«ä¼è©±ãã°ãåã£ã¦é²è¦§ããæ©è½ã追å ãããã¨æãã¾ããä»åã¯"hubot-logger"ã¨ãããã®ã使ãã¾ãã ç¹ã«IRCãªã©ã¯ãã®ã¾ã¾ã§ä½¿ã£ã¦ããã¨å ¨ããã°ãæ®ãã¾ããã ã¾ãããã§ã«logbotãããå ´åã§ããBotæ©è½ãä¸å åãã¦éç¨ã®æéãæ¸ããããã§ããã¨æãã¾ãã æè¦æéã¯ã ããã5åç¨åº¦ã§ãã ãªããã¾ã Hubotãè¨å®ãã¦ããªãï¼ã¨ããæ¹ã¯ãã¡ããåèã«ã»ããã¢ãããã¦ã¿ã¦ãã ããã http://qiita.com/Morikuma_Works/items/0a10dfcef089d344000c ç°å¢ Ubuntu 12.04LTS Node.js v0.10.24 IRCç¨ã®ã¢ããã¿ãç¨ãã¦ãã¹ãæ¸ã¿ ~/mybot/ ãHubotããããã£ã¬ã¯ããªã ã¨ãã¾ã ããã±ã¼ã¸ã追è¨ãã package.jsonãç·¨éãã ~/mybot/package.jso
ã¯ããã« æè¿chatworkãtypetalkã¨ãã£ãã³ãã¥ãã±ã¼ã·ã§ã³ãã¼ã«ã®hubot adapterãä½ã£ãããã¦ã¾ãã akiomik/hubot-chatwork · GitHub akiomik/hubot-typetalk · GitHub ã©ã¡ããã¾ã éçºéä¸ã§ãããããã¾ã§ã«å¾ãç¥è¦ãæ®ãã¦ãããã¨æãã¾ãã ééã£ãæ å ±ããã£ããã³ã¡ã³ãçã§ãææããã ããã°å¬ããã§ãã hubotã¨ã¯ hubotã¯github社ãéçºãã¦ããchatç¨ã®botãã¬ã¼ã ã¯ã¼ã¯ã§ãã http://hubot.github.com/ é常ã®botã¨ã©ãéãã®ãã¨ããã¨ãbotã®ãã¸ãã¯ã¨chatã¨ã®å¦çé¨åãåé¢ãã¦ãæ§ã ãªãµã¼ãã¹ã¸å¿ç¨ã§ããããã«ãã¦ããã¨ããã§ãã åè ã®botã®ãã¸ãã¯é¨åãhubot scriptã¨å¼ã³ãå¾è ã®chatã¨ã®å¦çé¨åãhubot adapterã¨
俺èã6 in Tokyo ã¨è¨ãã¤ã´ã§ã³ãã«è¡ã£ã¦ããã®ã§ã·ã§ã¢ãã¾ããçºè¡¨ããã¦ãã¦ããªãã ããã Aimingã§æè¿ãã£ã¦ããããªæãã®å 容ãç´¹ä»ãã¾ããã ã¯ã©ã¹ã¿ããã¶ããªãæ°ããã¦ããã®ã§ãããçµå±ãã£ããç¥ãåããããã®ã§ãããã¯åé¿ã§ãã¾ãã...ã çããçºè¡¨ãä¸æã ã£ãã®ã§ã¼ãã¯å£ä¸ã§ãã¼ã«ã飲ãä»ãªãã£ãã§ããå é§è ã®sendãããããã¨ããããã¾ããã å®ã¯ãããããã¯ãã«ã«ãããªãä¼åã«è¡ããã¨ãã»ã¨ãã©ãªãã£ãã®ã§ãæ°é®®ã§æ¥½ããã£ãã§ããæ©ä¼ããã ãã£ãmsngããã«æè¬ã GitHub ã¨ãã¶ã¤ãã¼ããããã©ã³ãã¼ããã«ã¤ã㦠社å ã§ãã®å 容ãåæ¼ããã¨ããããã®çºè¡¨ã§ã¯ã¾ã ãã¶ã¤ãã¼ããã©ã³ãã¼ãGitHubã使ãã¡ãªãããåããã«ãããã¨è¨ãããããããã®ã§ããå°ãå ·ä½çã«ããã¼ã説æããã¨ã ãã©ã³ãããããã¹ã¿ãã¼ã¿ããããâããã°ã©ãã足ããªãã¨ããã
ãªãªã¼ã¹ãé害æ å ±ãªã©ã®ãµã¼ãã¹ã®ãç¥ãã
ææ°ã®äººæ°ã¨ã³ããªã¼ã®é ä¿¡
å¦çãå®è¡ä¸ã§ã
j次ã®ããã¯ãã¼ã¯
kåã®ããã¯ãã¼ã¯
lãã¨ã§èªã
eã³ã¡ã³ãä¸è¦§ãéã
oãã¼ã¸ãéã
{{#tags}}- {{label}}
{{/tags}}