Flameã®ç®±ãæ¨ã¦ã¦ãã¾ã£ãããã©ããã£ã¦éãè¿ããå°ã£ã¦ãã¾ãã@kyo_agoã§ãã ä»æ¥ã¯2014å¹´6æã«Î²å ¬éããGREEãã£ããã§éä¿¡ã«ä½¿ç¨ãã¦ããSSEãç´¹ä»ãããã¨æãã¾ãã SSEã¨ã¯ SSEã¨ã¯Server-Sent Eventsã®ç¥ã§W3Cã§ææ¡ããã¦ããhtml5é¢é£APIã®ä¸ç¨®ã§ãã ããã¯ãµã¼ãã¨ã®éä¿¡ãJavaScript APIãä¸å¿ã¨ãããã®ã§ããµã¼ãããPushéä¿¡ãè¡ãããã®ä»æ§ã§ãã ãµã¼ãããPushéä¿¡ã«é¢ãã¦ã¯ããã¾ã§ãCometãWebSocketãåå¨ãã¾ããããSSEã¯äºææ§ãå¹çãªã©ã®ç¹ã§ãã以å¤ã®æè¡ã«å¯¾ããç¹å¾´ãããã¾ãã ããããã¯å ·ä½çãªä»æ§ããå®éã«ä½¿ç¨ããå ´åã®ææ³ãªã©ãç´¹ä»ãããã¨æãã¾ãã éä¿¡æ¹å¼ SSEã¯HTTP/1.1ã使ç¨ããContent-Type: text/event-streamã§éä¿¡ãè¡ãã¾ãã åºæ¬ç
(訳注ï¼2015/8/4ãããã ãã翻訳ãã£ã¼ãããã¯ãå ã«è¨äºãä¿®æ£ãããã¾ããã) æ¬é¡ã«å ¥ãåã«å¼·èª¿ãã¦ããã¾ããWebSocketã¯åªããéä¿¡ãããã³ã«ã§ããå®éç§ã¯ãã® RFC6455 ãã Fanout ã®ãµã¼ãã¹ã§ä½¿ã£ã¦ãã( Zurl ã Pushpin ã¨ãã£ããã¼ãã§æ¡ç¨ãã¦ãã¾ããFanoutã§ã¯ã¾ãã Primus ï¼ç°ãªããªã¢ã«ã¿ã¤ã ãã¬ã¼ã ã¯ã¼ã¯éã§ã®éä¿¡ãå¯è½ã¨ããã©ããã¼ï¼ãå©ç¨ãã XMPP-FTWã¤ã³ã¿ã¼ãã§ã¼ã¹ ãä»ããWebSocketéä¿¡ããµãã¼ããã¦ãã¾ãã ããããªããç§ã¯ããã¾ã§ãå¤ãã®åºãæ®åãã¦ããã¢ããªã±ã¼ã·ã§ã³ã«ããªãã®æéãè²»ããããããã§RESTãã¡ãã»ã¼ã¸ã³ã°ãã¿ã¼ã³ã«ã¤ãã¦ã¯å¤å°ãªãã¨ãç解ãæ·±ã¾ã£ã¦ããä»ãå®ã¯WebSocketãå®è£ ããå ¸åçãªWebã¢ããªã±ã¼ã·ã§ã³ï¼ãããã¯WebSocketã©ã¤ã¯ãªæ½è±¡åã¬ã¤ã¤ï¼ã®å¤§é¨å
Android SDKã¯Android Studioä»å±ã®ãã®ã§ããçè ã®å ´åãæ¢åã®Androidéçºç°å¢ã¯æã¡åããã¦ãã¾ããã®ã§ãä¸è¨ä»¥å¤ã«Androidé¢é£ã®è¨å®ã¯ä¸åããã¾ããããã§ã«Androidéçºç°å¢ãæã£ã¦ããæ¹ã¯ãç°å¢å¤æ°ANDROID_SDK_HOMEã~/.androidãªã©ãä¸æå¾ é¿ãã¦ããã¨ãç¡ç¨ãªãã©ãã«ã«æ©ã¾ãããªãã§æ¸ããã¨æãã¾ãã 説æä¸ã®æ³¨æ ä»åããAndroid Studioã®æä½èª¬æãå ¥ãã¾ãã説æã®é½åä¸ã以ä¸ã®ã«ã¼ã«ã§ç»é¢ãæ©è½ã«ã¤ãã¦è¨è¿°ãã¾ãã ç»é¢åãç»é¢ä¸ã®é ç®ã¯ã«ãã³ï¼â ãâ ãâ ï¼ã§ç¤ºãã¾ãï¼ä¾ï¼ãPreferencesããâ Appearanceããªã©ï¼ è¨å®ç»é¢ãªã©ãç»é¢å ã®ç¹å®ã®ã¿ããé ç®ãæ示ããå ´åã¯ã¹ã©ãã·ã¥ï¼/ï¼ã§åºåã£ã¦ç¤ºãã¾ãï¼ä¾ï¼ãPreferences / AppearanceãPreferencesç»é¢ã®Ap
ããã«ã¡ã¯ãèå¡ã§ãã èãã¨ããã«ããã¨ãæè¿ AWS ã³ãã³ãã©ã¤ã³ã¤ã³ã¿ã¼ãã§ã¤ã¹ï¼ä»¥ä¸ãAWS CLIï¼ã®äººæ°ãåçãã¦ããããã§ããããªãã¨AWS CLIããã¼ãã®ã¤ãã³ãã¾ã§éå¬ããã¦ããã§ã¯ããã¾ããããããã¯ãããã JAWS-UG CLI | Doorkeeper ã¨ããããã§ãä»æ¥ã¯AWSåå¿è ã®Macã¦ã¼ã¶ãæéã§AWS CLIã試ãæé ãæ¸ãã¦ã¿ã¾ãããã£ãWindowsããæã£ã¦ãªãï¼ Get Mac or Linux! 以ä¸ã®ä½æ¥ã¯ãAWSã¢ã«ã¦ã³ãããã§ã«æã£ã¦ãããã¨ãåæã§ããã¾ããMac OS 10.9.3 (13D65) ã§åä½ç¢ºèªãã¾ããã pipã®ã¤ã³ã¹ãã¼ã« ã¾ããpipãã¤ã³ã¹ãã¼ã«ãã¾ããpipã¨ã¯ãPythonã®ããã°ã©ãã³ã°ç°å¢ã§ä½¿ãããããã±ã¼ã¸ç®¡çã·ã¹ãã ã§ãã pipã®ã¤ã³ã¹ãã¼ã«ã«ã¯ãeasy_installã³ãã³ããå©ç¨ãã¾ãã
ã©ãã大ç§ã§ãã ããã®ã¨ããæ°æ©è½ã追ããããè¨äºã°ããã ã£ãã®ã§ãä»åã¯å°ãæ¯è²ã®ç°ãªããã¦ãã¦ç³»ãæ¸ãã¦ã¿ã¾ãã è² è·ãã¹ãã®åç½®ã(èªã¿é£ã°ãå¯) ãWebãµã¤ãããã¬ãçªçµã§ç´¹ä»ããããã¨ã«ãªã£ãï¼å¤§å¹ ãªã¢ã¯ã»ã¹å¢ããã£ã¦ããï¼ãã¨ããå ´åã«ããã¼ããã©ã³ãµãµã¼ãã¹ã®Elastic Load Balancing(ELB)ãCDNã®CloudFrontãªã©ã¹ã±ã¼ã«ãããµã¼ãã¹ãçµã¿åããä¹ãåãã¨ããã®ã¯ãã¯ã©ã¦ããããæè»æ§ã®é«ããæ´»ãããå ¸åãªä¾ãã¨æãã¾ããå®éãå¼ç¤¾ã®äºä¾ã§ãå¤ãã®ã客æ§ã«æä¾ããã好è©ãããã ãã¦ãã¾ãã ãããã®ãµã¼ãã¹ãæ§æããã«ããããå®éã®ã¢ã¯ã»ã¹å¢ã«èããããã試ãããè² è·ãã¹ããå®æ½ãããã¨ãå¤ãã¨æãã¾ããã大è¦æ¨¡ãªã±ã¼ã¹ã«ãªã£ã¦ããã¨é£ããã®ãè² è·ãã¹ããå®æ½ãããã·ã³ã®ç¢ºä¿ã§ããããã«ã¤ãã¦ãAmazon EC2ã§ããã°ãAuto Sca
ã¾ã ã社å ã§O'Reillyã®ãã¤ããã©ã¼ãã³ã¹ãã©ã¦ã¶ãããã¯ã¼ãã³ã°ã®èªæ¸ä¼ããã£ã¦ãã¦ã èªåããï¼ï¼ç« ã®server sent eventsããã®ã§ããã®ä¸æ¸ãã(åã®è³æããã¤ãblogã«upãã) â»ã¡ãªã¿ã«ãæ¸ãã¦ãäºãåã«ã¾ã¨ãã¦ãããã§ã¯ãªãã®ã§ãã注æãã ãã¤ããã©ã¼ãã³ã¹ ãã©ã¦ã¶ãããã¯ã¼ãã³ã° âãããã¯ã¼ã¯ã¢ããªã±ã¼ã·ã§ã³ã®ããã®ããã©ã¼ãã³ã¹æé©å ä½è : Ilya Grigorik,åç°ç¥ä¸é,æ ªå¼ä¼ç¤¾ããã°ã©ãã³ã°ã·ã¹ãã 社åºç社/ã¡ã¼ã«ã¼: ãªã©ã¤ãªã¼ã¸ã£ãã³çºå£²æ¥: 2014/05/16ã¡ãã£ã¢: 大åæ¬ãã®ååãå«ãããã° (2件) ãè¦ã 16ç« Server Sent Events ããè¨ãããã®ãSNSã®Timelineã®æ´æ°ã¨ãã§ä½¿ããä»çµã¿ server sent eventsã£ã¦websocketã¨è¢«ã£ã¦ããäºããã£ã¦ãä¸ã ç®ç«ããªãã§
Heroku ã®æ°æ©è½ã§ Heroku Button ãåºãã è¦ããããã触ãæ¹ãæ©ãã以ä¸ã®ãã¿ã³ãæ¼ã㨠md2inao ãããªãã® Heroku ã¢ã«ã¦ã³ãã«ãããã¤ãã¦ãåãããã¨ãã§ããã ãã¿ã³ãæ¼ãã¨ä»¥ä¸ã®ãããªç»é¢ãåºã¦ãDeploy to Free ãæ¼ãã¨ç´ã¡ã«ãããã¤ãå§ã¾ãã GitHub ããã½ã¼ã¹ã³ã¼ãã Heroku ã«ãããã¤ããã¦ãWeb ã¢ããªã±ã¼ã·ã§ã³ãåãã ãæºæ¦ã ãã®ãã¿ã³ã README.md ã«ç½®ãã¦ããã°ãWebã¢ããªã±ã¼ã·ã§ã³ãèªåã§åãããããªã¨æã£ãã¦ã¼ã¶ã¼ããèªåèªèº«ã®ç°å¢ã§å¥½ããªæã«ããããããã¤ãã¦ä½¿ããã¨ãã§ããã ããªãã¡ãHeroku Button ã§ãURI ãä»ãã Web ã¢ããªã±ã¼ã·ã§ã³ã®äº¤æãå¯è½ã«ãªã£ãã Heroku Button Heroku Button ãæå¹ã«ããããã®åæã¯å²ã¨ã·ã³ãã«ã§ Git
Homebrew Cask ã¢ããªãã³ãã³ãã©ã¤ã³ã§installã§ãã homebrew-cask ãå°å ¥ãã¦ã¿ã¾ããã Installation brew install caskroom/cask/brew-cask brew cask search <something> brew cask install <something> installå ´æãããã©ã«ãã§ã¯~/Applications ã®ãã /Applications ã«å¤æ´ãã export HOMEBREW_CASK_OPTS="--appdir=/Applications" Alfred Settings caskã¯ã¢ããªãsymlinkã§é ç½®ãã¾ãããAlfredã§ã¯symlinkãèªèãã¦ãããªãã®ã§ãä¸æéå ãã¦èªèããããã«ããè¨å®ããã¾ãã åèï¼ Mac - homebrew-caskã§ã¤ã³ã¹ãã¼ã«ãã
人éã¨ã¦ã§ãã®æªæ¥ï¼æ§ï¼ ãã¦ã§ãã®æ´å²ã¯äººé¡ã®æ´å²ã®ç¹°ãè¿ããã¨ãã観ç¹ããè²ã åå¼·ãã¦ãã¾ãã2014å¹´ã¾ã§ã®äººéã¨ã¦ã§ãã®æªæ¥ã®æ§ããã°ã§ãã ï¼ç»åãå¤ãã®ã§ãä¸æ¦ãã¼ã¿ãå ¨ã¦èªã¿è¾¼ãã§ããããã°ã¨ã³ããªãèªã¿å§ããæ¹ãè¯ãããããã¾ããâ¦) http://instagram.com/p/rgfgD4I7VE/ ãã¡ãã£ã¨ææ¥ãã1人ã§Linuxã®æ ã«è¡ã£ã¦ãããã¨ã³ããªã«æ¸ããéããå é±Linuxããã°ã©ãã³ã°ã¤ã³ã¿ãã§ã¼ã¹ã¨ããã¨ã£ã¦ãéããæè¡æ¸ã¨éæ¥18å符ã¨æä½éã®çæ¿ããæã£ã¦ãåæµ·éç®æãã¦éè¡ãå¿«éãä¹ãç¶ããæè¡æ¸ãé»è»ã®ä¸ã§ã²ãããèªã1人æ ããã¦ãã¾ããã ãªã©ã¤ãªã¼Linuxæ¬ã®ä¸å¤§å¶å¨(èªç¤¾èª¿ã¹)ãæ¯è¼ãã¦ã¿ããã«ã¼ãã«æ¬ãä¸çª "èã"ã®ã 㪠pic.twitter.com/SM26NKSiqh â hiroya ito (@hiboma) August
æçµé¬¼çFizzBuzzå¤§å ¨ - Qiitaã«åºæ¿ãåãã¦ãQiitaã®ã»ãã«ãã¹ããã¦ã¿ããã ãã©ããã¡ãã¯è§£èª¬ä»ãã§ã RubyçFizzBuzz - ãã®ï¼ class FB def FizzBuzz(n) (n%15)==0 end def Fizz(n) (n%3)==0 end def Buzz(n) (n%5)==0 end def self.call(n) instance_methods(false).detect { |m| new.send(m, n) } || n end end (1..100).each { |i| printf "%s ", FB.call(i) } # >> 1 2 Fizz 4 Buzz Fizz 7 8 Fizz Buzz 11 Fizz 13 14 FizzBuzz 16 17 Fizz 19 Buzz Fizz 22 23 Fizz
â質åï¼â Ruby製ãµã¼ããã¼ãã£ã©ã¤ãã©ãªãè¦ã¯gemã§ãä½ã人æ°ãªã®ãã£ã¦ãã¨ãæã£åãæ©ãç¥ããããã§ããã©ã âåçï¼â RubyGems.orgã®statsãã¼ã¸ãè¦ã¦ãã ããã â質åï¼â ãã£ï¼ããã ãï¼ãã®è¾ºã¯ä¸å¹´ä¸ä½ã§åºå®ã§ãããããã¡ãã£ã¨ä¿ºã®ç¥ããªããã©ã¨ãã£ã«å¯ãã ãã®ã«åºä¼ããããã ãã©ã俺ãRailsç¨ãªããã âåçï¼â ã«ãã´ãªã¼å¥ãªãThe Ruby Toolboxãããã¾ãã The Ruby Toolbox - Terminal Coloring â質åï¼â ãããã俺ã®è³ªåã¡ããã¨èãã¦ãã®ï¼ã«ãã´ãªã¼å¥ãªãã¦è¨ã£ã¦ãªãããããã«ãããã®ã«ãã´ãªã¼ã£ã¦ãªãã俺çã«ä¿¡ç¨ãªããã ãããåããã¼ãå¤ãã£ã¦ããã..ã俺ã®gemåºã¦ããªãã£ã¦ããã..ã âåçï¼â GitHubã®Trendingã§ããæè¿ã®äººæ°ãªãã¸ããªãåããã¾ãã Trending
ãªãªã¼ã¹ãé害æ å ±ãªã©ã®ãµã¼ãã¹ã®ãç¥ãã
ææ°ã®äººæ°ã¨ã³ããªã¼ã®é ä¿¡
j次ã®ããã¯ãã¼ã¯
kåã®ããã¯ãã¼ã¯
lãã¨ã§èªã
eã³ã¡ã³ãä¸è¦§ãéã
oãã¼ã¸ãéã
{{#tags}}- {{label}}
{{/tags}}