ããã«ã¡ã¯ãããã³ãã¨ã³ãã¨ãã¹ãã¼ããã¼ã ã®ç©´äºï¼@pirosikickï¼ã§ããç¦å²¡å¨ä½ã§ãæ®æ®µã¯ç¦å²¡ã®weworkã§åãã¦ãã¾ããä»ã®ã¡ã³ãã¼ã¯çãæ±äº¬ã«å± ã¦ãªã¢ã¼ãã§ä»äºããã¦ãã¾ãããã¢ãã§ããããéçºãã¦ãã¾ãããweworkãå¿«é©ããã¦ãæ¯æ¥æ¥½ããã§ãï¼ ããã³ãã¨ã³ãã¨ãã¹ãã¼ããã¼ã ã§ã¯ããµã¤ãã¦ãºã®åãããã¯ããæ±ããWebããã³ãã¨ã³ãã®èª²é¡ã解決ããã®ãä»äºã®ä¸ã¤ã§ãã blog.cybozu.io æè¿ã®åãçµã¿ã¨ãã¦ãPuppeteerã§ä¸è¦ãªCSSãæ¶ããäºä¾ãç´¹ä»ãã¾ãã ãã®ããã°ã¯ã6/19ã«ç¦å²¡ã§éå¬ãããGoogle I/O '19ã®Webãã¾ã¨ããä¼ãã§ç»å£ããã¨ãã®å 容ã詳細ã«èª¬æãã¤ã¤ãã¢ãããã¼ãããé¨åãããã®ã§ãçºè¡¨è¦ãããã¹ã©ã¤ãè¦ããã¨ããæ¹ãè¦ã¦ããã ãã¾ãã¨å¹¸ãã§ãã speakerdeck.com ãã£ãã ã¨ãããããã¯ãã®CS
ããã©ã¼ãã³ã¹JavaScriptHTMLããã³ãã¨ã³ãcssdomcssom ããã«ã¡ã¯ã羽山ã§ãã ä»åã¯ã¦ã§ãã·ã¹ãã ã«ãããããã³ãã¨ã³ãã®ããã©ã¼ãã³ã¹ã®è©±ã§ãã çæ§ã¯ã¦ã§ãã®ããã©ã¼ãã³ã¹ãæ°ã«ãã¦ãã¾ããï¼ ãããã大æµã®æ¹ã¯SQLã®ãã¥ã¼ãã³ã°ããã¸ãã¯ã®æ¹è¯ãªã©ãããçµé¨ãããã®ã§ã¯ãªãã§ããããï¼ ãããããã°ã©ã ããã¥ã¼ãã³ã°ãã¦ããæå¾ ã»ã©ã¯ãã¼ã¸è¡¨ç¤ºé度ãæ¹åããªãã£ããã¨ã¯ããã¾ãããï¼ æ¨ä»ã®ã¦ã§ããµã¤ãã¯å¤§éã®CSS/Javascriptãã¡ã¤ã«ã§æ§æããã¦ãããã¼ã¸ã大åã§ããä¾ãã°HTMLã100ï½300msã»ã©ã§çæãã¦ãã©ã¦ã¶ã«è»¢éã§ããã¨ãã¦ãããã¼ã¸è¡¨ç¤ºãå®å ¨ã«å®äºããã®ã«4ï½5ç§ãããã¨ãããã¨ãçããããã¾ããã ããªããé ããã©æ²¢å±±ããããèªã¿è¾¼ãã§ãããä»æ¹ãªããªã»ã»ã»ãã¨è«¦ããªãã§ãã ããããã©ã¦ã¶ãã©ã®ããã«HTMLã解éãã¦ãCS
ã¯ããã« ãã¬ã³ããªã³ã°ã®ä»çµã¿ãªãã¦ç¥ããªãã¦ãããã©ã¦ã¶ãåæã«ãã£ã¦ããããããï¼ã å½æé§ãåºãã®ã¨ã³ã¸ãã¢ã ã£ãç§ã¯ããæã£ã¦ãã¾ããã å®éãå½æã®ç§ã¯ã¬ã³ããªã³ã°ã®ãã¬ãã®åãç¥ãã¾ããã§ããããç¹ã«æ¥åä¸ã§åé¡ã¯ããã¾ããã§ããã ãããããã®æã¯çªç¶è¨ªãã¾ããã ã¯ã©ã¤ã¢ã³ãã®è¦æã§ã¢ãã¡ã¼ã·ã§ã³ãå¤å½©ã«åãå ¥ããæ¡ä»¶ãå®è£ ããéã«ããã¹ã段éã§ä¸é¨ãã©ã¦ã¶ï¼SâfâriãEâgeï¼ã§ã¢ãã¡ã¼ã·ã§ã³ãã²ã©ãç¶æ³ã«ãªã£ã¦ãããã¨ãçºè¦ãã¾ããã (éçºä¸ã¯Chromeã§ç¢ºèªãè¡ã£ã¦ãããChromeã§ã¯ç¹ã«åé¡ã¯ãªãã£ãã®ã§çºè¦ãé ãã¾ããã) ããããã¯ãçã£ãããã«ããã©ã¼ãã³ã¹ã®æ¹åæ¹æ³ãã°ã°ããä¿®æ£ããæ¥ã ãç¶ãã¾ãããï¼æçµçã«ã¯ããªãã¨ããã«ããã©ã¦ã¶ã§ã®åä½ãæ ä¿ããç´åã¾ã§å®äºãã¾ãããï¼ ãã®æ¡ä»¶ãè½ã¡çããå¾ãæ¹ãã¦èªåã®èª¿ã¹ããã¨ãæ¯ãè¿ãã¨ãå±æçãª
HTMLãCSSã®ããã©ã¼ãã³ã¹ãã¥ã¼ãã³ã°ãçããæ®æ®µæèããã¦ããã§ããããï¼ ããã³ãã¨ã³ãã¯JavaScriptã®é²åã¨å ±ã«ã¢ããªã±ã¼ã·ã§ã³ãå¹´ã è¤éåãã¦ãããã¨ããããããã©ã¼ãã³ã¹ãã¥ã¼ãã³ã°ã®ãããã¯ãç®ã«ããæ©ä¼ãå¢ãã¾ããã ãããHTMLãCSSãåæ§ã«ã¬ã³ããªã³ã°ã®ä»çµã¿ãå°ãç¥ããããã«å¿ããå®è£ ãããã¨ã§ããã©ã¼ãã³ã¹ã大ããä¸ãããã¨ãå¯è½ã§ãã ä»åã¯æãã·ã³ãã«ãã¤åãããããäºä¾ã¨ãã¦ãwill-changeããããã£ã«ã¤ãã¦ç´¹ä»ãããã¨æãã¾ãã ãµã³ãã«ã使ã£ã¦FPSãå®éã«æ¸¬å®ãã¦ã¿ã ä»åã¯ãµã³ãã«ã¨ãã¦ãTwitterã®ãã¤ã¼ãã«ãããHTMLæ§é ã¨åããã®ã4000å縦ã«ä¸¦ã¹ãé«ã400pxã§ã¹ã¯ãã¼ã«ã§ããé åãç¨æããã¹ã¯ãã¼ã«æã®FPS(Frame Per Second)ã測å®ãã¦ã¿ã¾ããã // ãã®å®è£ ã¯å®è³ªãã£ã3è¡ï¼ const
ã¯ããã« Headless Chrome ã Node.jsã§ä½¿ç¨ã§ããã©ã¤ãã©ãª Puppeteerã§PDFãåºåããç´¹ä»ã§ãã ãµã¼ããµã¤ãã§ãHTMLåºåãããã®ãPDFã«ãã¦ã帳票ã¨ãã¦ã¯ã©ã¤ã¢ã³ãå´ã«åºåãããªãã¦ãã¨ããã¾ãããã»ã»ã»ãããã¾ããªãããªã»ã»ã»ã ã©ã¡ãã«ãã¦ããåã¯ãããããã§ããããããã¨ãPuppeteerã使ç¨ãããã§ãããããã£ããã¤ã³ãã¨ããããã®ã§ãåããã¦ç´¹ä»ãã¾ãã ç°¡åãªä½¿ãæ¹ã ãµã³ãã«ã¯æ¬å®¶ã«ããã¨ããã§ãã GoogleChrome/puppeteer 注æç¹ã¨ãã¦ãNodeJSã®ãã¼ã¸ã§ã³ã¯v7.6.0以éãé¸ãã§ãã ããããã以ä¸ã ã¨ããµã³ããããã°ã©ã ãåããªãã§ãã ã¾ãã¯ãpuppeteerãã¤ã³ã¹ãã¼ã«ãã¾ãã $ npm i --save puppeteer ãããããããã°ã©ã ãæ¸ãã¾ããããã§ã¯ãindex.jsã¨ãã¾ã
ä¸ä¼.com ã¬ã¹ãã©ã³ã¯ä»å¹´ã® 7 æ 18 æ¥ãã¹ãã¼ããã©ã³åãæ¤ç´¢ãã¼ã¸ã®ãªãã¥ã¼ã¢ã«ãè¡ãã¾ããããã®ã¨ã³ããªã¼ã§ã¯ããã®ä¸èº«ã«ã¤ãã¦å°ãç´¹ä»ããã¦ããã ãã¾ãã æ¤ç´¢ãã¼ã¸ã®èª²é¡ ä¸ä¼.com ã¬ã¹ãã©ã³ã§ã¯ã¹ãã¼ããã©ã³åãæ¤ç´¢ãã¼ã¸ã«å¯¾ãã¦ãé ããã¨ãã課é¡æèãããã¾ãããããã¯æè¡é¢ã§å°ããã¬ã¤ã¯ãã¦ã³ããã¨; ãã¼ã½ãã©ã¤ãºããå«ãè¤éãªå¦çãè¡ã£ã¦ããããããµã¼ãã¼ãµã¤ãå¦çãéãã UI ä¸ç¡é§ãªé 延å¦çãè¡ã£ã¦ãããããã¯ã©ã¤ã¢ã³ããµã¤ãã®æç»ãé ãã ã¨ãããµã¼ãã¼å´ã¨ã¯ã©ã¤ã¢ã³ãå´ä¸¡æ¹ã®èª²é¡ãããã¾ãããã¯ã©ã¤ã¢ã³ããµã¤ãã®ãç¡é§ãªé 延å¦çãã¨ããã®ã¯; æ¤ç´¢çµæåå¾ã REST API åããã¦ããã«ãé¢ãããåæ¤ç´¢ã®åº¦ã«ãã¼ã¸ãªãã¼ããè¡ãããµã¼ãã¼ãµã¤ãã®æç»ããããç´ãã¦ããã ã¨ããå®è£ ã«åé¡ãããã¾ãããä¸å³ããªãã¥ã¼ã¢ã«åã®ãã¼ã¸æç»ã®æ§åã§ã
帳票ã¨ããã°PDFã¨ãã¦çæããã®ãä¸è¬çã§ãããã? ã§ãã2015å¹´ã®ä»ãããã¦HTMLã§æãã®ããããã§ã(å人çã«)ãããªåä½ã§è¨å®ãããé«åº¦ãªå¸³ç¥¨ããCSSãé§ä½¿ãã¦ç°¡åã«ä½ããã¨ãã§ãã¾ããæ¥åã·ã¹ãã ã§ãã¢ãã³ãã©ã¦ã¶ãé¸æãããã¨ãå¢ãã@pageãªã©ãç©æ¥µçã«ä½¿ããããã«ãªã£ããã¨ãSPA(Single Page Application)ã®å°é ãããããã¨æ¡ä»¶ãæã£ã¦ãã¾ããã æ¸ãã¦ããçµæ§é·ããªã£ã¡ãã£ãã®ã§ãããã£ã¨ã³ã¼ãã ãè¦ããæ¹ã¯ãPaper CSSãªãã¸ããªãã©ããã ã¯ããã« HTML帳票ã®ã¡ãªãã 2015å¹´ç¾å¨ãHTML帳票ãé¸æããå¹¾ã¤ãã®ã¡ãªãããããã¾ãã ã©ã¤ããªãã¼ãã§ããªã¢ã«ã¿ã¤ã ãªã¹ã¿ã¤ã«èª¿æ´ ããã¯ã¨ã³ãã§ã¯ãªãããã³ãã¨ã³ãã§çæã§ãã åè ã¯ãgulpãGruntã®æ®åã§ãCSSã«ããHTMLã«ããããªã¢ã«ã¿ã¤ã ã«ãã¬ãã¥ã¼ã§ããç°
ããã«ã¡ã¯ãã«ã¤ãã¯ã®SPAãããããã¨å³¶æ´¥ã§ãã ä»å¹´ã¯Reactã¨Vueã使ã£ãSPAéçºããã¸ã§ã¯ããããã¤ãæ å½ãã¦ããã®ã§ãããã§å¾ãç¥è¦ã®ç·ã¾ã¨ãããããã¨æãã¾ãã â» ããã§ã®SPAã¨ã¯ãã¹ã¦ã®ViewãJavaScriptã§æ¸ãWebã¢ããªã®ãã¨ãæãã¾ãããµã¼ãã¼ãµã¤ãMVCã主軸ã«Viewã®ä¸é¨ãReactãVueã§æ¸ããã¨ãããã¾ãããä»åã¯ãã®ã±ã¼ã¹ã§ã¯ããã¾ããã 1. ãã¬ã¼ã ã¯ã¼ã¯ æ°å¹´åã¨ã¯äºæ ãå¤ããã ãã¬ã¼ã ã¯ã¼ã¯ã使ããªãã¨ããé¸æè¢ã¯æ¨ä»ã ã¨ããç¡ãã§ããããä¸¸è °ã®JSã§DOMãå¼ã£ã¦ããæ代ã«æ¯ã¹ãã¨ãããªãå®å®ããããã³ãã¨ã³ãã®éçºãã§ããããã«ãªãã¾ããã 人æ°ãã¬ã¼ã ã¯ã¼ã¯ã®å°é ã«ãªã£ã¦ãã React + Redux Vue + Vuex ããã®1年使ã£ã¦ãã¾ããããæ¸ãæ¹ã¯éãã©Fluxã¢ã¼ããã¯ãã£ã»ä»®æ³DOMã»ã³ã³ãã¼ãã³ãå¿å
A less well-known fact about R Markdown is that many other languages are also supported, such as Python, Julia, C++, and SQL. The support comes from the knitr package, which has provided a large number of language engines. Language engines are essentially functions registered in the object knitr::knit_engine. You can list the names of all available engines via: ## [1] "awk" "bash" "coffee" ## [4]
ã¿ãªããããã«ã¡ã¯ãteratailéçºãã¼ã ãã¶ã¤ãã¼ã®å¹³äºåªã§ãã Webãµã¼ãã¹ã®å¶ä½ã«ããã¦ãé²è¦§è ã«ã¨ã£ã¦æ å ±ãè¦è¦çã«ä¼ãããããããããã«ã¯ãã¼ã¸ã®ã¹ã¿ã¤ã«èª¿æ´ãæ¬ ãããªãã¨æãã¾ãããããªéè¦ãªå½¹ç®ãæ ã£ã¦ããã®ãCSSï¼Cascading Style Sheetsï¼ã¨ããã¹ã¿ã¤ã«ã·ã¼ãè¨èªã§ããCSSãå©ç¨ããã°HTMLã§è¨è¿°ãããææ¸ãèªã¿ãããããã ãã§ãªãã3Dãã¢ãã¡ã¼ã·ã§ã³ãªã©ã®ãªãããªè¡¨ç¾ãå¯è½ã«ãªãã¾ãã ãããªä¾¿å©ãªCSSãªã®ã§ãããé·æçã«éç¨ãã¦ããã¨äºæ³å¤ã®ä¸å ·åããã»ãã®å°ãã®å¤æ´ãããã ãã§è¦ãç®ã大ããå´©ãã¦ãã¾ãã¨ãã£ãåé¡ããã°ãã°èµ·ãã£ã¦ãã¾ãã¾ãã ï¼»åèï¼½teratailã§ã®è³ªå件æ°ï¼2015/12æç¹ï¼ CSSï¼761件 CSS3ï¼327件 ä»åã¯ããããã£ãä¸å ·åã«ãã£ã¦ââ å¾ã§å°ããªãâ âããã«ããCSSã®è¨è¨ãã®åºæ¬çãªèã
ã©ã³ãã³ã°
ã©ã³ãã³ã°
ã©ã³ãã³ã°
ãªãªã¼ã¹ãé害æ å ±ãªã©ã®ãµã¼ãã¹ã®ãç¥ãã
ææ°ã®äººæ°ã¨ã³ããªã¼ã®é ä¿¡
å¦çãå®è¡ä¸ã§ã
j次ã®ããã¯ãã¼ã¯
kåã®ããã¯ãã¼ã¯
lãã¨ã§èªã
eã³ã¡ã³ãä¸è¦§ãéã
oãã¼ã¸ãéã
{{#tags}}- {{label}}
{{/tags}}