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
ããã㤠æµè¡ãã«ã¯ãã£ããä¹ãããã¦é ãããï¼ line botã¡ããã¡ããéãã§ããä¸ã§åºæ¥ãææç©ãAPIã®rubyè¨èªã©ããã¼ã¨ãã¦gemåãã¨ãã¾ãã^^ Github Rubygems å³ææ§ã並åæ§ãèããã¨ã¬ãBotã«ã¯åãã¦ãªãããã§ããã¾ããµã¯ãã¨éã¶ã¨ãã«ä½¿ã£ã¦ãã ãããª^^ ã¡ãªã¿ã«ãã®ã©ã¤ãã©ãªã¨heroku+Fixieã§ä½ã£ãbotãã²ããããã¨ãããªæã åè: LINE BOT ãã¨ããããã¿ã㧠Heroku ã§åãã æ å ±ã®ãã§ããã ããããªãã¦äºç´ã¨ãä½ãå¯ä½ç¨ã®æã¤ã¢ã¯ã·ã§ã³ã¨çµ¡ããããã°ã«ã¼ããã£ããã«botå ¥ãã¦ã¹ã±ã¼ã¸ã¥ãªã³ã°ã¨ãã¯å¤¢ãåºãããï¼ ä½¿ãæ¹ Installation require 'line/bot/client' client = Line::Bot::Client.new do |config| config.channel
æ®æ®µéçºã¨ãããªã人éã«ããã¼ã¿ãã¼ã¹ã«ç°¡åã«è§¦ããããããã«ããã話ã§ãï¼ å®å ¨ãªãã¼ã¿ãã¼ã¹ãä½ã æ¬çªãµã¼ãã¹ã®ãã¼ã¿ãã¼ã¹ã¨åçï¼ã ãã©å人æ å ±çãªãã®ã¯é ãã¦ããããï¼ããèã話ã§ããï¼ ããã«ã¤ãã¦ã¯æ§ã ãªã¢ããã¼ããããããã§ããï¼ã§ããéãå®å®ããããï¼ãããã§ããã«ãã¦ããµã¼ãã®é¢åãè¦ãããªãï¼ã¨ãæ¹éã®ãã¨ï¼RDSã®ã¹ãããã·ã§ãããå©ç¨ãã¦ä½æãããã¨ã«ãã¾ããï¼ å¦çã®æµã RDSã1æ¥1åã¹ãããã·ã§ãããåã£ã¦ãã(ããã¯RDSã®æ©è½) RDSã®ã¹ãããã·ã§ãããåãããã¨ï¼RDSããã¤ãã³ãéç¥ãæããããã®ã§ï¼SNSâSQSã¸å±ãããã«ãã¦ãã(ãããRDSã®æ©è½) CloudWatchã§SQSã®ãã¥ã¼æ°ãç£è¦ããããã«ãã¦ããï¼ãã¥ã¼ã1ã¤ä»¥ä¸ã«ãªãã¨å¦çç¨ã®ã¤ã³ã¹ã¿ã³ã¹ãç«ã¡ãããè¨å®ã«ãã¦ãã(CloudWatchï¼AutoScalingã®æ©è½) ã¤
å æãPixivããããSenseiãã¨ããæ©è½ããªãªã¼ã¹ããã®ã§ããã https://sensei.pixiv.net/ ããããã¡ããã¡ãããã¨æã£ã¦ã ã©ããããµã¼ãã¹ãã¨ããã¨ãã±ã£ã¨è¦ã§ãããããã«ãçµµãä¸éãããããã®ãåç»ã³ã³ãã³ããè¦ãããµã¼ãã¹ãªã®ã§ãããçµµãããå¦ã¹ããµã¼ãã¹ã£ã§ããã ããã«éãããPixivã¯ã大è¦æ¨¡ãªãµã¼ãã¹ã«ãé¢ããããé常ã«ä¸æã«æ°æ©è½ãä½ã£ã¦ããã¨æãã¦ãã¾ãã é·æè¦ç¹ã§ãçæè¦ç¹ã§ãå¹ãæ½çãããããGrowth Hackã¨ããè¨ãæ¹ãæµè¡ã£ã¦ãããã°ããçµã¡ã¾ãããã©ããã¦ãããã¿ã³ã®ä½ç½®ãè²ãå¤ãã¦ãã¯ãªãã¯çãè¦ããã¿ãããªãã¯ããã¯ã«çµå§ãã¡ãã£ã¦ããæãå¤ãã¨æãã¾ãã ããã¯ããã§éè¦ã ã¨æããã§ãããããã°ã£ãããã£ã¦ãããµã¼ãã¹ãé²åãã¦ãããã¨ããã¨ãã¡ãã£ã¨éãã¨æããã§ãã ãã ãããããæ¹åã£ã¦ããããããä¸ã«ã
LINEã®ã¿ã¤ã ã©ã¤ã³æ©è½ã«ããã¦ãèªåã®ã¿ã¤ã ã©ã¤ã³ä¸ã«è¡¨ç¤ºãããåã ã¡ã®æ稿ããåã ã¡ã®ã¿ã¤ã ã©ã¤ã³ã«è¡¨ç¤ºãããèªåã®æ稿ãã³ã³ããã¼ã«ããããã«è¦ãã¦ããããè¨å®ã5ã¤ãç´¹ä»ãããã¨æãã¾ãã ä¸åº¦è¨å®ãã¦ãã¾ãã°ãã¿ã¤ã ã©ã¤ã³ãã¹ãããªã¨æ´»ç¨ã§ããã¯ãããã²ä½¿ãæ¹ãè¦ãã¦ããã¾ãããï¼ 1.èªåã®ã¿ã¤ã ã©ã¤ã³ãåã ã¡ããè¦ããªãããã«ããæ¹æ³ ã¾ãã¯ãèªåã®ã¿ã¤ã ã©ã¤ã³ãåã ã¡ããè¦ããªãããã«ããæ¹æ³ãããç¹å®ã®åã ã¡ãé¸æãã¦ãå½¼ãã«ã ãèªåã®æ稿ãé表示ã¨ãªãããã«è¨å®ã§ãã¾ãã LINEã¢ããªã®è¨å®ãéãã¦ãä¸è¦§ãããã¿ã¤ã ã©ã¤ã³ããé¸æã ä¸çªä¸ã®ãå ¬éç¯å²è¨å®ããã¿ãããã¦ã次ã®ãã¼ã¸ã«è¡¨ç¤ºãããåã ã¡ä¸è¦§ããæ稿ãè¦ããããªãåã ã¡ãé¸æãã¦ãååã®å³å´ã«ãããã¿ã³ãã¿ããããéå ¬éãã¨ãªã£ããå³ä¸ã®ãä¿åããæ¼ãã¾ãã 以ä¸ã§ååã®å³å´ããéå ¬éãã¨ãªã£ã¦ããåã ã¡
æãRubyã§ã¯ãã¼ã©ã¼/Webã¹ã¯ã¬ã¤ãã³ã°ã®æ¬ãæ¸ãã¾ãããä»ã§ãã¡ããã¡ããã¨ã¹ã¯ã¬ã¤ãã³ã°ã®ã³ã¼ããæ¸ãããã¯ããã®ã§ãããå®è¡åºç¤ã«ã¤ãã¦ã¯ãµã¼ãã®éç¨ç®¡çãé¢åãããã®ã§AWS Lambdaã使ããã¨ãå¤ãã§ãããããªãã¨ãLambdaã¯åºæ¬çã«ã¯Rubyã使ããªãã®ã§ãè¨èªã¯PythonãNode.jsãå©ç¨ãããã¨ã«ãªãã¾ããPythonããããã©ãä»å¾ã®ãã¨ãèããã¨Node.jsåãé«ãã¦ããããã¨èãã¦ãã¾ããã¨ãããã¨ã§ãNode.jsç¸ãã§ã¹ã¯ã¬ã¤ãã³ã°ã®ä»æ¹ã§ãã ã¹ã¯ã¬ã¤ãã³ã°å¯¾è±¡ã®ãã¼ã¸ã®ç¨®é¡ ç§ã®ä¸ã®åæãªå®ç¾©ã§ãããã¹ã¯ã¬ã¤ãã³ã°ã«ã¯3種é¡ããã¾ãã 1. éçãµã¤ãï¼JavaScriptä¸è¦ãªãã¼ã¸ã«é¢ããã¹ã¯ã¬ã¤ãã³ã° 2. 対話åãµã¤ãï¼JavaScriptä¸è¦ãªãã¼ã¸ã«é¢ããã¹ã¯ã¬ã¤ãã³ã° 3. JavaScriptåæã®ãã¼ã¸ã«é¢ããã¹ã¯ã¬ã¤ã
æè¡ç³»ã®è¨äºæ稿å ãèªåã®Blogã«ç§»ãã¾ãããåå¿è åã,AWSãªã©å¹ åºãTechã¸ã£ã³ã«ã§è¨äºæ稿ããã°ã£ã¦ã¾ãã®ã§ãããããã£ãããã¡ããåç §ãã ããï¼ LINE Bot API ãå ¬éããä¸è¬ã®ãããããã«ãå ¬éãããã®ã§ä½¿ã£ã¦ã¿ãã¡ã¢ã ç³ãè¾¼ã¿ã¯ãã¡ããã. å ç10,000åã§ããã¾ã ç³ãè¾¼ã¿ãåä»ãã¦ãã模æ§(2016/4/14ç¾å¨) ä¸éã«éããããã§ã(2016/4/16) 追å åä»ãéå§ãããããã§ãã(2016/4/26) https://business.line.me/services/products/4/introduction LINE Bot API Botã¯ã¦ã¼ã¶ãBotã¢ã«ã¦ã³ãã¨ãåéã«ãªããBotã«è©±ããããã°(ã¡ãã»ã¼ã¸ãéä¿¡ããã°)ãã¡ãã»ã¼ã¸ã«å¿ãã¦ã¬ã¹ãè¿ãããããã®ã§ããLINE Bot API 㯠LINE ã Botãéçºããããã
ãªãããfacebookã®botè¨è¨ãã¼ã«ã®wit.aiã¨ã触ã£ã¦ããã§ããã©ãããã¯ãããããããããbotã®ä¼è©±ã®è¨è¨ã¨ãã§ãããã§ããã©ãããã§ãã¦ããç´ æ´ããããä¼è©±ã®ãã¿ã¼ã³ãæãè¾¼ãã§èªç¶ãªä¼è©±ãæ§ç¯ãããã¼ã«ã§ããæ©æ¢°å¦ç¿ã§ä¼è©±ãæ§ç¯ã§ãããããã¯æªæ¥ã ã ãã ãããããä¼è©±ãã§ãã人工ç¥è½ã®ã¯ã©ã¦ããµã¼ãã¹ã£ã¦ããããåºã¦ãã¦ãããã§ããã©ããã¨ãã¨ãè±èªãªãã§ããããæ¨ä»ã¯ãæ¥æ¬èªãããä¸å½èªã®ãµãã¼ãã®ã»ããæ©ããã¨ãå¤ãããæ¥æ¬èªã®ãµãã¼ãã¯é ããªãããããã¾ããããããããªãã¾ãããæ£ç´ãfacebookã®botè¨è¨ãã¼ã«ã®Wit.aiã使ã£ã¦ãããã©ããã£ããããã¦ããããªãããã é³å£°èªèã¨åãã ãè±èªã¯é²åãæ©ããæ¥æ¬èªã¯é²åãé ããé³å£°èªèãè±èªã¯ãã¡ããã¡ãé²ã¿ããã¦ãããªãã¬ãã«ãé«ããæ¥æ¬èªã®é³å£°èªèã¯é²ãã§ãããã©ãè±èªã»ã©ã§ã¯ãªããè±èªã¯é»è©±ã®èªå
Twilioã§é»è©±ãããããã®é»è©±ã¸SMSã¡ãã»ã¼ã¸ãéããµã³ãã«ã¢ããªãä½ã£ã¦ãããã¨æãã¾ãã ãµã¼ãã¼ãµã¤ãã¯Herokuã§ä½ãããè¨èªã¯rubyã§ãããã¬ã¼ã ã¯ã¼ã¯ã¯sinatraã§ã(Ruby on Railsãã¾ã è¦ãããã¦ãªãããï¼ å®è¡ç°å¢ ruby 2.1.3p242 OSX Yosemite 10.10.5 sinatra 1.4.6 ç®æ¬¡ Herokuã§ã¢ããªãä½ã Twilioã§é»è©±çªå·ãè³¼å ¥&è¨å® 2ã®é»è©±çªå·ã«é»è©±ãã¦SMSã®ã¡ãã»ã¼ã¸ãããã®ãç¢ºèª Herokuã§ã¢ããªãä½ã åæè¨å® ã©ãã§ãããã®ã§ãä½æ¥ãã£ã¬ã¯ããªãä½ã£ã¦git,Gemfileãä½ãã¾ã # ãã©ã«ãä½æï¼ç§»å mkdir sample-app && cd sample-app # Gitãªãã¸ããªã«ãã git init # Gemfile ã®çæ bundle init
å æ¥ãReact+Reduxå ¥é - Qiita ã¨ããè¨äºãæ¸ãã¾ããããã¦ãReact+Reduxã¨åãããã«æµè¡ã£ã¦ããã¤ã±ã¦ãããã¬ã¼ã ã¯ã¼ã¯ã¨è¨ãã°ãElectronã§ããããElectron + React + Reduxã®ãã¤ã©ã¼ãã¬ã¼ããä½ã£ã¦ã¿ã¾ããã®ã§ãä»æ¥ã¯ãã®è§£èª¬ããããã¾ãã erukiti/tpl-electron-react-redux: Electron + React + Redux ã®ãã¤ã©ã¼ãã¬ã¼ã å 容 Visual Studio Codeã§ãªãã¹ãããæãã«éçºåºæ¥ãããã«ç®æãããã®ã§ãå 容ã¨ãã¦ã¯åç´ãªã«ã¦ã³ãã¢ããã®ãµã³ãã«ã³ã¼ãã«ãªã£ã¦ãã¾ããElectronã®å¼±ç¹ã§ããé å¸ãã¡ã¤ã«ãã§ãããªããããåé¡ã®å¯¾å¿ã®ãããã¡ã¤ã«çµåãwebpackã§è¡ã£ã¦ãã¾ããwebpackã§ã¯SassãJSONãªã©æ§ã ãªãã¡ã¤ã«ãçµåãããã¨ãã§ãã¾ãã
ç®ç redux-thunk ã§ã©ã®ããã«éåæå¦çãããã®ã試ãã¦ã¿ãã ã«ã¦ã³ã¿ã¼ã®å¦çã¯ä»¥åæ¸ãããã®ãæµç¨ï¼ReactJS + Redux + ES6 ã®ã«ã¦ã³ã¿ã¼ã®ãµã³ãã«ï¼ ãã¡ã¤ã«æ§æ . âââ dest â  âââ bundle.js âââ index.html âââ package.json âââ src âââ app.jsx { "name": "react-flux-redux-thunk", "version": "1.0.0", "description": "", "main": "index.js", "scripts": { "watch": "watchify src/app.jsx -o dest/bundle.js -v --debug", "test": "echo \"Error: no test specified\" && exi
ã©ã³ãã³ã°
ã©ã³ãã³ã°
ã©ã³ãã³ã°
ãªãªã¼ã¹ãé害æ å ±ãªã©ã®ãµã¼ãã¹ã®ãç¥ãã
ææ°ã®äººæ°ã¨ã³ããªã¼ã®é ä¿¡
j次ã®ããã¯ãã¼ã¯
kåã®ããã¯ãã¼ã¯
lãã¨ã§èªã
eã³ã¡ã³ãä¸è¦§ãéã
oãã¼ã¸ãéã
{{#tags}}- {{label}}
{{/tags}}