Deleted articles cannot be recovered. Draft of this article would be also deleted. Are you sure you want to delete this article? ã¯ããã¦Qiitaã§è¨äºãæ¸ãã¦ãã¾ããå æ¥ãNode.js + Express.js + Backbone.jsãã§ãµã¼ãã¨ã¯ã©ã¤ã¢ã³ãã®ä¸¡æ¹ã®ã·ã¹ãã ãæ§ç¯ãã"Rendr"ã¨ããã¦ã§ããã¬ã¼ã ã¯ã¼ã¯ã試ãã¾ãããRendrã¯ãã¢ã¡ãªã«ã§äººæ°ã®ãµã¼ãã¹"AirBnb"ã®ãã¼ã ãéçºãããªã¼ãã³ã½ã¼ã¹ã¨ãã¦å ¬éãããã®ã§ããã¯ã©ã¤ã¢ã³ãå´ã§ã®æ¡ç¨äºä¾ã¯å¢ãã¦ããBackbone.jsã§ããããµã¼ãã§ã®å©ç¨ã¯çããã®ã§ã¯ç¡ãã§ãããããRendrèªä½ãã¾ã æ¥æ¬èªã§ã®ç´¹ä»ä¾ãç¡ãäºããããã·ã¹ãã ãç´¹ä»ãã¤ã¤ãä½¿ç¨æãã¡ãªãããããã¦ãã¡
Radian is an open source JavaScript library that makes it easy to embed plots in HTML documents. It is being developed as part of OpenBrainâs BayesHive project. Instead of writing JavaScript plotting code yourself, you use custom HTML elements to represent plots. For instance, the HTML code on the left produces the plot on the right: <plot height=200 aspect=2 stroke-width=2 x="[[seq(0,4*PI,101)]]"
ã¬ã¼ãã¼ãã£ã¼ãã表示ããããã ãã©ã ããã¾ã§ Rails ã§ä½¿ã£ã¦ãã lazy_high_chart ã¯ã©ãã対å¿ãã¦ããªãã£ã½ãã æè¿ãJavaScript ã©ã¤ãã©ãªãã©ãããã gem ã使ããã¨ã«æµæãåºã¦ããã®ã§ã lazy_high_chart ã使ãã®ã¯ããã¦ãä»ã®ã©ã¤ãã©ãªã使ããã¨ã«ããã ãã£ã¼ãã©ã¤ãã©ãªã§ã¯æåã©ããã®ãChart.jsããã¬ã¼ãã¼ãã£ã¼ãã«å¯¾å¿ãã¦ããã®ã§ã ããã¤ã試ãã¦ã¿ããã Chart.js | HTML5 Charts for your website. ã¬ã¼ãã¼ãã£ã¼ããæç»ãããµã³ãã«ãæãã¦ã¿ãã ãã¤ãã£ã¼ããæ£ãã£ã¼ããªã©ã«ã対å¿ãã¦ããã©ãä»åã¯ä½¿ãäºå®ãªããã§çç¥ã <!DOCTYPE html> <html> <head> <meta charset="utf-8"> <title>ChartSample</tit
ð New: Locize is now Free for small projects! We've replaced the trial-only model with a Free plan. Manage up to 1,000 words and 10,000 downloads for $0/mo. â Check it out! i18next is an internationalization-framework written in and for JavaScript. But it's much more than that! Want to know how to easily add internationalization to your software project? â Check out this article. i18next goes bey
ï¼è¿½è¨ï¼è²ã æ¹è¯ããã â Arduinoã¨Rubyã§èµ¤å¤ç·ãªã¢ã³ã³ ãgemã«ãã ââââ- å¸°å® åã«ã¹ããããã¯ã¼ã©ã¼ãã¤ãããããã«ãããArduinoã¨åè¨150åãããã®é¨åã¨ããã®Rubyã§æ¸ããã¢ã㪠https://github.com/shokai/arduino_ir_remote ã ãã§ä½¿ããã ã½ããã¦ã§ã¢é¨åã¯ã¾ã ã¢ãããã¼ããããã ãããã©ãï¼rubygemã«ããã¨ãï¼ãã¼ãã¦ã§ã¢ã¯ãããã以ä¸å¤æ´ããªãã®ã§æ¯éèªä½ãã¦ã試ããã ããã åããªãã£ããæ¬ é¥ããã£ãããgithubã®issueãtwitterã§@shokaiã«ã©ããã åãã¦ãã証æ åç» å®éã«ä½¿ãããã®ã¯ã¨ã¢ã³ã³ã ãã©ãã¨ã¢ã³ã³ã¯å°å³ãªã®ã§ãã¬ãã§ãã£ã¦ã¿ãã ç 究室ã«ããããã½ããã¯ã¨ã·ã£ã¼ãã®ãã¬ãã§è©¦ããã両æ¹ã¨ãåããã ããã½ããã¯ã®ãã¬ãããå¦ç¿ãã赤å¤ç·ãã¼ã¿ã¯gistã«è²¼ã£ãã
éçºé¨ å·éã§ããä»é±æ¨ææ¥ï¼7/25ï¼ããã£ãã³ IT ã½ãªã¥ã¼ã·ã§ã³ãºæ§ä¸»å¬ã® Sencha ã»ããã¼ã§ã話ããã¦é ããã¨ã«ãªãããã¢ã³ã¹ãã¬ã¼ã·ã§ã³ç¨ã«è¡¨é¡ã®ã¢ããªã使ãã¾ãããNode.js 㨠Sencha Touch ãçµã¿åããã¦ã¢ããªãä½ãããæ¹ã®åèã«ãªãæ°ãããã®ã§ãã½ã¼ã¹ã³ã¼ããå ¬éãã¾ãã Photo Sharing Appï¼ã½ã¼ã¹ã³ã¼ãï¼: https://github.com/kawanoshinobu/photo-sharing-app Photo Sharing Appï¼ãã¢ï¼: http://photo-sharing.herokuapp.com Sencha ã»ããã¼ã§ã¯ããã®ã¢ããªã®ä½ææ¹æ³ã解説ãã¾ããé嬿éãå¹³æ¥æ¼éãªã®ã§ããããããé½åã®ã¤ãæ¹ã¯ããã²ãã²ãè¶ãä¸ããï¼åå è²»ã¯ç¡æã§ã ^^ ãç³ãè¾¼ã¿ã¯ä»¥ä¸ã®ãµã¤ããã â Senchaã»ã
1 pixelï½ãµã¤ãã¼ã¨ã¼ã¸ã§ã³ãå ¬å¼ã¯ãªã¨ã¤ã¿ã¼ãºããã° ãµã¤ãã¼ã¨ã¼ã¸ã§ã³ãã®ã¯ãªã¨ã¤ã¿ã¼ã®åãçµã¿ãç´¹ä»ãããªãã£ã·ã£ã«ããã°ã§ããææ°æè¡ã¸ã®ææ¦ããµã¼ãã¹èªçã®è£è©±ãåå¼·ä¼ãã¤ãã³ãã®ã¬ãã¼ããªã©CAã¯ãªã¨ã¤ã¿ã¼ã®æ å ±ãæºè¼ã§ãã ã¿ãªããããã«ã¡ã¯ï¼ å é±ã«å¼ãç¶ãã¾ãã¦ãã¹ããçAmebaæ å½ã®å·å£ã§ãã ååäºåããéããå¾ç·¨ã§ã¯PhantomJSã使ã£ãããã«å®è·µçãªãã¹ãææ³ã解説ãã¦ããã¾ãã PhantomJSã使ã£ãã¹ãããµã¤ããã¹ãã®èªåå(åç·¨) å 容ã«é¢ãã¦ã¯ãååãä¼ãããã¨ãã ã»èªè¨¼ãåæã¨ãããã¼ã¸ã®ãã¹ãæ¹æ³ ã»Sinon.JSãå©ç¨ããAjaxã®ã¬ã¹ãã³ã¹ã®æ¹å¤ ã¨ããæ§æã«ãªã£ã¦ãã¾ãã èªè¨¼ãåæã¨ãããã¼ã¸ã®ãã¹ãæ¹æ³ã¿ãªããã¯èªè¨¼ãå¿ è¦ãªãµã¤ãã®ãã¹ãããã©ã¦ã¶ã§è¡ãå ´åããã¤ãã©ã®ããã«ãã¹ãããã¦ããã§ããããï¼ ã»ã¢ã«ã¦ã³ãã¨ãã¹
Update: A lot of readers have commented or tweeted that I shouldnât be unit testing private functions in the first place. Admittedly, this article is a little light on the why and mainly focuses on the how. To explain some of my rationale, I wrote a follow-up article: Why I Test Private Functions In JavaScript JavaScriptâs closures provide an excellent way to make variables and functions private,
Spectacular is a BDD framework for CoffeeScript and JavaScript whose attempt to bring the power of RSpec to JavaScript. Spectacular tries to favor the best practices used for writing better RSpec tests in its design. These are the kind of tests you can write with Spectacular: describe Array, -> given 'item', -> foo: 'bar' it -> should exist itsInstance 'length', -> should equal 0 describe '::index
Yeti ã¯Yahoo.comãã¡ã¤ã³ã§éçºãã¦ãNode製ã®Test RunnerçãªCLIã§ãã Yetièªä½ã¯ãã¹ãã®æ§æã¨ãã¯æã£ã¦ããªãã¦ãTest Frameworksã«æ¸ããã¦ããããã«QUnitãJasmineãMochaãYUI Testãªã©ã§æ¸ããããã¹ããåãããã¼ã«ã«ãªã£ã¦ãã¾ãã é°å²æ°çã«ã¯Testemã«ä¼¼ã¦ãã¦ãä¸ã®Test Frameworksã§æ¸ããhtmlãã¼ã¸ãç¨æãã¦ã ãã£ããã£ã¼ç¨ã®URLãä½ã£ã¦ãããã«ãã¹ãããããã©ã¦ã¶ããã£ããã£ã¼ãã¦ããã¹ããæ¸ããhtmlãæå®ãã¦å®è¡ãããã¨ããæãã§ãã (æå³çã«ããã¾ãå¤ãããªãã§ãããå ã«ãã¹ãç¨htmlãæå®ãã¦ããã©ã¦ã¶ã«ã¢ã¯ã»ã¹ãããã¨ããéã®æé ãã§ãã¾ã) Yetièªä½ã¯æ°å¹´åãããã£ã¦ãBunyipã¨ãã§ãã¤ã³ã¹ãã¤ã¢ããã¦ãããã¾ãã åããã¦ã¿ã QUnitãJasmineãM
The cross-platform JavaScript test framework jstest is a testing framework for JavaScript thatâs designed to run on any platform with minimal effort. It provides a familiar RSpec-style API for organising tests that can run on the following platforms: Web browsers: Chrome, Firefox, Internet Explorer, Opera, Safari Headless browsers: PhantomJS, SlimerJS Server-side platforms: Node.js, Narwhal, Ringo
ããããJavaScriptã·ãªã¼ãºã§ãã mizchi/deftypes.js https://github.com/mizchi/deftypes.js 主ã«coffee-scriptç¨ã®DSLã§ãã以ä¸ãã¹ã¦coffeeã ãã©ã¦ã¶ <script src="https://raw.github.com/mizchi/deftypes.js/master/deftypes.js"></script> Deftypes(); //provide DSLNode npm install deftypes æ¦è¦ åãæ¸ãã¾ããæ®å¿µãªããåçãã§ãã¯ã§ãã Point = {x: Number, y: Number} p1 = def Point, {x:1, y:2} #=> {x: 1, y:2} p2 = def Point, {x:1, z:2} #=> type error def
Fluentdã«å¯¾ãã¦ãfluent-logger-pythonã§æ¥æ¬èªã®ãã¼ã¿ãæãã¦æ£å¸¸ã«åä½ããã試ãã¦ã¿ãã ãã¼ã¸ã§ã³ã¯Ubuntu 12.04(precise)ãPython 2.7ãtd-agent 0.10.35ãfluent-logger-python 0.3.3ã fluent_test.py # coding: utf-8 from fluent import sender, event def main(): sender.setup('debug') event.Event('from_python', {u'æ¥æ¬èªã®ãã¼': u'æ¥æ¬èªã®ãã¹ã(unicode)'}) event.Event('from_python', {'æ¥æ¬èªã®ãã¼': 'æ¥æ¬èªã®ãã¹ã(utf8)'}) if __name__ == '__main__': main() unicodeå
ã©ã³ãã³ã°
ãç¥ãã
ã©ã³ãã³ã°
ãªãªã¼ã¹ãé害æ å ±ãªã©ã®ãµã¼ãã¹ã®ãç¥ãã
ææ°ã®äººæ°ã¨ã³ããªã¼ã®é ä¿¡
å¦çãå®è¡ä¸ã§ã
j次ã®ããã¯ãã¼ã¯
kåã®ããã¯ãã¼ã¯
lãã¨ã§èªã
eã³ã¡ã³ãä¸è¦§ãéã
oãã¼ã¸ãéã
{{#tags}}- {{label}}
{{/tags}}