Next.js App Routerã«ãããè¨è¨ããã¹ããã©ã¯ãã£ã¹ããçè ãªãã«ã¾ã¨ãã¾ããã
Next.js App Routerã«ãããè¨è¨ããã¹ããã©ã¯ãã£ã¹ããçè ãªãã«ã¾ã¨ãã¾ããã
æè¿Webã¢ããªãä½ããã¨ããã£ã¦ãåä½ãã§ãã¯ã®ããã«curlã³ãã³ããè²ã 使ã£ãããªãã·ã§ã³ãè²ã ãã£ã¦ããã¼ã¿éä¿¡ã®æ¹æ³ã«åããã«ããã®ã¨ããããã£ãã®ã§ã使ãæ¹ãã¾ã¨ãã¦ã¿ãã ãªãåããã«ããã çç±1: éä¿¡æ¹æ³ãè²ã ãã åã«ãã¼ã¿éä¿¡ã¨è¨ã£ã¦ããããæ¹ãããã¤ããããWebã¢ããªã«å¯¾ãã¦ãã¼ã¿ãéãæ¹æ³ã¯å¤§ãã4ã¤ããã¨æããããããã®å ´åã«å¿ãããªãã·ã§ã³ã使ããªããã°æããªããã¾ããããããä½ããããµã¼ãã¹ãã©ã®å½¢å¼ãæå¾ ãã¦ããããç¥ã£ã¦ããªããã°ãªããªãã URLã¨ã³ã³ã¼ãã«ããPOST ãã«ããã¼ãã«ããPOST REST APIã§ã®POST ã¯ã¨ãªæåå çç±2: ãã¼ã¿ã®æ¸¡ãæ¹ãè²ã ãã éããã¼ã¿ãæå®ããæ¹æ³ãããã¤ãããããã¯ããªãã·ã§ã³ã使ãåããªããã°ãªããªãã ãã¼ã¿ãã³ãã³ãä¸ã§æå®ãã ãã¼ã¿ãå«ãããã¡ã¤ã«ãæå®ãã name=content
ããã°ãã¯ããã¡ã¬ã¤ã§ããæ¬æ¥ã¯JavaScriptã ãã§ãã©ã¦ã¶ã®ããæ å ±ã®ãã¼ã¿ãä¿åããæ©è½ã®å®è£ æ¹æ³ã«ã¤ãã¦æ¸ããã¨æãã¾ãã æ¦è¦ ãã¼ã«ã«ä¸ã ãã§ãã¡ã¤ã«ã®ä¿åãã§ããããã«ãªãæ¹æ³ã«ãªãã¾ãã èªåãä½ã£ã¦ããMarkdown-F Editorã¯ãã®æ©è½ã使ã£ã¦ä¿åãå®è£ ãã¦ãã¾ãã ä»åå©ç¨ããæ©è½ã¯HTML5ã®æ©è½ãªã®ã§ããã©ã¦ã¶ã«ãã£ã¦ã¯å®è£ ããã¦ããªãå¯è½æ§ãããã¾ãã®ã§ã注æã 確èªãã©ã¦ã¶ IE11 Firefox GoogleChrome ã«ã¦ç¢ºèªãåã£ã¦ã¾ããIEã«é¢ãã¦ã¯ç¬èªé¢æ°ã使ã£ã¦ãããããåã®ãã©ã¦ã¶ã§ã¯å¯¾å¿ããã¦ããªãå¯è½æ§ãããã¾ãã ã½ã¼ã¹ã³ã¼ã ã½ã¼ã¹èªä½ã¯çµæ§ç°¡åã§ãã var text = "ããã¹ããã¼ã¿"; var blob = new Blob([text], {type: "text/plain"}); // ãã¤ããªãã¼ã¿ãä½ã
ãã®è³æã§ã¯ãJavaScript ã§ãªãã¸ã§ã¯ãæåããã°ã©ãã³ã°ãè¡ãéã«åãã¦ãããã¨ãæã¾ãããåºç¤ç¥èãæ¦å¿µã«ã¤ãã¦è§£èª¬ãã¾ãã ã対象è ã ã»JavaScript ã§ã¢ããªã±ã¼ã·ã§ã³ãæ§ç¯ã§ããæ¹ ã»JavaScript ã«ããããªãã¸ã§ã¯ãæåããã°ã©ãã³ã°ã® å®ç¾ææ³ãåçã¸ã®ç解ãæ·±ãããæ¹ ã»Java çãªã¯ã©ã¹ãã¼ã¹ã®è¨èªã¨ã®éãã«éåæãæ··ä¹±ã æãã¦ãã£ãããæ¹Read less
ãã®ã¨ã³ããªã¯Frontrend Advent Calendar 2013 23æ¥ç®ã®è¨äºã§ãã 2014/03/16è¿½è¨ WebRTC-DataChannelã«ã¤ãã¦ãã¨ã³ããªæ¸ãã¾ãããâããã©ããã WebRTC-DataChannel使ã£ã¦ã¿ãã WebRTCãä»çµã¿ã®ç解ããå®è£ ã¾ã§ Advent Calendarãæ¸ãã¨ãããã¨ã§ãªããæ°ãããã¨ãã£ãã»ããããããªã¼ã£ã¦æã£ã¦ãã®ã§ãä»åã¯WebRTCã調ã¹ã¦ã¿ã¾ããã 調ã¹ãªããã ã£ãã®ã§ééã£ã¦ããç®æãããããã§ãããå°é家ã®æ¹ã®ããã³ãããã°æè¿ã§ãã å ã«ä½ã£ããµã³ãã«ãã¢ã触ãããæ¹ã¯ä»¥ä¸ã®ã¢ãã¬ã¹ããã©ããã WebRTC Video Chat Sample â»æ¥ç¶åã¯åæã«ã¢ã¯ã»ã¹ãã¦ããæ¹å ¨å¡ããè¦ãã¾ãã®ã§ã注æãã ããï¼æ¥ç¶ä¾é ¼ãæ¥ãéã«ã¯ãã¤ã¢ãã°ãåºãããã«ãã¦ã¾ãããå®æã«å¿çããã¨ç¥ããªã人ã¨ã¤ãª
ãã®è¨äºã¯è³å³æéåãã§ããï¼æ´æ°ãã1å¹´ãçµéãã¦ãã¾ãï¼ JavaScriptã«ã¯æ¥ä»ãæ±ãçºã® âDateâ ãªãã¸ã§ã¯ããããã¾ãããæ£ç´ãªã¨ããããã¯ãã¾ã親åã§ã¯ããã¾ããã ããã§ãJavaScriptã®æ¥ä»å¨ãã§æ¥½ãããããã®ã©ã¤ãã©ãªã®ã¡ã¢ãããã«ã XDate XDate â A Modern JavaScript Date Library Dateããã£ã¨ä¾¿å©ã«ãã XDateãªãã¸ã§ã¯ã ãå®è£ ããã©ã¤ãã©ãªã§ãã 使ãæ¹ã¯Dateã¨ã»ã¨ãã©å¤ããããXDateã«å¼æ°ã渡ãã¦åæåãã¦ä½¿ãã¾ãã XDateãªãã¸ã§ã¯ãã¯ãDateã«ããsetTimeãgetFullYearãªã©ã®ã¡ã½ãããç¶æ¿ãã¦ããä»ã æ¥ä»ã®è¶³ãç®ãè¡ã£ãããå·®åãè¨ç®ãããç便å©ãªã¡ã½ããã沢山çãã¦ãã¾ãã var d = new XDate(1977, 10, 25); // 1977/1
HTML5ã§2次å ã®ã¤ã³ã¿ã©ã¯ãã£ãã³ã³ãã³ããå¶ä½ããã«ã¯ããã¾ãã¾ãªJavaScriptã©ã¤ãã©ãªãããã¾ããã©ããé¸æããã¹ããè¿·ãã©ããã§ã¯ãªãã§ããããï¼ ããã§ä»åã¯HTML5ã®å種JavaScriptã©ã¤ãã©ãªã«ã¤ãã¦ãããã©ã¼ãã³ã¹ãæ¯è¼æ¤è¨¼ãã¦ã¿ã¾ããã ä»åæ¤è¨¼ãããã¬ã¼ã ã¯ã¼ã¯ ã¡ã¸ã£ã¼ãªJavaScirptã©ã¤ãã©ãªã¨ãã¦æ¬¡ã®5種é¡ã§ãã¹ããã¾ããããã¼ã¸ã§ã³ã¯2013å¹´4æ10æ¥ç¾å¨ã®ææ°çã使ã£ã¦ãã¾ãã詳ããæ¤è¨¼æ¹æ³ã¯è¨äºã®å¾åã«ã¾ã¨ãã¦ãã¾ãã CreateJS (EaselJS 0.6.0) Arctic.js (v0.1.11) enchant.js (v0.6.3-48) Pixi.js (v1.0.0) Processing.js (v1.4.1) å種JavaScirptã©ã¤ãã©ãªã®ãã³ããã¼ã¯çµæ â»ã°ã©ãã®æ°å¤ãé«ãã»ã©ããã©ã¼ãã³ã¹ãé«ããã¨
curlã¨ãã§åã£ã¦ããJSONãæ´å½¢ãã¦è¡¨ç¤ºãããã£ãã®ã§ã°ã°ã£ããããæ¹æ³ããã£ãã®ã§ã unix - How to pretty-print JSON from the command line? - Stack Overflow ãã¤ãã§`python -mjson.tool`ã«æ¸¡ãã ããpythonãããã $ curl -s http://api.tumblr.com/v2/blog/david.tumblr.com/info\?api_key\=fuiKNFp9vQFvjLNvx4sUwti4Yb5yGutBN4Xh10LXZhhRKjWlV4 | python -mjson.tool { "meta": { "msg": "OK", "status": 200 }, "response": { "blog": { "ask": true, "ask_anon": false
1. JSéçºã«ããã TDDã¨èªåãã¹ã ãã¼ã«å©ç¨ã®åæ 2012.12.06 æ ªå¼ä¼ç¤¾ãããªã³ ä¸æ 浩士 12å¹´12æ5æ¥æ°´ææ¥ 2. èªå·±ç´¹ä» ä¸æ 浩士 ( @kozy4324 ) æ ªå¼ä¼ç¤¾ãããªã³æå± ä¸»ã«Webã¢ããªã®ããã³ãã¨ã³ãéçº JavaScript, ActionScript 12å¹´12æ5æ¥æ°´ææ¥
PhantomJSã¨Jasmineã§æ¯ãèãé§åéçºãªJavaScriptãã¹ãï¼ãã¬ã¼ã ã¯ã¼ã¯ã§å®è·µï¼ JavaScriptãã¹ãå ¥éï¼2ï¼ï¼1/3 ãã¼ã¸ï¼ ãã£ããã¨JavaScriptããã¹ãããããã«ãä»æ³¨ç®ã®JavaScriptç¨ã®ãã¹ããã¬ã¼ã ã¯ã¼ã¯ãããã¤ãç´¹ä»ãããã®æ¦è¦ããå®è·µçãªä½¿ãæ¹ã¾ã§è§£èª¬ããé£è¼ ååã¯ãJavaScriptãã¹ãã®åºæ¬ãä»åãããã¬ã¼ã¯ã ã¼ã¯ãç´¹ä» ååã®ãJavaScriptãã¹ãã®åºç¤ç¥èã¨ä½¿ãããã¬ã¼ã ã¯ã¼ã¯6é¸ãã§ã¯ãJavaScriptã®ãã¹ããåãå·»ãç°å¢ããJavaScriptã®ãã¹ãã«ä½¿ç¨ã§ãããã¬ã¼ã ã¯ã¼ã¯ã®ç´¹ä»ãè¡ãã¾ãããä»åããã¯ãååã®è¨äºã§ç´¹ä»ããããã¬ã¼ã ã¯ã¼ã¯ã使ç¨ãã¦å®éã«JavaScriptã®ãã¹ãç°å¢ãæ§ç¯ãããã¹ããè¡ãã¾ã§ã®æµãã解説ãã¾ãã ä»åã¯ãPhantomJSãã¨ãJasmineããåãä¸ãã¾
ã¯ã¦ãªã°ã«ã¼ãã®çµäºæ¥ã2020å¹´1æ31æ¥(é)ã«æ±ºå®ãã¾ãã 以ä¸ã®ã¨ã³ããªã®éããä»å¹´æ«ãç®å¦ã«ã¯ã¦ãªã°ã«ã¼ããçµäºäºå®ã§ããæ¨ããç¥ãããã¦ããã¾ããã 2019å¹´æ«ãç®å¦ã«ãã¯ã¦ãªã°ã«ã¼ãã®æä¾ãçµäºããäºå®ã§ã - ã¯ã¦ãªã°ã«ã¼ãæ¥è¨ ãã®ãã³ãæ£å¼ã«çµäºæ¥ã決å®ãããã¾ããã®ã§ã以ä¸ã®éãã確èªãã ããã çµäºæ¥: 2020å¹´1æ31æ¥(é) ã¨ã¯ã¹ãã¼ãå¸æç³è«æé:2020å¹´1æ31æ¥(é) çµäºæ¥ä»¥éã¯ãã¯ã¦ãªã°ã«ã¼ãã®é²è¦§ããã³æ稿ã¯è¡ãã¾ãããæ¥è¨ã®ã¨ã¯ã¹ãã¼ããå¿ è¦ãªæ¹ã¯ä»¥ä¸ã®è¨äºã«ãããã£ã¦æç¶ãããã¦ãã ããã ã¯ã¦ãªã°ã«ã¼ãã«æ稿ãããæ¥è¨ãã¼ã¿ã®ã¨ã¯ã¹ãã¼ãã«ã¤ã㦠- ã¯ã¦ãªã°ã«ã¼ãæ¥è¨ ãå©ç¨ã®ã¿ãªãã¾ã«ã¯ãè¿·æãããããããã¾ãããã©ãããããããé¡ããããã¾ãã 2020-06-25 è¿½è¨ ã¯ã¦ãªã°ã«ã¼ãæ¥è¨ã®ã¨ã¯ã¹ãã¼ããã¼ã¿ã¯2020å¹´2æ28
3æ¥åã«g200kgãããææ¡ããWebMidiLinkã¨ããè¦æ ¼ãããããã¦ãã¾ã ã«è奮ããããããªãæããDTMã¨Webã®ä¸çã¯ãã£ããããããã©ããªã£ã¦ãã¾ããã ããã¨ããæ°æã¡ã§ãã WebMidiLinkã¯ãã²ã¨ãã¨ã§è¨ãã¨ãMIDI over window.postMessageãã¨ãããããªãã®ã§ãã¨ã¦ãã·ã³ãã«ãªã¢ã¤ãã¢ãªãããããã¾ã§å¤ãã®äººã夢æ³ãã¦ããã誰ãã§ããªãã£ãWeb楽å¨ã®ã¢ããªéæ¥ç¶ãå®ç¾ãã¦ãã¾ãã¾ããã ãã£ãã¦è¤éãªææ³ã§ã¯ãªãããã¹ã¿ã¼å´ç´20è¡ãã¹ã¬ã¼ãå´ç´20è¡ã®åè¨40è¡ç¨åº¦ã§èª°ã§ãå®ç¾ã§ãã¦ãã¾ãã¾ãããã¬ã¤ã¯ã¹ã«ã¼ã¯ããç®ã®åã«ãã£ãã®ã§ããã¿ããªã模索ãã¦ããä¸ãã¨ã¦ãã¯ã¬ãã¼ã§ã¯ã¼ã«ãªè§£æ±ºæ¹æ³ãæ示ãã¾ããã Web楽å¨ã¯ã¾ã æ°ããæè¡ã§ããããã¾ã§Flashãã¼ã¹ãJava Appletãã¼ã¹ã®æ¥½å¨ã¢ããªããããªãã®æ°ããã¾ããããå»
ã¯ããã« ãã¢åç» ãä½ã¨ãå°è±¡çãªJavascript Framework ãMeteorã ã使ã£ã¦ã·ã³ãã«ãªãã£ããã¢ããªãä½ã£ã¦ã¿ã¾ããã ç¾ç¶ã§ã¯DBã«å¯¾ãã¦å¤æ´ãå ããéã«èªè¨¼ãã¸ãã¯ãåå¨ããªããããå®ç¨çãªã¢ããªãä½ããã¨ã¯é£ããã§ãããDBï¼ã½ã¼ã¹ï¼ç»é¢è¡¨ç¤ºã常ã«åæãã¦ããæè¦ã¨ãã¯ã©ã¤ã¢ã³ããã©ã¦ã¶ããDBãå¤æ´ãã¦ãããã®ãããªæè¦ã¯ãªããªãæ°é®®ã§ããæéã®ç¡ã人ã¯ãã¢åç»ã ãã§ãè¦ã¦ã¿ã㨠é ãæ±ãããã é¢ç½ããã¨æãã¾ãã ï¼èªåã¯ãã¢åç»ãè¦ãå¾ãé ãæ±ãã¦ãªãã ããã»ã»ã»ã¨åãã¦ãã¾ããã Meteorã®ç¹å¾´ã«ã¤ãã¦ã¯ç¶ºéºã«ã¾ã¨ã¾ã£ã¦ããè¨äºãããã®ã§ãããã§æ¹ãã¦è§£èª¬ã¯ããã以ä¸ã®è¨äºã«ä»»ãããã¨æãã¾ãã ãMeteorãã¯ãJavaScript/HTMLã§éçºãããªã¢ã«ã¿ã¤ã Webã¢ããªã±ã¼ã·ã§ã³åºç¤ãä½ãèµ·ãã¦ããã®ãããã«åãããªãã»ã©ããã
æè¿JavaScriptã触ããã¨ãå¤ãã®ã§ãããJavaScriptã®ãããã¿ã¤ãã«ã¤ãã¦èª¿ã¹ã¦ãããã«å¿ãã¦ãã¾ãã®ã§ãã¡ãã£ã¨ã¾ã¨ãã¦ã¿ã¾ããã ãããã¿ã¤ããã¼ã¹ ãããã¿ã¤ããã¼ã¹ã£ã¦ããããä½ã ããã¨ãåã®ç解ã§ã¯ãããªæãã§ãã ãªãã¸ã§ã¯ãã®æ¯ãèãã¯ãã®ãªãã¸ã§ã¯ãèªèº«ã¨ãã®ãªãã¸ã§ã¯ããä¿æãããããã¿ã¤ããªãã¸ã§ã¯ãã«ãã£ã¦æ±ºå®ããã ã¾ããããã¿ã¤ããªãã¸ã§ã¯ãããªãã¸ã§ã¯ããªã®ã§ããã®æ¯ãèãã1.ã«å¾ã 1.ã¨2.ãããªãã¸ã§ã¯ãã®æ¯ãèãã¯ãããã¿ã¤ããé£éçã«ãã©ããã¨ã¨ãªã(ãããã¿ã¤ããã§ã¼ã³) ãªãã¸ã§ã¯ãã¯éçãªæ§é ã¨é¢é£ãããèªç±ã«ããããã£ãä¸æ¸ã/追å /åé¤ãããã¨ãã§ãã åãã³ã³ã¹ãã©ã¯ã¿ããçæãããã¨ãã¦ããããããã£ãåãã¨ã¯éããªã 以ä¸ã®ãªã³ã¯ãåèã«ãªããã¨ã http://sumim.no-ip.com:8080/wiki/4
Web ãã¼ã¸å ã®ä»»æã®è¦ç´ ããã«ã¹ã¯ãªã¼ã³è¡¨ç¤ºå¯è½ã«ãã Fullscreen API ã§ããããåå¼·ã¤ãã§ã«ç°¡åã«è©¦ãã¦ã¿ã¾ããã ã¡ãã£ã¨åãå æã®è©±é¡ã«ãªã£ã¦ãã¾ãã®ã§ãããWeb ãã¼ã¸å ã®ä»»æã®è¦ç´ ããã«ã¹ã¯ãªã¼ã³è¡¨ç¤ºå¯è½ã«ãã Fullscreen API ã«é¢é£ãã¦ãMozilla ãå ¬éãã¦ãã Gecko:FullScreenAPI ãæ´æ°ãã㦠Firefox Nightly ã§ä½¿ããããã«ãªã£ãããW3C ããã Fullscreen ï¼Editor's Draftï¼ ãå ¬éããããã¨è²ã åããæ´»çºã«ãªã£ã¦ãã¾ããã®ã§ãããæ©ä¼ã¨ãããã¨ã§ããåå¼·ã¤ãã§ã«ç°¡åã«è©¦ãã¦ã¿ã¾ããã ä¾ãã° HTML5 ã§è¿½å ããã video è¦ç´ ã¯ãä»ã¾ã§ Flash ãªã©ã®ã¢ããªã³ã«é ¼ã£ã¦ããåç»ã® Web ãã¼ã¸ã¸ã®åãè¾¼ã¿ãåçã HTML å´ã§å¯¾å¿ãããã¨ãå¯è½ã«ãã¾ãããã
Moment.js - A lightweight javascript date library JavaScriptã§ã®æ¥ä»ã®å¦çãè¶ ä¾¿å©ã«ãªããMoment.jsã 以ä¸ã«ã§ãããã¨ãã¾ã¨ãã¦ã¿ã¾ã æååãããã¼ã¹ãã¦æ¥ä»ãªãã¸ã§ã¯ããçæ UNIXã®ã¿ã¤ã ã¹ã¿ã³ãããæ¥ä»ãªãã¸ã§ã¯ããçæ ãDec 25, 1995ãã¿ãããªæååããæ¥ä»ãªãã¸ã§ã¯ããçæ æ¥ä»ãªãã¸ã§ã¯ãã«æéãç°¡åã« ãå ç®ã»æ¸ç® æå®æ¥æããã®çµéæéãåå¾ ãªãã¸ã§ã¯ãããã¼ã¹ã«ãã©ã¼ããããã¦åºåãã moment(date).format("dddd, MMMM Do YYYY, h:mm:ss a"); phpã«ãdateã¨ããé¢æ°ãstrtotimeã¨ããé¢æ°ããã£ãããã¾ããããããã便å©æ©è½ãJSã§ã使ããã¨ãåºæ¥ããããªãã®ã§ãã æ¥ä»ãããã¼ã«ä½¿ããããªãããã¯ãã§ä½¿ãããã§ããã ãµã¤
jQuery Event Delay ã³ã¼ã (function($){ $.fn.eventDelay = function(delay, triger, cancel, callback) { return this.each(function() { var target = $(this); var tid; target.bind(triger, function(){ tid = setTimeout(callback, delay * 1000) }) target.bind(cancel, function(){ clearTimeout(tid) }) }); } })(jQuery) 使ç¨ä¾ ãã¦ã¹ãªã¼ãã¼ã¤ãã³ã $('#hoge').eventDelay(2, 'mouseover', 'mouseout', function(){ alert('hoge') })
ã©ã³ãã³ã°
ã©ã³ãã³ã°
ã©ã³ãã³ã°
ãªãªã¼ã¹ãé害æ å ±ãªã©ã®ãµã¼ãã¹ã®ãç¥ãã
ææ°ã®äººæ°ã¨ã³ããªã¼ã®é ä¿¡
å¦çãå®è¡ä¸ã§ã
j次ã®ããã¯ãã¼ã¯
kåã®ããã¯ãã¼ã¯
lãã¨ã§èªã
eã³ã¡ã³ãä¸è¦§ãéã
oãã¼ã¸ãéã
{{#tags}}- {{label}}
{{/tags}}