2010-12-01ãã1ã¶æéã®è¨äºä¸è¦§
ãªã¼ãã³ã½ã¼ã¹ã®Xenã§ã¯pyGrubã®èµ·åã«ã¼ãã«é¸æç»é¢ãåºããããªæ°ããããã©ãXenServerã ã¨èµ·åããåã«èµ·åã¢ã¼ããæå®ãã¦ãããããã UUID=d2508607-85a8-4af8-db80-d0023a4ffbf3 # ã·ã³ã°ã«ã¦ã¼ã¶ã¢ã¼ãã«è¨å® xe vm-param-set uuid=$UUID PV-argâ¦
FacebookãéçºããPHPããC++ã«å¤æãããã¼ã«ãHipHop for PHPããã¤ã³ã¹ãã¼ã«ãã¦ã¿ãã ã¤ã³ã¹ãã¼ã« 極åyumã§å ¥ããã # install php 5.2 yum -y install apr apr-util gmp yum -y install --enablerepo=c5-testing --disablerepo=base,updates php pâ¦
ã¸ã§ããªã¯ã¹ã¨åããJDK1.5ã§å°å ¥ããããClass.cast()ã«ã¤ãã¦èª¿ã¹ã¦ã¿ãã Class.cast()ã¨ã¯ ãã¾ãäºåãå¤æãã¦ããã便å©æ©è½ãã¨æã£ãããå ¨ç¶éã£ãã Objectã§è¡¨ããã¦ãããã©å®ã¯ä¸èº«ã¯Integerãã¨ãããããæã«ä½¿ãã ãã£ã¹ãæ¼ç®åã imporâ¦
ã¯ã©ã¹å ¨ä½ã§Kã¨ãVã¨ãæå®ããã®ã¯åã«ãã£ããã©ãã¡ã½ãã1ã¤ã ãã§æå¹ãªKã¨ãVã¨ããæå®ããæ¹æ³ãç¥ã£ãã ã¹ã¿ãã£ãã¯ã¡ã½ããã¨ãã®æã«ä¾¿å©ããã Class.forName()ã§Classãåã£ã¦ããæ¹æ³ã ã¨ããã£ã¹ãããªãããããªããã Class.cast()ã¨ãâ¦
ClassCastExceptionã«å«æ°ãå·®ããã ã¬ãã½ã«ãå«æ°ãå·®ããã 使ãå´ã§ãã£ã¹ãããããªã¿ã¼ã³åã®æ±ºã¾ã£ãã¡ã½ããã使ã£ã¦åå¾ã Pythonã¿ããã«ãnullã ã£ãå ´åã®ããã©ã«ãå¤ãæå®åºæ¥ãã åã¯ä»åå¿ è¦ãªãã®ã ãä½ã£ãã Pythonã¯æåãã便å©ãªã¡â¦
Dropbox Folder Locationãå¤ãã¦ããå¿ ã"Dropbox"ã¨ãããã£ã¬ã¯ããªã¯ä½ããã¦ãã¾ãã ããã¯ãªããªãéªéèãã ã§ãå¤æ´ããã¹ã¯ãªãããPythonã§ä½ã£ãã 使ãæ¹ã $ change_dropbox_folder_location.py '/Users/eth0jp/Documents/files' ã½ã¼ã¹ã #!â¦