MOONGIFTã¯ãªã¼ãã³ã½ã¼ã¹ã»ã½ããã¦ã§ã¢ãç´¹ä»ããããã°ã§ãã2021å¹´07æ16æ¥ã§æ´æ°åæ¢ãã¾ãã Tank Vs Zombie Game Built in Ruby - Rubyã§æ¸ãããæ¦è» vs ã¾ã³ãã²ã¼ã Jul 16, 2021 - 1 min read Kopia - ãã«ããã³ãã¼å¯¾å¿ã®ããã¯ã¢ããã½ããã¦ã§ã¢ Jul 16, 2021 - 1 min read Polyfoto - ã¢ã¶ã¤ã¯ç»åãä½æããPythonã¹ã¯ãªãã Jul 15, 2021 - 1 min read SwiftLaTeX - Webãã¼ã¹ã®LaTeXã¨ãã£ã¿ Jul 15, 2021 - 1 min read Div.js - divã¿ã°ã ãã§HTMLãã¼ã¸ãä½æã§ããï¼ Jul 14, 2021 - 1 min read ASCIIFlow - ã¢ã¹ãã¼ã¢ã¼ãç¨ããã¼ã¢ã㪠Jul
Google PageSpeed Insights*1ã§ãèªä½ã®Rails製Webãµã¼ãã¹ã®çææ稿ãµã¤ãUtakataã調ã¹ã¦ãããããé©åãªãµã¤ãºã®ç»åãã¨ããé ç®ã«å¼ã£ããã£ãã詳細ãè¦ã¦ã¿ãã¨ãã¢ã¤ã³ã³ã«ä½¿ããã¦ããJPEGç»åã®ãµã¤ãºããæ°KBãæ°100KBã¾ã§å¦ã«å·®ããããã¨ãåå ã®ããã ã Exifã¨ã¯ããã¸ã¿ã«ã«ã¡ã©ã§æ®å½±ããç»åãã¼ã¿ã«ãæ®å½±æ¡ä»¶ã«é¢ããæ å ±ï¼ã¡ã¿ãã¼ã¿ï¼ã追å ãã¦ä¿åã§ãããç»åãã¡ã¤ã«å½¢å¼ã®è¦æ ¼ã®ãã¨ã§ããã åã大ããã®ç»åãªã®ã«ãã¡ã¤ã«ãµã¤ãºã大ããç°ãªãã®ã¯ãExifã¨ããã¡ã¿æ å ±ãJPEGç»åã«ä¿åããã¦ãããã¨ã«ãããããã Ver Exif online , quitar Exif online 試ãã«ä¸ã®Webãã¼ã«ã§Exifæ å ±ãé¤å»ãã¦ã¿ããã確ãã«ãã¡ã¤ã«ãµã¤ãºãæ¸ã£ãã Rails + Paperclipã§ã¢ãããããJPEGç»å
ä»äºã§ Rails ã®ç»åã¢ãããã¼ãã©ã¤ãã©ãªãé¸å®ãããã¨ã«ãªã£ã¦ããã®åéã®ã¡ã¸ã£ã¼ã©ãã Paperclip 㨠CarrierWave ãè¼ã¹ã¦ã¿ã¾ãããä»äºã§ä½¿ãã©ã¤ãã©ãªã¯ä¸æ¦é¸ã¶ã¨ããããç°¡åã«ã¯ä¹ãæããããªãã¨ãããã¨ããã£ã¦çµæ§ãã¸ã¡ã«é¸ãã ã¤ããã§ãã -thoughtbot/paperclip -carrierwaveuploader/carrierwave -The Ruby Toolbox - Rails File Uploads ã©ã¡ãã RailsCasts ããã¥ã¼ããªã¢ã«ï¼ï¼ï¼ãç¨æãã¦ããã¦ããã®ã§ãããããã£ãå¾ããããããã©ã¹ 2æéãããã´ãã§ã´ãã§ãã¦ã¿ãçµæãã¡ã¢ãã¦ããã¾ãã -#134 Paperclip - RailsCasts -ASCIIcasts - âEpisode 253 - CarrierWaveã§ãã¡ã¤ã«ã®ã¢ãããã¼ãâ
Exif ãã«ã¹ãã«ï¼ Exchangeable image file format èªã¿æ¹ï¼ ã¨ã°ã¸ã Exifã¨ã¯ããã¸ã¿ã«ã«ã¡ã©ã§æ®å½±ããç»åãã¼ã¿ã«ãæ®å½±æ¡ä»¶ã«é¢ããæ å ±ï¼ã¡ã¿ãã¼ã¿ï¼ã追å ãã¦ä¿åã§ãããç»åãã¡ã¤ã«å½¢å¼ã®è¦æ ¼ã®ãã¨ã§ããã Exifã§ã¯ãæ®å½±ããç»åãã¼ã¿ã¨ä½µãã¦ãæ®å½±ããæ¥æããã¸ã¿ã«ã«ã¡ã©ã®æ©ç¨®ãçµãå¤ãç»ç´ æ°ãISOæ度ãè²ç©ºéãã¨ãã£ãæ å ±ãã¾ã¨ãã¦è¨é²ãããã¨ãã§ãããæ¬ä½ã®ç»åãã¼ã¿ã®ä»ã«ããµã ãã¤ã«ç»åã®ãã¼ã¿ãè¨é²ãã¦ãããã¨ãã§ããããããã®ä»å æ å ±ã«ãã£ã¦ããã¼ã¿ã®ç®¡çããæ©å¨å士ã®æ£ãããã¼ã¿äº¤æãæé©ãªè¨å®ã§ã®åºåãªã©ãå®ç¾ããã¦ããã Exifã§ã¯ãç»åãã¼ã¿ãã®ãã®ã¯ä¸»ã«JPEGå½¢å¼ã§æ±ããããExifã«å¯¾å¿ãã¦ããªãã¢ããªã±ã¼ã·ã§ã³ã§ã¯ãã¡ã¿ãã¼ã¿ãæ±ããã¨ã¯ã§ããªãããåãªãJPEGå½¢å¼ã®ç»åã¨ãã¦èªã¿è¾¼ããã¨ãã§ããããªããå§ç¸®
EXIFã¨ã¯ï¼ EXIFã¯ããã¸ã¿ã«ã«ã¡ã©ã§æ®å½±ãããåçã«ãæ®å½±æã®ãã¾ãã¾ãªæ å ±ï¼ã¡ã¿ãã¼ã¿ï¼ãåãè¾¼ãã§ä¿åããããã®ç»åãã¡ã¤ã«ã®ãã©ã¼ãããã§ãã Exchangeable Image File Formatã®ç¥ã§ãæ¥æ¬èªã§ã¯EXIFï¼ã¤ã°ã¸ãï¼ã¨å¼ã°ãã¾ãã æè¿ã®ãã¸ã«ã¡ãã¹ããã¯å ¨ã¦EXIFã«å¯¾å¿ãã¦ããã æ®å½±ãããç»åã«ã¯EXIFæ å ±ãåãè¾¼ã¾ãã¦ãã¾ãã EXIFæ å ±ã«ã¯æ®å½±æ¥æã使ç¨æ©ç¨®ï¼ã«ã¡ã©åï¼ãªã©ã®ä»ã«ãã·ã£ãã¿ã¼é度ãçµããISOæ度ãªã©æ®å½±æã®ã«ã¡ã©ã®è¨å®ãè¨é²ããã ã¹ãã¼ããã©ã³ãªã©ã®GPSã«å¯¾å¿ãã¦ããæ©ç¨®ã§ã¯æ®å½±å ´æã®çµåº¦ã緯度ãé«åº¦ãªã©ãè¨é²ããã¾ãã ã¾ããæ®å½±ããç»åã縮å°ãããµã ãã¤ã«ç»åãåãè¾¼ã¾ãã¦ãã¾ãã EXIFæ å ±ã«ã¯æ§ã ãªãã¼ã¿ãå«ã¾ãã¦ããããã ä»ã®äººãæ®å½±ããåçã®æ®å½±æã®è¨å®ãªã©ãåèã«ããããèªåãæ®å½±ããåçãå¾ãã
S3ã«ç½®ãã¦ãããã¡ã¤ã«ãä¸æ¬ã§ã¿ã¦ã³ãã¼ãããã æ¢åã® Wordpress ãµã¤ãã Local by Flywheel ã«ç§»è¡ãããããS3ã«ä¸ãããã¡ã¤ã«ãä¸æ¬ãã¦ã³ãã¼ãããå¿ è¦ãåºã¦ããã®ã§ãããã S3ã®ãã¡ã¤ã«ã£ã¦AWSã³ã³ã½ã¼ã«ããã ã¨ä¸ã¤ãã¤ãããã¦ã³ãã¼ãã§ããªãã®ã§ãããã ãªã½ã¼ã¹ãå°ãªãå ´åã¯ããã§åé¡ãªãã®ã§ãããç§ã¯ç»åãã¡ã¤ã«ãããªããããããããç½®ãã¦ããã®ã§å¤§åé¡ã çµè«ãAWS-CLIã使ãã°å¯è½ï¼ googleå çã«èããçµæãAWS-CLIï¼AWS Command Line Interface ï¼ã¨ãããã®ã使ãã°ã§ããï¼ã¨ãããã¨ããããã¾ããã AWS-CLIã£ã¦ãªããããï¼ã¨ããæ¹ã¯ãã¡ãããåç §ãã ããã ããæ¹ãããã£ã¦ãã¾ãã°ãã¨ã¯ç°¡åã $ aws s3 cp s3://S3ãã±ããå/ ãã¦ã³ãã¼ãå ãã¹ --recursive
è²ããªæã«æé ããããã¦ç¡é§ããã§ããã©ã¡ã¢ å ¬å¼ã®ããã¥ã¡ã³ãã¯ãã¡ãã§ãã http://docs.aws.amazon.com/ja_jp/cli/latest/userguide/tutorial-ec2-ubuntu.html#install-cli ã§ãpythonã¨ãpipã¨ãå ¥ããã®ã ããã®ã§homebrewä¸æã§ããä¾åé¢ä¿ãã ããã homebrewãã¤ã³ã¹ãã¼ã«ãã äºåæºå sudo ã§ãããã¹ã¯ã¼ãããã®ã§æ³¨æ äºåæºå2 äºåæºåã¯ãã¡ããåèã«Xcodeã®ã¤ã³ã¹ãã¼ã«å«ã http://qiita.com/_daisuke/items/d3b2477d15ed2611a058 homebrewã¤ã³ã¹ãã¼ã« http://brew.sh/index_ja.html ãã以ä¸ã®é¨åã³ãããã¦ã·ã§ã«ã§å®è¡ ruby -e "$(curl -fsSL https://
mogrify 㯠convert ã¨åãã ImageMagick ã¨ããã¦ã¼ãã£ãªãã£ç¾¤ã®ãã¡ã®ï¼ã¤ã®ã³ãã³ãã§ãã convert ã³ãã³ãã®ããã«ç»åãã¡ã¤ã«ã®å¤æã«ä½¿ç¨ãã¾ãããç¹ã«ä¸æ¬å¤æããããã«ä½¿ç¨ãã¾ãã åºæ¬çã«ã¯ convert ã³ãã³ãã¨åæ§ã®ãã¨ãã§ãã¾ãã jpg ãã¡ã¤ã«ã png å½¢å¼ã«ä¸æ¬å¤æ % mogrify -format png *.jpg 90度å転ï¼å ¨ã¦ä¸æ¸ãã«ãªãã¾ãï¼ã % mogrify -rotate 90 *.png ãªãµã¤ãºãæ¨ªå¹ ãµã¤ãºæå®ã縦横ã®æ¯çã¯ä¿ãããã % mogrify -resize 100 *.png % mogrify -resize 100x800 *.png # x800 ã¯æå³ããªã 縦横ã®æ¯çãä¿ãããµã¤ãºå¤æãããå ´å㯠! ãã¤ãã % mogrify -resize 100x800! *.png ã
ã©ãã@kimihom ã§ãããã®è¨äºã¯ Heroku Advent Calendar 2017 ã® 20æ¥ç®ã§ããææ¥ä»¥éã豪è¯ã¡ã³ãã§ä»ãã楽ãã¿ã§ããã ãã¦ãä»å㯠Heroku ã§æ¬çªéç¨ãç¶ãã¦ããã£ã¦æ¹ã®ããã®æ å ±ãã·ã§ã¢ãããã¨æããèªç¤¾ãµã¼ãã¹ã§ Heroku ã使ãç¶ãã¦ããäºä¾ã£ã¦ã®ããã¾ãåºã¦æ¥ãªãã®ã§ãç©æ¥µçã«é示ãã¦ããããã¨æãã â» æ¬è¨äºã¯ãä»å¹´æ¸ãã Heroku ã«é¢ããè¨äºã®ã¾ã¨ãçãªç«ã¡ä½ç½®ã¨ãã¦èªãã§ããã ããã幸ãã ã Heroku ã§æ¬çªéç¨ã®å®ç¸¾ ç§ã¯ Heroku 㧠2å¹´é以ä¸ãæ¬çªç°å¢ã§ãµã¼ãã¹ãåããç¶ãã¦æ¥ãããã®éãHeroku èµ·å ã§ãã©ãã«ã«éã£ããã¨ã¯1æ¥ãããã§ãä»ã¯å®å®çã«åãç¶ãã¦ãããããã®1æ¥ãããã¤ãããã¬ã¹ãã³ã¹ãé ããªã£ã¦ããç¨åº¦ã§ããªãã¨ããªã£ãã®ã§å©ãã£ãã ãã¦ãç§ããªã Heroku ã«ãã ããç¶ã
Herokuã¯webã¢ããªãã¤ã³ã¿ã¼ãããä¸ã«ãããã¤ããå ´æã¨ãã¦åºã使ããã¦ãããwebæ¥çã®äººã¯èª°ããä¸åº¦ã¯è§¦ã£ãäºãããã¨æãã ä½ã便å©ãªã®ãã¨ããã¨ããããã¤ä½æ¥ã極ãã¦ç°¡åãªãã¨ã ãã³ãã³ãä¸çºã§ãµã¼ãã¼ãç¨æãããããã¾ãã³ãã³ãä¸çºã§ãããã¤ãåºæ¥ããä¸è¬ã«ãwebã¢ããªã¯ä¾åããã©ã¤ãã©ãªãå¤ç¨®å¤æ§ãããããããæ¼ããªãã¤ã³ã¹ãã¼ã«ããªãã¨ãããã¤åºæ¥ãªãã®ã ãã代表çãªwebã¢ããªã±ã¼ã·ã§ã³ã®ä½ãæ¹ã«æ·»ã£ã¦ä½ã£ã¦ããéããå¾ã¯æ§æãæ¤ç¥ãã¦ãããªã«ãã£ã¦ãããã®ã ãnoteã®ãªãªã¼ã¹æã®æ¤è¨¼ã«ã大活èºãã¦ãããã å¥ã«Herokuã®åãè ã§ã¯ãªãã®ã ããä¸æ¦ãããçµé¨ããã¨ãVPSãåãã¦Linuxã®ã»ããã¢ããããã¦ããã«ã¦ã§ã¢ããã¦....ã¨ãã£ãä¸è¬çãªæ§ç¯ä½æ¥ãæ°ã®é ããªãå·¥ç¨ã«æãã¦ããã ããããHerokuã¯USã¨ã¨ã¼ãããã«ãµã¼ãã¼ããããæ¥æ¬ããã®é
éçºä¸ã®ãµã¼ãã¹ã« Heroku ãæ¡ç¨ããçµç·¯ã社å ã§å¨ç¥ããããã«æ¸ããæç« ãªãã§ãããã¤ãã§ã« Qiita ã«ãè²¼ã£ã¦ããã¾ãï¼ã¡ãªã¿ã« Heroku ã®åãè ã§ã¯ãªãã®ã§æªããããï¼ã å¾æ¥ãHeroku ã¯æ¥æ¬ã§ä½¿ãã«ã¯ã¬ã¤ãã³ã·ã®åé¡ã§æ¬çªç°å¢ã§ã®å©ç¨ãé¿ãããããã¨ãå¤ãã£ã ãã㯠Heroku ã® Common Runtime ã«ã¯ Tokyo region ããªã US çã®ãµã¼ãã¼ã¨éä¿¡ããã¨ã¬ã¤ãã³ã·ã大ãããã1 å®éãWantedly 社ãªãããã¬ã¤ãã³ã·ãçç±ã« Heroku ãã AWS ã«ç§»è¡ãã¦ãã ã ããService Worker ã®å èªã¿ã¨ Fastlyï¼ã®ãã㪠instant purge å¯è½ãª CDNï¼ã®ç»å ´ã«ããããã®ã¬ã¤ãã³ã·ã®å½±é¿ã¯æ¥µå°åããã ã®ã§ã¯ãªãã å¤ãã®ãªã¯ã¨ã¹ã㯠Fastly ã®ã¨ãã¸ãµã¼ãã¼ ããã¬ã¹ãã³ã¹ãè¿ããã¯ã
Happy Holiday :) 2016å¹´ã®Heroku Advent Calendarã¯Herokuã®Principal Solutions Architectã®ç¸æ¾¤ããå±ããã¾ãã Herokuã¯ãµã¤ã³ã¢ããããã ãã§ããã«ä½¿ããWebã¢ããªã±ã¼ã·ã§ã³ã®ãã©ãããã©ã¼ã ã¨ãã¦ç¥ããã¦ãã¾ãããHerokuã®çã®ä¾¡å¤ã¯Heroku Enterpriseã¨ããä¼æ¥åãã®ããã±ã¼ã¸ã使ã£ã¦åãã¦æãããã¨ãã§ãã¾ãããã®ã¨ã³ããªã¼ã§ã¯Heroku Enterpriseã®ç®çæ©è½ã§ããHeroku Private Spacesã«ã¤ãã¦ç´¹ä»ãã¦ããã¾ãã æ±äº¬Regionã®å©ç¨ PrivateSpacesã®å¤§ããªç¹å¾´ã§ãããæ¥æ¬ã®ã¦ã¼ã¶ã¼ã«ã¨ã£ã¦ã¤ã³ãã¯ãã大ããã®ããæ¥æ¬ã®ãã¼ã¿ã»ã³ã¿ã¼ã§Herokuãéç¨ã§ããã¨ãããã¨ã§ãããã 詳ããã¯å¾è¿°ãã¾ãããPrivateSpacesã¯ã¦ã¼ã¶ã¼
ImageMagickã®mogrifyã³ãã³ããã¤ããã¾ããmogrifyã³ãã³ãã¯ãå ã®ãã¡ã¤ã«ãå¤æ´ãã¦ä¸æ¸ãä¿åãã¾ãã ãã¨ãã°ãã«ã¬ã³ããã£ã¬ã¯ããªä»¥ä¸ã®jpgãã¡ã¤ã«ãããEXIFæ å ±ãæ¶ãã ãããã4並åã§è¡ãå ´åã % find . | grep ".jpe\?g$" | xargs -t -n 10 -P 4 mogrify -strip core i7ã®8ã³ã¢ã§å¦çããå ´åã¯ãCPUããããªæãã§ä½¿ããã¾ãã
Exifã®ä¾ Exchangeable image file formatï¼ã¨ã¯ã¹ãã§ã³ã¸ã£ãã«ã»ã¤ã¡ã¼ã¸ã»ãã¡ã¤ã«ã»ãã©ã¼ãããï¼ã¯ãå¯å£«ãã¤ã«ã ãéçºããå½æã®æ¥æ¬é»åå·¥æ¥æ¯èåä¼ (JEIDA)ã§è¦æ ¼åããããåçç¨ã®ã¡ã¿ãã¼ã¿ãå«ãç»åãã¡ã¤ã«ãã©ã¼ãããããã¸ã¿ã«ã«ã¡ã©ã®ç»åã®ä¿åã«ä½¿ããããç¥ç§°ã¯Exifã§ãã¨ã°ã¸ããï¼ãããã¯ãã¤ã°ã¸ããï¼ã ã«ã¡ã©ã®æ©ç¨®ãæ®å½±æã®æ¡ä»¶æ å ±ãç»åã«åãè¾¼ãã§ãã¦ããã¥ã¼ã¯ãåçç·¨éã½ãããªã©ã§åç §ãå¿ç¨ãããã¨ãã§ãããExif2.2ã§ã¯Exif Printã¨ããè¦æ ¼ãçµã¿è¾¼ãã§ãããæ®å½±æã®æ¡ä»¶æ å ±ãå ã«èªåçã«æé©åãè¡ã£ã¦ãç確ãªç¶æ ã§ããªã³ãåºåãå¯è½ã«ãã¦ãããã¾ãæ®å½±è ãèä½æ¨©æ å ±ãã³ã¡ã³ããªã©ä»éãããã¨ãåºæ¥ãã 対å¿ç»åå½¢å¼ã¯JPEGãTIFFãJPEG XRï¼HD Photoï¼ãPNGã 以ä¸ã®ãããªãã¼ã¿ãè¨é²ããããæ®
Railsã使ã£ã¦ãSNSä¸ã§å ±æãããç»åãæ´»ç¨ããWEBãµã¼ãã¹ãä½ããã¨æããç»åãã¡ã¤ã«ã®ç®¡çãæ ãgemãPaperclipã«ã¤ãã¦èª¿ã¹ã¦ã¿ãã ç®æ¬¡1. Paperclipã¨ã¯ 2. Paperclip::ClassMethods#has_attached_file 3. æ·»ä»ãã¡ã¤ã«ã«å¯¾ããvalidation 4. æ·»ä»ãã¡ã¤ã«ã®åé¤ãè«çåé¤ 5. s3ã®è¨å® 6. Paperclipã¨ä»ã®gemã®æ¯è¼ 1. Paperclipã¨ã¯thoughtbot/paperclip · GitHub Paperclipã¯ãRailsã®ActiveRecordç¨ã®ã©ã¤ãã©ãªã§ãããRailsã®ã¢ããªã±ã¼ã·ã§ã³ã§ãã¦ã¼ã¶ã¼ãã¢ãããã¼ãããç»åçã®ãã¡ã¤ã«ã«ã¤ãã¦ã®ç ©éãªè¨å®ãããªãã¡ãä¿åãåé¤ãªã©ã®è¨å®ãç°¡åã«è¡ããã¨ãã§ããããã«ãªãã Paperclipã¯ãImageMagic
ã¤ã³ããã¯ã¹ã«ã©ã¼ï¼è±: indexed colorï¼ã¨ã¯ããããããç»åã®ä¸ç¨®ãç»ç´ ï¼ãã¯ã»ã«ï¼ãã¨ã«è²ãç´æ¥æå®ããã®ã§ã¯ãªããã«ã©ã¼ãããã¨å¼ã°ããè²å®ç¾©ãã¼ãã«ã®åç §çªå·ãæå®ãã¦ç»åã表ç¾ããå½¢å¼ã ãã´ãã¼ã¯ãªã©ã®ãã¶ã¤ã³ç»ã®å ´åã1æã®ç»åã®ä¸ã§ä½¿ç¨ããã¦ããè²ã®æ°ãéããã¦ãããã¨ãå¤ãããã®å ´åãããããã使ç¨ãã¦ããè²ããè²çªå·1ã¯èµ¤30%ã»ç·20%ã»é40%ãè²çªå·2ã¯èµ¤4%ã»ç·92%ã»é8%ãâ¦ãã®ããã«è²çªå·ã§å®ç¾©ãã¦ãããç»ç´ ãã¨ã®ãã¼ã¿ã¨ãã¦ã¯ãã®è²çªå·ãæå®ããããã«ããã°ãé«ãè²è§£å度ãæã¡ã¤ã¤ãã¼ã¿éãå¤§å¹ ã«æãããã¨ãã§ããããã«ãªãããã®ãããªè²è¡¨ç¾ã®ãã¨ããã¤ã³ããã¯ã¹ã«ã©ã¼ï¼indexed colorï¼ãã¨å¼ã¶[注é 1]ã対ãã¦ãç»ç´ ãã¨ã«ç´æ¥è²ãæå®ããæ¹å¼ã¯ããã¥ã«ã¼ã«ã©ã¼ï¼true colorï¼ãã¾ãã¯ããã«ã«ã©ã¼ï¼full colorï¼
ééã使ããPNGç»å ç»åã¨ããã¨JPGãGIFãã¡ã¸ã£ã¼ã§ããã¾ãPNGãè¦ãªãæ¹ãããããããã¾ããã å°å·ç©ã§ã¯ãã¾ã使ããããã¨ã®ãªãPNGå½¢å¼ã®ç»åã§ãããWebãµã¤ãã§ã¯å¤ç¨ããäºãå¤ãç»åå½¢å¼ã§ãã PNGã¯JPGãGIFã¨éããééæ å ±ã»ã»ã»ã¤ã¾ãéæ度ãæããããã¨ãã§ãã¾ãã ãªã®ã§ç»åã®ä¸ã«éããç»åãä½ãäºãåºæ¥ãã®ã§ãã¨ã¦ã便å©ãªç»åå½¢å¼ã§ãã Webãµã¤ãã§ã¯èæ¯è²ãCSSã§è²ä»ããã¦ããã®ä¸ã«PNGç»åãéããããã¦ä½¿ããããã¨ãããã¾ãã èæ¯è²ãå«ããJPGç»åã§ã表ç¾ã§ãã¾ãããééããã¦ç½®ãäºã§ãè²ã®å¤æ´ãªã©ã«ãæè»ã«å¯¾å¿ã§ãã¾ãããè¦ç´ ããç»åã ããé£ã³åºããããªè¡¨ç¾ã容æã«ãªã£ã¦ãã¾ãã ãã ãPNGç»åã¯RGBã®è²ãã表ç¾ã§ããªãã®ã§ãå°å·ãããå ´åã«ã¯ä½¿ããããã¨ã¯ããã¾ããã å°å·ã§ä½¿ãç»åã«ééæ å ±ãæãããå ´åã¯EPSå½¢å¼ãPSDå½¢å¼ã§
>Q1 PNGã§ã¯ãåç»ç´ ã®æã¤è²æ å ±ã¯ã ã»RGBå8bit=åè¨1ç»ç´ ããã24bit ã»RGBå16bit=åè¨1ç»ç´ ããã48bit ã»ã°ã¬ã¤ã¹ã±ã¼ã«8bit=1ç»ç´ ããã8bit ã»ã°ã¬ã¤ã¹ã±ã¼ã«16bit=1ç»ç´ ããã16bit ãªã©ãé¸ã¹ã¾ããã¢ã«ãã¡ãã£ãã«ä»ãã®å ´åã¯ãããã«ããã«Î±æ å ±ãä»å ããã¦ã ã»RGBAå8bit=åè¨1ç»ç´ ããã32bit ã»RGBAå16bit=åè¨1ç»ç´ ããã64bit ã»ã°ã¬ã¤ã¹ã±ã¼ã«8bit+ã¢ã«ãã¡8bit=1ç»ç´ ããã16bit ã»ã°ã¬ã¤ã¹ã±ã¼ã«16bit+ã¢ã«ãã¡16bit=1ç»ç´ ããã32bit ã®ããã«ãªãã¾ãã ããããã24bitå½¢å¼ãã¨å¼ã°ããã®ã¯ããã®ãã¡ãRGBå8bitã®1ç»ç´ 24bitããããã¯ãRGBAå8bitã®1ç»ç´ 32bitãã§ãç»ç´ æ å ±ããã®ã¾ã¾å§ç¸®ãããã©ã¼ããããåºãã¾ãã ä¸æ¹ããã¤ã³ããã¯ã¹ã«ã©
ãã±ãã³ç 究æ / ç»åç 究室 / PNG ã®è©± / 第 3 ç« ç¬¬ 3 ç« PNG ã®ã¹ããã¯ä¸è¦§ PNG (Portable Network Graphics, ãã³ã°) ãã©ã¼ãããã ãã®ç« ã§ã¯ãPNG ãã©ã¼ãããã®æ©è½ã®ããããã«ã¤ãã¦ããã£ã¨ç´¹ä»ãã¦ããã¾ããããããGIF åé¡ãåãã¦èªèãããããªãã«ã¨ã£ã¦ã¯ããããã PNG ã®è©³ããæ©è½ãªã©ã«ã¯èå³ããªããã¨ã§ããããããªãã®æãç¥ããããã¨ã¯ãPNG ã®é«æ©è½æ§ã§ã¯ãªããæ¬å½ã« GIF ã®ä»£ããã«ãªãã®ããã¨ãããã¨ã®ã¯ãã§ããã ããããã®ç« ã¯ããªãã«ã¨ã£ã¦å°ã ãããã¤ãªãã¨ã§ãããã å¹ ã¨é«ã ã«ã©ã¼ã¿ã¤ã å§ç¸® ãã£ã«ã¿ãªã³ã° ãã£ã«ã¿ã¼å½¢å¼ ãã£ã«ã¿ãªã³ã°ã¢ã«ã´ãªãºã ã¤ã³ã¿ã¼ã¬ã¼ã¹ Adam7 ã¢ã«ã´ãªãºã GIF ã¨ã®æ¯è¼ ã¬ã³ãè£æ£ ééè¨å® αãã£ã³ãã« éæè² ããã¹ãæåå èæ¯è² ã¢ã¹ãã¯ãæ¯ æ¸
ãã¦ãããªãã®ç°å¢ã¯ãαãã£ã³ãã«ã«å®å ¨ã«å¯¾å¿ãã¦ãããªããå·¦å³ã®ç»åã¯ã»ã¼åãããã«è¦ããã§ããããããã§ãªãæ¹ã¯ãå³ã®ç»åãåèã«è¦ã¦ãã ãããå³ã®ç»åã¯ãPNG ãæ£ããè¦ããç°å¢ãªããå·¦ã¯ããè¦ããã¹ãã§ãããã¨ãããµã³ãã«ç»åã§ããαãã£ã³ãã«ã«ã¤ãã¦ã¯ãNetscape 7 ã Opera 7 ã¯å®ç§ã«è¡¨ç¤ºãã¦ããããã«è¦ãã¾ãã ããã¯ããã³ã¯è²ã®ãã§ãã¯ã®èæ¯ç»åã®ä¸ã«ãã²ã¨ãã®å°å¹´ã® PNG ã¤ã©ã¹ããéãã¦ç½®ãã¦ããé ç½®ã«ãªã£ã¦ãã¾ããã¤ã©ã¹ãã® PNG ç»åã¯ãαãã£ã³ãã«ãç¨ãã¦ãééçï¼ï¼ ãï¼ï¼ï¼ ãï¼ï¼ï¼ ãï¼ï¼ï¼ ãï¼ï¼ï¼ï¼ ã® 5 ã¤ã®é åãè¨å®ãã¦ããã¾ããå°å¹´ã®ããããã®å¤å´ã¯ï¼ï¼ï¼ï¼ ã§å®å ¨éæã§ãããèæ¯ãéãã¦ã¿ãã¾ãããéæ度ã®åº¦åããå¤ãã¦ãèæ¯ãå¾ã ã«éããæè¦ãã覧ä¸ããããªã«ããï¼åå²ããã¦ãããããªæãã§ãããå°å¹´ã¯ããã§ã²ã¨ã¤ã®ç»åãªã®ã§ãï¼
ãã¦ãä»åã¯ãPNGãã«ã¤ãã¦ãOS Xã§ã¯ã¹ã¯ãªã¼ã³ã·ã§ããã«ä½¿ç¨ããããªã©ãäºå®ä¸ã·ã¹ãã æ¨æºã®ç»åãã©ã¼ãããã¨ãã¦ã®å°ä½ã«ããããæ´å²ççµç·¯ãç¥ãã漫ç¶ã¨å©ç¨ãã¦ããã¦ã¼ã¶ãå¤ããã ã PNGã®ç¨®é¡ ãã¤ã¦OSæ¨æºã®ã©ã¹ã¿ã¼ç»åãã©ã¼ãããã¨ããã°ãMacã¯PICTã§Windowsã¯BMPã ã£ãããç¾å¨ã§ã¯"主役ç´"ã¨ã¯è¨ããªããåçã¯JPEGãWEBãã¼ã¸ã®ãã¿ã³ã«ã¯PNGã¨ãã£ãå ·åã«ãOSã¨ã¯é¢ä¿ãªãç¨éå¥ã«ä½¿ãåããã»ããå¤ãããã ã ç¹ã«PNGã¯é«ãå§ç¸®çã®ã»ããæ大48bitã®ãã«ã«ã©ã¼(ç´280å è²)ããµãã¼ããè¤æ°ã®ééè²ãæå®ã§ãããã¨ããç¹å¾´ããæ±ç¨çãªã©ã¹ã¿ã¼ç»åãã©ã¼ãããã¨ãã¦æ®åãã¦ãããç¹è¨±åé¡ãæ±ãæ±ãã«ããã£ãGIFã®ä»£æ¿ãã©ã¼ãããã¨ãã¦ç»å ´ããçµç·¯ããããåºæ¬çã«ã¯WEBç´ æãã¢ã¤ã³ã³ã¨ãã£ãç¨éã«å©ç¨ããããããã«ã«ã©ã¼è¡¨ç¤ºãå¯è½ãªããç»è³ªå£
â2é¨ã¨ã¸ã£ã¹ããã¯ã¯çµ±åããã¹ã¿ã³ãã¼ããå¸å ´ã« æ±äº¬è¨¼å¸åå¼æã¯ãæ±è¨¼1é¨ã®ä¸å ´ã»éæ ¼åºæºãå³æ ¼åããæ¥æ¬çµæ¸ãããå¼ããããã¬ãã¢ã ãå¸å ´ã¨ä½ç½®ä»ããæ¹é©æ¡ãåºãããä¸å ã»æ°èä¼æ¥åã3å¸å ´ã®ãã¡ãæ±è¨¼2é¨ã¨ã¸ã£ã¹ããã¯ã¯çµ±åãã¦ä¸è¬ã®ä¸å ´ä¼æ¥ãæå±ãããã¹ã¿ã³ãã¼ããå¸å ´ã¨ããã æ±è¨¼æ¹é©ãè°è«ãã¦ãããå¸å ´æ§é ã®å¨ãæ¹çã«é¢ããæè«ä¼ãï¼åº§é·ã»ç¥ç°ç§æ¨¹å¦ç¿é¢å¤§é¢ææï¼ãè¿ãã¾ã¨ããå ±åæ¸ã«çãè¾¼ããæ±è¨¼ã¯æå ã«å ¬è¡¨ããäºå®ããã®å¾ãä¸å ´ã»éæ ¼ã®ç®å®ã¨ãªãæ価ç·é¡ã®åºæºã移è¡æé ãè©°ããã æ±è¨¼ã«ã¯ç¾å¨ã1é¨â½2é¨â½ã¸ã£ã¹ããã¯â½ãã¶ã¼ãºââã®4å¸å ´ãããããããããã¬ãã¢ã ããã¹ã¿ã³ãã¼ããããã¶ã¼ãºã®å½¹å²ãå¼ãç¶ãæ°èä¼æ¥åãã®3å¸å ´ã¸åç·¨ããã 1é¨ã«ç´æ¥ä¸å ´ããåºæºã¯ããªã¼ãã³ã»ã·ã§ãã¯å¾ã®2012å¹´ã«ãæ¨å®æ価ç·é¡500åå以ä¸ãããã250åå以ä¸ãã«å¼ãä¸ããããã2
BUNDLED WITH ã£ã¦ä½ï¼ bundler 1.10.0 以éã§ä½æããã Gemfile.lock ã§ã¯ãBUNDLED WITH ã¨ããã»ã¯ã·ã§ã³ããã£ã¦ã使ç¨ããã bundler ã®ãã¼ã¸ã§ã³ããã©ãã¯ãããããã«ãªã£ã¦ãã [3485] ã ä¾ãã° bundler 1.9.0 ã§ä½æããã Gemfile.lock ã®ããããã¸ã§ã¯ãä¸ã§ã ææ°ã® bundler 1.10.3 ã使ç¨ã㦠bundle install --path vendor/bundle ããã¨ã Gemfile.lock ã«ã¯ä»¥ä¸ã®å·®åãã§ããã ãããããä¸åº¦ 1.9.0 㧠bundle install ããã¨ãä¸ã®æåã¯ããããã£ã±ãæ¶ããã BUNDLED WITH ã®ä½ãå°ãã å¤äººæ°ã§éçºããã¨ãã«ã¯ããã®å¤æ´ã¯å¾®å¦ã«éªéã§ãæå³ããªã Gemfile.lock å¤æ´ãåºã¦ãã¾ããã¨ã§
ãã¤ã¦ã¤ã³ã¿ã¼ãããã¨ã¯å¥½äºå®¶ãã¡ãæãæãã«å¥½ããªæ å ±ãæ¸ãè¾¼ãã§å士ãã¡ã¨ã¤ãªããæ¿ãå ´æã ã£ããã¨ãã風ã«ããè¨ããã¦ããã俺ããããæ£ããã®ãã©ããã¯ç¥ããªãããããä»ã®ã¤ã³ã¿ã¼ãããã«å¤ã®ã¤ã³ã¿ã¼ãããè師ãã¡ãèç«ã¤æ°æã¡ã¯ããããããªããªã俺ããã®ã¤ã³ã¿ã¼ããã浪士ãã¡ãèç«ããã¦ãããã¨ããã®ã俺ã¯ãã®æªåé«ãããããã§ãããããã°ããæ¸ãã¦çè¨ãå¾ã¦ãã人éã ããã ã ä»åã¯ãåãã¡ã«ãã®ã¤ã³ã¿ã¼ãããã«ãªããããã§ãããããã°ãçã¾ããã®ãã俺ã®ãããªæ¨ã£ç«¯ã©ã¤ã¿ã¼ã®ç«å ´ãã解説ããã¨ãããã ã¾ã俺ã®ãããªå±ã©ã¤ã¿ã¼ã¯ã¯ã©ã¦ãã½ã¼ã·ã³ã°ãµã¤ãã§ä»äºãæ¢ãã¾ãããå··ã§ã¯ãããã§ãããããã°ã¯0.1åã§éç£ããã¦ããã¨è¨ããã¦ããããããã«æ £ãã¦ããã¨ãããªæ¡ä»¶ã¯åããªããæä½éæåå価0.8ï½1åãããã®ä»äºã¯å³é¸ãããã¤ãã§ã«ãããä¸é¨ã®ããã¯ã©ã¦ãã¯ã¼ã«ã¼ãªãããã
Posted by naruse on 13 Mar 2019 Ruby 2.6.2 ããªãªã¼ã¹ããã¾ããã ãã®ãªãªã¼ã¹ã«ã¯å梱ãã¦ããRubyGemsã®èå¼±æ§ä¿®æ£ãå«ã¾ãã¦ãã¾ãã 詳細ã¯Multiple vulnerabilities in RubyGemsãåç §ãã¦ãã ããã ãã®ä»ããã¤ãã®ä¸å ·åä¿®æ£ãå«ã¾ãã¾ãã詳細㯠commit log ãåç §ãã¦ãã ããã ãã¦ã³ãã¼ã https://cache.ruby-lang.org/pub/ruby/2.6/ruby-2.6.2.tar.gz SIZE: 16777765 bytes SHA1: 44c6634a41f63ebdc1f3ce6ddcf48a4766bb4df7 SHA256: a0405d2bf2c2d2f332033b70dff354d224a864ab0edd462b7a413420453b49ab SHA5
ã©ã³ãã³ã°
ã©ã³ãã³ã°
ã©ã³ãã³ã°
ãªãªã¼ã¹ãé害æ å ±ãªã©ã®ãµã¼ãã¹ã®ãç¥ãã
ææ°ã®äººæ°ã¨ã³ããªã¼ã®é ä¿¡
j次ã®ããã¯ãã¼ã¯
kåã®ããã¯ãã¼ã¯
lãã¨ã§èªã
eã³ã¡ã³ãä¸è¦§ãéã
oãã¼ã¸ãéã
{{#tags}}- {{label}}
{{/tags}}