Deleted articles cannot be recovered. Draft of this article would be also deleted. Are you sure you want to delete this article?
ã¯ããã« èªåã rails ããããå§ããã¨ãã¯ãã¼ã¸ã§ã³1ãããã¼ã¸ã§ã³2ã«å¤ãããããã ã£ãã®ã§ããããã¼ã¸ã§ã³2ãåºãå¹´ãæ¯ãè¿ãã¨ãªãã¨2007å¹´ã§ããã ææ¥ã®æµããéãäºã«é©ãä¸ãæ©ãç¥ã£ã¦ããè¯ãã£ãã®ã«ãªãã£ã¦äºãã¤ãã¤ãã¨ã¾ã¨ãã¦ã¿ã¾ããã æè¿ rails ãããå§ãã¦ã¿ããï¼ã£ã¦æ¹ã®åèã«ãªãã°è¯ããªã¨æãã¾ãã ä»åã¯ä¾¿å©ãª gem ã¨ãã§ã¯ãªããç´ ã®railsã§åºæ¥ããã¨ãæãã¦ãã¾ãã ã¡ãªã¿ã«ãã¼ã¸ã§ã³ã¯ä»¥ä¸ã®ç°å¢ã§ãã About your application's environment Ruby version 2.1.3-p242 (x86_64-darwin14.0) RubyGems version 2.2.2 Rack version 1.5 Rails version 4.1.8
Linux ã®ã³ãã³ãã©ã¤ã³ã§ cp ã¨ããã°ããã¡ã¤ã«ã³ãã¼ãã³ãã³ãã§ãã # cp a.txt b.txt ã¨ããã°ãa.txt ã¨ãããã¡ã¤ã«ã b.txt ã¨ããååã§ã³ãã¼ãã§ããç°¡åã§ãããã ãã® cp ã³ãã³ãã«ã¯ä¾¿å©ãªãªãã·ã§ã³ãæ°å¤ãããã¾ããä¾ãã°ã # cp -r /home/a /tmp 㧠/home/a ã¨ãããã£ã¬ã¯ããªãã¾ãã㨠/tmp ã«ï¼/tmp/a ã¨ãããã£ã¬ã¯ããªãä½ã£ã¦ï¼ã³ãã¼ãããã¨ããå½ä»¤ã«ãªããã¨ãã§ãã ãã® cp ã³ãã³ãã¯è³¢ãã®ã§ãã³ãã¼å ã«åãååã®ãã¡ã¤ã«ãããã¨ãæ°ãããã¡ã¤ã«ã§ä¸æ¸ããããã©ããã確èªãã¦ããã¾ãï¼ # cp a.txt b.txt cp: `b.txt' ãä¸æ¸ããã¦ãããããã§ãã(yes/no)? ãã㧠y(es) ãæ¼ãã¨ä¸æ¸ãã³ãã¼ãn(o) ãæ¼ãã¨ä¸æ¸ããã¾ããã ãã¦ã ãã£ã¬ã¯ããªã¾ã
主ã«ã¢ããªã±ã¼ã·ã§ã³éçºè åãã«ãLinuxãµã¼ãä¸ã®åé¡ã調æ»ããããã«ãã¦ã§ããªãã¬ã¼ã·ã§ã³ã¨ã³ã¸ãã¢ã¨ãã¦æ¥å¸¸çã«ãã£ã¦ãããã¨ãç´¹ä»ãã¾ãã ã¨ãããã調ã¹ããã¨ãç¾ åãã¦ããã®ã§ã¯ãªããæ¬å½ã«èªåãç¾å ´ã§ä½¿ã£ã¦ãããã®ã ãã«æ å ±ãçµã£ã¦ãã¾ãã æ®æ®µä½¿ã£ã¦ããããã©ããã¢ããªã±ã¼ã·ã§ã³éçºè åãã§ã¯ãªããã®ã¯ããã¦çãã¦ãã¾ãã MySQLãNginxãªã©ãåå¥ã®ããã«ã¦ã§ã¢ã«éå®ãããã¦ãã¦ã«ã¤ãã¦ã¯æ¸ãã¦ãã¾ããã ãã°ã¤ã³ãããã¾ã確èªããã㨠ä»ã«ãã°ã¤ã³ãã¦ãã人ãããã確èªï¼wï¼ ãµã¼ãã®ç¨¼åæéã®ç¢ºèª (uptime) ããã»ã¹ããªã¼ãã¿ã (ps) NICãIPã¢ãã¬ã¹ã®ç¢ºèª (ip) ãã¡ã¤ã«ã·ã¹ãã ã®ç¢ºèªï¼dfï¼ è² è·ç¶æ³ç¢ºèª top iostat netstat / ss ãã°èª¿æ» /var/log/messages or /var/log/syslog /
ãªã³ã¯ã§èµ·åãããã¡ã¼ã«ã«ãäºã件åãæ¬æãªã©ãæ¿å ¥ãã¦ãããã¨ãã§ãã¾ãã 以ä¸ã®ãµã³ãã«ã³ã¼ããã³ãã¼ããå ´åã¯ãã¡ã¼ã«ã¢ãã¬ã¹ã®æ¸ãæããå¿ããªãããã«ã注æãã ããã <a href="mailto:[email protected]?subject=åãåãã&body=ãè¨å ¥ãã ãã">ã¡ã¼ã«ã¯ãã¡ãã¸</a> å¤ã®è©³ç´° mailto:[email protected]?subject=件å&body=æ¬æ [email protected] ⦠éä¿¡å ã®ã¡ã¼ã«ã¢ãã¬ã¹ãè¨è¿°ãã¾ã ? ⦠ã¡ã¼ã«ã¢ãã¬ã¹ã¨ãã®å¾ã«ç¶ãæ å ±ã ? ãã¼ã¯ã§åºåãã¾ã subject= ⦠ã¡ã¼ã«ã®ä»¶åãè¨è¿°ãã¾ã body= ⦠ã¡ã¼ã«ã®æ¬æãè¨è¿°ãã¾ã & ⦠件åã¨æ¬æã & ãã¼ã¯ã§åºåãã¾ãï¼æååç §ã§ & ã¨è¨è¿°ãã¾ãï¼ ãµã³ãã«ï¼ã¡ã¼ã«ã½ãããèµ·åãã¾ãï¼
ã¯ããã« PlantUML ã«ã¤ã㦠PlantUML 㯠Java ã§ã§ãã¦ãããç¬èªã®è¨æ³ã§æ¸ããããã¹ããã¡ã¤ã«ãã UML ã®å³ããã¾ãã¾ãªå½¢å¼ã«åºåãã¦ãããç´ æµãªãã¼ã«ã§ãã ããã¹ããªã®ã§ Git ã SVN çã§ç®¡çã§ãã¦ããªã幸ãã«ãªãã¾ãï¼ PlantUML ã®åºç¤ãå¦ã¶ã®ã«å½¹ç«ã£ããµã¤ã http://plantuml.sourceforge.net/ http://yohshiy.blog.fc2.com/blog-entry-152.html http://shuzo-kino.hateblo.jp/entry/2013/10/02/000040 æ¬è¨äºã®æ¦è¦ ã¤ã³ã¹ãã¼ã«ãåºæ¬çãªä½¿ãæ¹çã¯ãä¸è¨ã§ç´¹ä»ãããµã¤ãã§åããããã説æããã¦ãã¾ãã®ã§ãæ¬è¨äºã§ã¯ PlantUML ãå®éã®ãä»äº(åè¨ç³»)ã§ã·ã¼ã±ã³ã¹å³ãã¤ããæ³å®ã§ãããã«ä¾¿å©ã«ä½¿ãããã®3ã¤ã® T
UNIX ã®æ¸ç±ãªã©ã§ããç®ã«ããã 'rn(1)' ã 'ctime(3)' ã®æ¬å¼§ã®ä¸ã«æ¸ãæ°åã«ã¯ã©ãããæå³ãããã®? Cããã°ã©ã ä¸ã§é¢æ°ã使ãã¨ãã®ãããªæ¸ãæ¹ã§ãããããã¯ã"UNIX manual" ã§ã該å½ããããã¥ã¡ã³ããããé¨åã 示ãããã«ã¤ããããæ°åã§ããå®é㫠第ï¼ç« ã«ãã "ctime" ã«ã¤ã㦠ã®èª¬æãèªã¿ããã¨ãã¯ã"man 3 ctime (Solarisã§ã¯ãman -s 3 ctime)" ã¨ãman ã³ãã³ããå®è¡ãããã¨ã§ããã¥ã¡ã³ããåç §ã§ãã¾ãã ä¼çµ±çãªããã¥ã¢ã«ã¯ããã®ãããªã»ã¯ã·ã§ã³ã«åããã¦ãã¾ãã
Linuxã³ãã³ãã§æ£è¦è¡¨ç¾ãç¨ãã¦ãã¿ã¼ã³ããããããã¡ã¤ã«ãä¸æ¬åé¤ããæ¹æ³ Linuxã³ãã³ãã§æ£è¦è¡¨ç¾ãç¨ãã¦ãã¿ã¼ã³ããããããã¡ã¤ã«ãä¸æ¬åé¤ãããå ´åã以ä¸ã®ããã«ããã¨ä¾¿å©ã ã find æ¤ç´¢å¯¾è±¡ãã£ã¬ã¯ã㪠| grep -E "æ£è¦è¡¨ç¾" | xargs rm -f ãä¾ã以ä¸ã®ãã£ã¬ã¯ããªã»ãã¡ã¤ã«æ§æã«ããã¦ãcatãã£ã¬ã¯ããªãã3é層ä¸ã«ãããã£ã¬ã¯ããªé ä¸ã®ãã¡ã¤ã«ããããã¡ã¤ã«åã«ãindexããå«ããã¡ã¤ã«ãåé¤ãããå ´å ãã£ã¬ã¯ããªã»ãã¡ã¤ã«æ§æä¾ /var/www/cat/kitten/neko/index-main.html /var/www/cat/kitten/neko/index-test.html /var/www/cat/kitten/neko/daisuki/index-test.html /var/www/cat/kitten/kon
ã³ãã³ãã§PCãã¹ãªã¼ããä¼æ¢ç¶æ ã«ããæ¹æ³ãç´¹ä»ãã¾ãããªã¢ã¼ããã¹ã¯ãããã§æ¥ç¶ä¸ã¯ã¹ã¿ã¼ãã¡ãã¥ã¼ã§ããã°ãªããããåæãããããã¯ãããé¸æã§ããªããããããã§ç´¹ä»ããæ¹æ³ãå½¹ã«ç«ã¤ãã¨ãããã¾ãã éã«ãªã¢ã¼ãã®ãã·ã³ãèµ·åãããå ´åã«ã¯ã以ä¸ã®è¨äºãã覧ãã ããã Wake On Lan ã«ã¤ãã¦ã®ã¾ã¨ã (ãªã¢ã¼ãã®ãã·ã³ãèµ·å) â»ãªã¢ã¼ããã¹ã¯ãããã§æ¥ç¶ä¸ã« Ctrl + Alt + End ãæ¼ãã¨ãæ¥ç¶å 㧠Ctrl + Alt + Del ãæ¼ããå ´åã¨åæ§ã«ãã·ã£ãããã¦ã³ãåèµ·åãã¹ãªã¼ããé¸æã»å®è¡ã§ãã¾ãããã¹ã¯ããã㧠Alt + F4 ã§ãè¯ãã§ãã â»P8Z68 çã®ãã¶ã¼ãã¼ãã§ã¯ãBIOSã®è¨å®ã§ internal PLL overvoltage ã Disable ã«ããªãã¨ã¹ãªã¼ããã復帰ã§ããªãããã§ããç§ã®ç°å¢ã§ã¯ã¹ãªã¼ãããã®å¾©å¸°æã«ç»
Eclipseã使ã£ã¦ããã¨ãã¯ã¼ã¯ã¹ãã¼ã¹ãã¾ããã§å¤ãè¨å®ãããå ´åãè¯ããããèªåã®å ´åãä¾ãã°è¡çªå·ã¯ã©ã®ã¯ã¼ã¯ã¹ãã¼ã¹ã§ãè¦ãããããã«è¨å®ãã¦ãããããããããæã¯ã©ãããããããã ã¾ããeclipse.iniã«ä¸è¨ã®è¡ã追è¨ããã追è¨ããã®ã¯ã-vmargsãããåã®è¡ã -pluginCustomization plugin_customization.iniãç¶ãã¦plugin_customization.iniãã¡ã¤ã«ãç¨æããeclipse/以ä¸ã«é ç½®ãããgistã§èªåã®ä½¿ã£ã¦ãããã®ãå ¬éãã¦ãããããã使ã£ã¦ãããã¨æãããããã¯eclipse/plugins以ä¸ã«ç ã£ã¦ããã®ã§ãplugin_customization.iniãæ¤ç´¢ããã°ãå¿ ãè¦ã¤ããã 種æããããã¦ã¿ãããã®plugin_customization.iniã¯ãèµ·åæã«å¿ ãèªã¿è¾¼ã¾ãã¦ãã
Just browsing Stack Overflow? Help us improve your experience. Sign up for research
Mac OS X ã®ã¿ã¼ããã«ã§ãjavac ãå®è¡ããã¨ãããã©ã«ãã®æåã¨ã³ã³ã¼ãã£ã³ã°ããªãããShift JIS ã«ãªã£ã¦ããããã§æååããã¦ãã¾ãã 対å¦æ¹æ³ãæ±ãã¦ã°ã°ãã¨ã以ä¸ã®è¨äºããããããã (Mac OS X Tips::Snow Leopard)ã¿ã¼ããã«ã§ã®Javaæååã対ç - jitsu102ã®æ¥è¨ ä¸ã®è¨äºã§ã¯ãaliasã使ã£ãæ¹æ³ã§ã alias javac 'javac -J-Dfile.encoding=UTF-8'ã¨ãããµãã«ãrcãã¡ã¤ã«ã«å®ç¾©ãã¦ãããã¨ã§å¯¾å¦ãã¦ããããããã¡ãã£ã¨ããæ¹æ³ãããããããªãããªã¼ã¨æããæ¢ããããStack Overflow ã«èªåãæå¾ ãã¦ããã®ã«è¿ãåçããã£ãã ç°å¢å¤æ° JAVA_TOOL_OPTIONS ã«VMãèµ·åããã¨ãã«æ¸¡ããªãã·ã§ã³ãè¨è¿°ãã¦ããã°ããã¡ãã¡javaã®ãã¼ã«ãå®è¡ããã¨ãã«
ãããã®ã¾ã¨ãTOP㸠Windowsä¸ã®å¦çãèªååããããã°ã©ã ãï¼BATãã¡ã¤ã«ã§ããã ãã³ãã³ãããã³ãããä¸ã§ã®æä½æ¥ãçç¥ãï¼èªåå®è¡ã§ããã Windowsãåç¶ããéãï¼BATãã¡ã¤ã«ã¯ãªããªããªãã ããã ãããã»ããã°ã©ãã³ã°ã®éè¦ã¯ï¼ä½ããããã¨ãã®å çãã®ããã ãã®Windows 10ã®æ代ã§ãããã ã BATã¯ï¼MS-DOSã®æ代ããé·ã使ããã¦ããã ãã®ããï¼åã³ãã³ãã«é¢ããåå¥ã®ãã¦ãã¦ãæ å ±ã¯å¤ãã ã ãï¼å®ç¨çãªãã¦ãã¦ãä½ç³»çã«æ´çãããã®ã¯ï¼ãã¾ãè¦ãããªãã ããã§ä»¥ä¸ã§ã¯ï¼BATãã³ã¼ãã£ã³ã°ããéã®è¯è³ªãªãã¿ã¼ã³ãåæããã ï¼ï¼ï¼ BATããã°ã©ãã³ã°ã®ç¹å¾´ ï¼ï¼ï¼ BATãã¡ã¤ã«ã®éå ï¼ï¼âï¼ï¼ åé ã¨æ«å°¾ã®ãã³ãã¬ã¼ã ï¼ï¼âï¼ï¼ å復ãã¦å®è¡å¯è½ã« ï¼ï¼ï¼ ãããã®æ§é å ï¼ï¼âï¼ï¼ ã«ã¼ãã³ã®åå² ï¼ï¼âï¼ï¼ å®è¡ãã¡ã¤ã«ãå®
Windowsã®ã³ãã³ãã·ã§ã«ã£ã¦ãæå¤ã¨åºæ¬çãªæ©è½ããªãã£ãããã¦ä½¿ãã«ããããã sleepã¨ããããªã½ã¼ã¹ãããå ¥ããã¨ä½¿ããããããã©ããããããã®é¢åãããï¼ ãããããããWSH使ãã°ä½ã ã£ã¦ã§ãããï¼ã§ãããã©ãããªããå¾®å¦ã«å¤§ãããªæ°ãããªãï¼ ã»ããRailsã§è©¦ä½ã¨ããã¦ãã¨ããã¡ãã£ã¨ãã¼ã«ã«ã§åããã¦ã¿ããæã£ã¦ãããããï¼ ããããå ´åã¯ãWEBrickããã¯ãã¼ã®ãç«ã¡ä¸ããããã¾ã§å¾ ã¡ã¼ã®ããã©ã¦ã¶ç«ã¡ä¸ãã¼ã®ã£ã¦ãã¦ã¹ã§ã«ãã«ãããã®ã ãããããï¼ããããã®ä¸çºã§èµ·åãã¨ããããããï¼UNIXç³»ã®OSã ã£ããããããã®ã¹ãããã§1è¡æ¸ãã°ãã話ãããï¼ããã ããã®ç¨åº¦ã§VBScriptãJavaScriptæ¸ãã®é¢åãããï¼ ããªãããªã§ãã§ããã ãç°¡åã«ããããã¡ã¤ã«ãæ¸ãã¦ã¿ãã®ãç¶ãã®ãã¤ã rem ãã£ã¬ã¯ããªç§»å cd c:\work\rails
â»2011å¹´5æãããã«ä½ä¾¡æ ¼åããæ°ãã¼ã¸ã§ã³ãå ¬éâ è²»ç¨10åæé10åãã³ãã¼ç´3æã ãã§åçã«ç¶ºéºãªå°ç©åçãæ®ãæ¹æ³ ã©ã¤ãã£ã³ã°ããã¯ã¹ä½æç·¨ å°ç©ã®æ®å½±ãããªãããã§ãããªãææã¯2ã¤ã ãã§ãåè¨300åã 100åã·ã§ãã謹製ã模é ç´(100åã§5æå ¥ãã2æã使ããªã) 100åã·ã§ãã謹製ãåè¸ç¨ãã³ãã«æ¯æ±(Uåå)ããããªã㤠ç¾èã¯ä¸è¦ã«ããããã¾ãã¯æ®å½±ããåçãã¿ã¦ã»ããã8000åç¨åº¦ã§å£²ã£ã¦ããã¬ã³ãº(EF50mm F1.8 II)ã«ãå ¥éç¨ã®ãã¸ã¿ã«ä¸ç¼ã¬ãEOS Kiss X3ã§æ®å½±ãããã®ã ãæããã¬ã³ãºãããªãã¨ãã¡ããªãã¦ãã¨ã¯ã¾ã£ããç¡ããEXIFè¦ã¦ãããã°ãããããä½ä¾ã¯å ¨ã¦F10çã¾ã§çµã£ã¦æ®å½±ãã¦ããããã ã*1 ä½ãæ¹ã¯è¶ ãããã10åä½æ¥ããã³ãã«åæ¯æ±2æ¬ã90度éãã¦ä¸é¨ãééãä½ãã§æãããèªç«ãããã¨ã確èªããããã¬ã¼ã ã«
ããã«è¨è¼ããã¦ãããµã³ãã«ã®æç²ããããµã³ãã« ã³ã¼ãã«ã¢ã¯ã»ã¹ã§ãã¾ããåæç²ã«ã¯ãµã³ãã«ã®ãã¡ã¤ã«ãéãããã³ãã¼ãããããããã®ãªã³ã¯ãå«ã¾ãã¦ãã¾ããã¾ãã.NET Framework SDK ã«ã¯ã.NET Framework ã®æ©è½ã¨ Visual C# ã®ã³ã¼ãã®ä¾ã示ãããã¯ããã¸ã®ãµã³ãã«ãã¢ããªã±ã¼ã·ã§ã³ã®ãµã³ãã«ãããã³ã¯ã¤ã㯠ã¹ã¿ã¼ã ãã¥ã¼ããªã¢ã«ãç¨æããã¦ãã¾ãã ã¯ã¤ã㯠ã¹ã¿ã¼ã ãã¥ã¼ããªã¢ã«ã¯ã.NET Framework ãã¯ããã¸ãéçºè ã«æä¾ããæ©è½ãç解ããããã®æãå¹çã®è¯ãæ¹æ³ã§ããã¯ã¤ã㯠ã¹ã¿ã¼ãã«ã¯ãä¸é£ã®ãµã³ãã«ã®ä»ãæ§æãã¢ã¼ããã¯ãã£ãããã³ Visual Studio 㨠.NET Framework ã®æ©è½ã«ç°¡åã«æ £ããããã«ãã¶ã¤ã³ããããµãã¼ã ããã¥ã¡ã³ããç¨æããã¦ãã¾ããã¯ã¤ã㯠ã¹ã¿ã¼ã ãã¥ã¼ããªã¢ã«ã«ã¯ã
ããã§ã¯ãVisual C# .NETãVisual Basic .NET (VB.NET)ãVisual C++ .NET (C++/CLI)ãVisual J# .NET (Java)ãããã³ Visual Basic 6.0 (VB6) ã®ãµã³ãã« ã³ã¼ã (Tips) ãè¨èªãã¨ã«åãã¦æ²è¼ãã¦ãã¾ããåå¿è ã»å ¥éè ç¨ã®ãã¼ã¸ã§ãã å¥ã¦ã£ã³ãã¦ã§éãããå ´åã¯ãShift ãæ¼ããªãããªã³ã¯å ãã¯ãªãã¯ãã¦ãã ããã åãã«ãèªã¿ãã ãã ä¾å¤å¦çãªã©ã極åçãã¦ãã¾ããå®éã«ä½¿ç¨ããå ´åã¯ããã®ç¶æ³ã«åããã¦å®è£ ãã¦ãã ããã ãªãã¸ã§ã¯ãã®ç ´æ£ãæ示çã«è¡ããã¦ããªããã®ãããã¾ããå®éã«ä½¿ç¨ããå ´åã¯ãå¿ ãç ´æ£ããããã«å®è£ ããªããã°ãªãã¾ããã詳ãã説æã¯ããªãã¸ã§ã¯ãã®ç ´æ£ãä¿è¨¼ãã ãªã©ãã覧ãã ããã èªå·±è²¬ä»»ã®ãã¨ã使ããã ãããæ害ã被ã£ãå ´åã§ããèè ã¯ä¸å責
ãªãªã¼ã¹ãé害æ å ±ãªã©ã®ãµã¼ãã¹ã®ãç¥ãã
ææ°ã®äººæ°ã¨ã³ããªã¼ã®é ä¿¡
å¦çãå®è¡ä¸ã§ã
j次ã®ããã¯ãã¼ã¯
kåã®ããã¯ãã¼ã¯
lãã¨ã§èªã
eã³ã¡ã³ãä¸è¦§ãéã
oãã¼ã¸ãéã
{{#tags}}- {{label}}
{{/tags}}