(追è¨ï¼2012-12-03) æ¬è¨äºãé»åæ¸ç±åãã¾ããããGumroadããéãã¦100åã«ã¦è²©å£²ãã¦ãã¾ãã詳細ã¯ææ«ã«è¿½è¨ãã¾ããã®ã§ãè³¼å ¥ãæ¤è¨ã®ã»ã©ãããããé¡ããã¾ãm(__)m é»åæ¸ç±ãããããRubyãå§ãã人ãã¡ã¸ãEPUBç Rubyã®ç¹å¾´ Rubyã¯ãã¾ã¤ãã¨ããã²ãæ°(é称Matz)ã«ããè¨è¨ããããªãã¸ã§ã¯ãæåããã°ã©ãã³ã°è¨èªã§ããRubyã®ç¹å¾´ãä¸è¨ã§è¨ããªãã°ãããã¯ãéå£ãåºãã¦å¥¥ãæ·±ãè¨èªãã¨ãããã¨ã«ãªãã¾ãã ãéå£ãåºããã¨ããã®ã¯ãã¤ã³ã¿ãã§ã¼ã¹ãã·ã³ãã«ã§èª°ã§ããç°¡åã«ä½¿ãå§ãããããã¨ãæå³ãã¾ããã奥ãæ·±ããã¨ããã®ã¯ããããã§ãã·ã§ãã«ã«ããé·æ使ç¨ã«èãããæ¬ç©ã®è¨èªã§ããã¨ãããã¨ãæå³ãã¾ãããéå£ãåºããã¨ãããã¨ã¨ã奥ãæ·±ããã¨ãããã¨ã¯æ¬æ¥ç«¶åããæ¦å¿µã§ã¯ããã¾ãããããã®ä¸¡æ¹ããã©ã³ã¹ããçµã¿åãããã«ã¯ã対象ã«å¯¾ãã
next49 @next49 @yukihiro_matz ç§ã¯å¤§å¦ã§å©æããã¦ããã®ã§ãããä»å¹´ã®åè«çã¯é å±å½åãããã°ã©ã ãä¸å¾æã§ãå«ãã§ããã¨å ¨å¡è¨ã£ã¦ãã¾ãããã§ãããRubyã¨Railsã使ã£ã¦Webã¢ããªã±ã¼ã·ã§ã³ãä½ããã¼ãã§éçºããããã¨ãããæè¦ãå¤ãã£ã¦ãã¾ããã 2012-03-23 01:09:04 next49 @next49 @yukihiro_matz å ¨å¡ããçµæ§ãããã°ã©ãã³ã°ã£ã¦é¢ç½ãããRubyãªãããã°ã©ã å«ãããªããã¨ããããã«ãªã£ãã®ã§ããããã§ãå½¼ãã«ã©ããã¦ããã°ã©ã ãå«ãã ã£ãã®ãèããã¨ãããå ¥å¦å½åã«ãªãã£ãCè¨èªãé£ããã¦ãããããå«ã«ãªã£ãã¨ã®ãã¨ã§ããã 2012-03-23 01:10:51
Illustrator使ãã®æ¹ãªããåç¥ããã¨æãã¾ããããCollectForOutput.scptãã¨ããIllustratorã«é ç½®ãããç»åãåéããAppleScriptãAdobeããããµã³ãã«ã¹ã¯ãªããã¨ãã¦æä¾ãã¦ãã¾ãã ã¨ããã¤ã¤ãç§ãç¥ã£ãã®ã¯DTPã®åå¼·ä¼ã«åå ãã¦ãããªãã ãã©ã ããç§ã®ç°å¢ã§ã¯CS4ãããªãã®ã§ããããåæã«è©±ãã¾ãã®ã§ããããããã ãã®ãCollectForOutput.scptãã¯é å¸ããã¦ããç¶æ ã§ã¯1ã¤ã®Illusratorãã¡ã¤ã«ããåéã§ãããèªåã§ãã¤ã¢ãã°ããå¦çããããã¡ã¤ã«ãé¸æãã¦ãããå¿ è¦ãããã¾ãã AppleScriptã§æ¸ããã¦ãããªãããããã¬ããã«ããããããã¨ãããªãããã°ãããã§ãããããã¯åå±ããããã¦ãããã 10.6ç°å¢ã§ã¯IllustratorCS4ã®ããããã¬ããå½¢å¼ã®AppleScriptã¯ã¨
ãã®Webãµã¤ãã¯éãç¡ãééã«ãªãã¾ãã é·ãéãã覧ããã ããããã¨ããããã¾ããã Copyright 1996-2024ãå¸å·ãããã¼
ãã°ãããä¼ã¿ãã¦ããæ¬é£è¼ã§ããããããã第1åã§ç®æ¨ã«æ²ãã¦ãããé»åæ¸ç±ãã®åè¡ã«åãã¦åãåºãã¾ããä»åã¯ããã®åºç« ã¨ããããé»åæ¸ç±çæãã¼ã«ãReVIEWããç´¹ä»ãã¾ãã 1ã¤ã®ã½ã¼ã¹ããEPUBã¨PDFãçæãããã¼ã« éèªã§ã¯ãªãæ´»å主ä½ã®ãæ¸ç±ãã¨ãã¦EPUBé»åããã¯ãä½æãããã¨èããã¨ããã¢ããã¼ãã¯å¤§ãã2ã¤ããã¨èãã¦ãã¾ãã1ã¤ã¯ãWYSIWYGãªç·¨éæ©è½ãæã¤ãªã¼ãµãªã³ã°ãã¼ã«ã使ãæ¹æ³ãã½ã¼ã¹ã§ããããã¹ããã¡ã¤ã«ã¨å³çããå®éã®ã¬ã¤ã¢ã¦ãã§ç¢ºèªããªããçµçä½æ¥ãé²ããã¨ãããã®ã§ããæ¬é£è¼ã§ããããã¾ã§ãSigilããªã©ã®ãã¼ã«ãç´¹ä»ãã¦ãã¾ããããInDesignãPagesã®EPUBã¨ãã¹ãã¼ãæ©è½ãããã®ã«ãã´ãªã«åé¡ãããã¨æãã¾ãã ãã1ã¤ããWYSIWYGãªç·¨éæ©è½ãæããªãã³ã³ãã¼ã¿ã§ããPDFãHTMLãªã©æ´å½¢æ¸ã¿ã®ææ¸ãå¤æããããã
ææ°ãã¼ã¸ã§ã³ã¯ã³ãã©ã§ãã Milkode(ãã«ã³ã¼ã)ã¯ã½ã¼ã¹ã³ã¼ãæ¤ç´¢ã¨ã³ã¸ã³ã§ããæå ã«ãã大éã®ã½ã¼ã¹ã³ã¼ããç»é²ãããã©ã¦ã¶ã§é²è¦§ãããæ¤ç´¢ãããã¨ãåºæ¥ã¾ãã20000ãã¡ã¤ã«ä½ã§ããã°1ç§ä½ã§ç¹å®ã®ä¸è¡ãè¦ã¤ãããã¨ãå¯è½ã§ãã Rubyã§æ¸ããã¦ããã使ã£ã¦ããã©ã¤ãã©ãªãå«ãã¦RubyGemçµç±ã§ã¤ã³ã¹ãã¼ã«ãããã¨ãåºæ¥ã¾ãã OSX, Unix $ sudo gem install milkode Windows(32bit) $ gem.bat install rroonga --platform x86-mingw32 $ gem.bat install milkode Windows(64bit) â» äºåã«64bitçrroongaã®ã¤ã³ã¹ãã¼ã«ãå¿ è¦ã§ãã $ gem.bat install milkode詳ããã¤ã³ã¹ãã¼ã«æ¹æ³ã¯ãã¼ã ãã¼ã¸ãã覧ä¸ããã
ã½ãã詳細説æ Copalã¯Windowsã§PerlãRubyãªã©ã®ã¹ã¯ãªããè¨èªã便å©ã«ä½¿ãããã®çµ±åç°å¢ã§ããã¨ãã£ã¿ã«ã¹ã¯ãªãããæ¸ãã¦ããã®ã¾ã¾å®è¡ãããã¨ãã§ãã¾ããã¨ã©ã¼è¡ã¸ã£ã³ããªã©ããããã°æ¯æ´æ©è½ãæ´ã£ã¦ãã¾ãã ã¾ãããã«ããã¡ã¤ã«ã®ãã¼ã¯ã¼ãæ¤ç´¢ã«å¯¾å¿ãã¦ããã®ã§ãã¹ã¯ãªããä¸ã«ä½¿ãæ¹ãããããªãé¢æ°ãåºã¦ããããããã§F1ãã¼ãæ¼ãã°ããã«ãã表示ããã¾ãã(対å¿ããè¨èªã®ãã«ããã¡ã¤ã«ãå¿ è¦) ãã®ä»ã®æ©è½ ã»å¤é¨ã¨ãã£ã¿ã¨ã®é£æºããªã¼ããªãã¬ãã·ã¥ãæ©è½ ã»çµæã®ãã©ã¦ã¶ã¸ã®åºå(CGIä½ææ¯æ´) ã»äºéèµ·åãã§ãã¯çåºæ¬çãªæ©è½ ã»PerlãAwkãªã©ã®è¨èªå¥å®ç¾©ãã¡ã¤ã«ããµãã¼ã
RubyDropã¯Ruby製ã®ãªã¼ãã³ã½ã¼ã¹ã»ã½ããã¦ã§ã¢ãå人çã«Dropboxã¯ã¨ã¦ã便å©ã«ä½¿ã£ã¦ããããããªãã®çæ´»ã¯èããããªãããã便å©ã ãææã§ããã°50GBã¾ã§ä½¿ããããç¡æçã®2GBã§ã¯ç©è¶³ããªãã¨æãã人ãå¤ãã ãããã ããéã¯æããããªãã¨ãã人ãããã ããã ãµã¼ãèµ·åä¸ ããã§èãããã®ãèªåã ãã®Dropboxæ§ç¯ã ãéè¦ãªã®ã¯èªåçã«åæãããã·ã¹ãã ã§ãããã¨ããã¼ã¸ã§ã³ç®¡çããããã¨ãè¤æ°ã®ã³ã³ãã¥ã¼ã¿éã§ãã¼ã¿ãåãç¶æ ã«ä¿ã¦ããã¨ã ãããããããå®ç¾ããã®ãRubyDropã ã RubyDropã¯Ruby1.9ç³»ã§åä½ããã½ããã¦ã§ã¢ã ãç°¡åã«è¨ãã°ãç¹å®ã®ãã©ã«ãã«é¢ãã¦RubyDropãç£è¦ãè¡ããããã¦å¤æ´ãããã¨å 容ããªã¢ã¼ãã®Gitãªãã¸ããªã«ã¢ãããã¼ããããGitãªãã¸ããªå´ã§å¤æ´ãããã°ãPullããä»çµã¿ã ã èªåçã«åæããã¦ãã G
Leopardã®ç»å ´ä»¥éãMac OS Xã§ã¯ã¹ã¯ãªããã£ã³ã°è¨èªç°å¢ã®ãµãã¼ããæ´»çºã ãããã¯ãåã«åä½ç°å¢ãæ¨æºã¤ã³ã¹ãã¼ã«ãããã¨ã«ã¨ã©ã¾ãããCocoaãQuartzã¨ãã£ããMac OS Xãã¤ãã£ãã®ãã¬ã¼ã ã¯ã¼ã¯ã«ã¢ã¯ã»ã¹ããæ段ãæä¾ããããã¨ã§ããã¹ã¯ãããã¢ããªã±ã¼ã·ã§ã³ãä½ãããã®æ°ããéã¨ããä½ç½®ã¥ãããªããã¦ãããRubyã«é¢ãããã®ã¨ãã¦ã¯ãRubyããCocoaãå«ãæ§ã ãªãã¬ã¼ã ã¯ã¼ã¯ã¸ã®ããªãã¸ãæä¾ãããRubyCocoaãæ¨æºã§ã¤ã³ã¹ãã¼ã«ããã¦ããã ããã¦å»ã2æ28æ¥ã«ãæ°ããRubyç°å¢ãç»å ´ãããMacRuby ã§ãããMacRubyã®åæ©ã¨ãã¦æãããã¦ããã®ã¯ãRubyCocoaãæ±ãã¦ããåé¡ã解決ãããã¨ãããã®ã ãRubyããCocoaã¸ã¢ã¯ã»ã¹ããã¨ããç®çã¯RubyCocoaã¨åããã®ã ãããã®å®è£ ã®ã¢ããã¼ãã¯ããªãã¦ãã¼ã¯ã§
ããã³ã¾ãã¯ãRuby ã«é¢ããæè¡è¨äºã¯ãã¡ããã®ãã¨ãRubyist ã¸ã®ã¤ã³ã¿ãã¥ã¼ãã¨ãã»ã¤ããã®ä»ããå±ãããã¦ã§ãéèªã§ãã Rubyist Magazine ã«ã¤ã㦠ãRubyist Magazineããç¥ãã¦ããã³ã¾ãã¯ãæ¥æ¬ Ruby ã®ä¼ã®æå¿ã«ãã Rubyist ã® Rubyist ã«ãããRubyist ã¨ããã§ãªã人ã®ããã®ã¦ã§ãéèªã§ãã ææ°å· Rubyist Magazine 0058 å· ããã¯ãã³ãã¼ Rubyist Magazine 0058 å· RubyKaigi 2018 ç´åç¹éå· Rubyist Magazine 0057 å· RubyKaigi 2017 ç´åç¹éå· Rubyist Magazine 0056 å· Rubyist Magazine 0055 å· Rubyist Magazine 0054 å· æ±äº¬ Ruby ä¼è° 11 ç´
Acrobatã®ãããããã£ããéããæããããªãã¨ã«ãªã£ã¦ããPDFãè¦ããã¨ã¯ãªãã ãããã ããããã¡ã¤ã«åã¯ã¡ããã¨ãã¦ãã®ã«ããã¿ã¤ãã«ï¼ãæ¬ãæã®ååã§ã§ã¦ãã¾ãâ¦ããã®ã¾ã¾ã ã¨ãã¡ãã£ã¨æ¥ããããã£ã¦æãPDFã®ã¡ã¿ãã¼ã¿ããã¡ã¤ã«åã§ä¸æ¬ç½®æããããã«ãã¾ãã # coding: utf-8 #Exifã«å«ã¾ããã¿ã¤ãã«ããã¡ã¤ã«åã«ç½®ãæããã #require 'rubygems' require 'mini_exiftool' ARGV.each do |my_file| tmp_f = MiniExiftool.new(my_file) tmp_f['Title'] = my_file.sub(/\.pdf/, '') tmp_f.save end ãmini_exiftoolãã使ãã¾ããããruby script.rb *.pdfãã¿ããã«ä½¿ã£ã¦ãã ããã
ãªãªã¼ã¹ãé害æ å ±ãªã©ã®ãµã¼ãã¹ã®ãç¥ãã
ææ°ã®äººæ°ã¨ã³ããªã¼ã®é ä¿¡
å¦çãå®è¡ä¸ã§ã
j次ã®ããã¯ãã¼ã¯
kåã®ããã¯ãã¼ã¯
lãã¨ã§èªã
eã³ã¡ã³ãä¸è¦§ãéã
oãã¼ã¸ãéã
{{#tags}}- {{label}}
{{/tags}}