2010-01-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' ã½ã¼ã¹ã #!â¦
ã¾ã¨ã¾ã£ã¦ããã¼ã¸ããªãããã ã£ãããã調ã¹ãäºãã¡ã¢ã Macã®å ´å AppKitã®NSImageã使ãã°åæã«åãã ãµã¤ãº17x17ãã³ãæ°3ãæç»æé1ã³ã辺ã0.1ç§ãã®GIFã表示ãããã®ã«ãCPUã1.5%ä½ä½¿ãç¶ããã ã©ãããã¢ãã¡ã¼ã·ã§ã³GIFã®æç»ã¯éããããâ¦
ã©ããã§è¦ã¤ãããã®ã®ã»ã¼ã³ãã¼ã æ¬å½ã¯Rubyã§ããããã£ããã©ãããæ¹ã解ããªãã£ãããPerlã§ã å¤å´ããTCPã®22040ãã¼ãã«ã¢ã¯ã»ã¹ãæ¥ããã192.168.0.40ã®22ãã¼ãã«ãã©ã¯ã¼ãããã ãããªæãã®ãåãµã¼ãã«å ¥ãã¦ããã¦ããµã¼ãèµ·åæã¨ãã«â¦
ä»ã¾ã§å¤ããã¼ã¸ã§ã³ã®Javaãã使ã£ãäºããªãã£ãã®ããã¸ã§ããªã¯ã¹ã¨ãããã®ã®åå¨ããç¥ããªãã£ãã ãã解ããªããããã¨ããããPythonã®Listã£ã½ããã®ãä½ã£ã¦ã¿ãã(ä¸èº«ã¯ArrayListã ãã©) Javaã®Collectionã¤ã³ã¿ã¼ãã§ã¤ã¹ã®æåãå´©å£ãããâ¦
ãªããªãèå³æ·±ãã ã¢ã¸ã¥ã¼ã«ãå®ç¾©ããæã®ã«ã¼ã« ãã¡ã¤ã«ã®æ¡å¼µåã¯"pm"ã pmãããªãã¨ãuseããã¨ãã«è¦ã¤ãããªãã¦ã¨ã©ã¼ãåºãã Can't locate TestClass1.pm in @INC (@INC contains: /usr/lib/perl5/site_perl/5.8.8/i386-linux-thread-multi /uâ¦
ä¼¼ããããªãã©ã°ã¤ã³ãããã¤ããã£ããã©ãã©ãããã£ããæ¥ãªãã£ãããèªåã§ä½ã£ãã ãã®åããMysql Cluster Adapterãã eth0jp's activerecord-mysql_cluster_adapter at master - GitHub http://github.com/eth0jp/activerecord-mysql_cluster_adaâ¦
ãã¸ã¢ã³ã¢ããã³ãã£ã¼5話ãé»å ï¼ã«ãããªã¢ã³ãã§å åéãX-Basic(ã¨æãããè¨èª)ã§ãã³ãã¢ã³ãã«ãããªã¢ã³ã«é²åããã¦ããã ãããä½ããããã®ãªã®ãæ°ã«ãªã£ã¦ãJavaScriptã«ç§»æ¤ãã¦ã¿ãã fractalã£ã¦ããå帰çé¢æ°ãå®ç¾©ãã¦ããããã©ããªãâ¦
ãã¼ã¿ãã¼ã¹ãrakeã§ç®¡çããå ´åãã¹ãã¬ã¼ã¸ã¨ã³ã¸ã³ãæå®ãã¦ãã¼ãã«ãä½ãæã¯ããã¡ãã¡ãããªã®ãæ¸ããªãããããªãã ã¡ãã£ã¨ããäºãªãã ãã©ãé常ã«é¢åãããã create_table :table_name, :options => "engine=MyISAM" ä½ãããæ¹æ³ã¯ãªãâ¦
çµæ§ãªéã®ã½ã¼ãã¢ã«ã´ãªãºã ããã£ã¦ã¿ãã ããã辺ãåèã«ã ã½ã¼ã - Wikipedia http://ja.wikipedia.org/wiki/%E3%82%BD%E3%83%BC%E3%83%88 ãã¼ãã½ã¼ãã¯ãããªãçãããã å¯èªæ§ã¯é ·ãããã ã æ°ãåãããä»ã®ã¢ã«ã´ãªãºã ã追è¨ããããç¥ãâ¦
äºåæ¨æ§é ã§äºåæ¢ç´¢ãè¡ãã å¤åãããªæãã åé¤ãé¢åèããªãã ã½ã¼ã¹ data = $data; $this->left = null; $this->right = null; } } class BinaryTree { private $_root; // ã³ã³ã¹ãã©ã¯ã¿ public function __construct() { $this->_rootâ¦
è¨ãã¾ã§ããªãdankogaiæ°ã®1ã¶æä½åã®ããã°ã«è§¦çºããã¦ã æ®æ®µãã使ãMathç³»ã®é¢æ°ããããã©ãä¸ã§ä½ããã£ã¦ãã®ãç¥ããªãã£ãããåçºæãã¦ã¿ãã ä¹±æ°ã¨Xé²æ°ããXé²æ°ã¸å¤æ以å¤ã®é¢æ°ã¯å ¨ã¦ã åè§ãè»è¼ªã 極åããè¦ãããå ¬å¼ã¨ãã«åãããâ¦
CPU使ç¨çã調ã¹ããã©ã°ã¤ã³ã¯ä¸ã®ä¸ã«ããããåºåã£ã¦ãã£ã½ããã©ãä½ãéããã調ã¹ãããã®ãè¦ã¤ãããªãã£ãã®ã§ãèªåã§ä½ã£ãã $SERVICEOUTPUT$ããã©ã°ã¤ã³ã®åºåã«ç½®ãæããããã£ã½ããã©ããªãã1è¡ç®ããã¡ã¼ã«ã§æ¥ãªãã Webããã¯ã¡ããâ¦
PHPã§ããã·ã¥æ¢ç´¢(ããã·ã¥æ³)ãã£ã¦ã¿ãã é åã¨é£æ³é åã®åºå¥ããªãPHPã§ãã£ã¦ãæå³ãªãæ°ããããã©ãã¨ããããã¢ã«ã´ãªãºã ãç¥ãããã£ãã ããã·ã¥é¢æ°ã¯sha1ã使ç¨ã æ°åãã§ãéããããgmp使ã£ãã ãªã¼ãã³ã¢ãã¬ã¹æ³ã§ãåæç¶æ ã¨åé¤æ¸â¦
IPsec(L2TPD)ã§VPNãµã¼ããç«ã¦ã¦ã¿ãã OpenVPNã§è¨ãæã®ãããªãã¸ã¢ã¼ãã ã¯ã©ã¤ã¢ã³ãã¯ãµã¼ãã¨åããããã¯ã¼ã¯ã«è¿½å ãããã å¿ è¦ãªãã¡ã¤ã«å ¨é¨è¨è¼ã 詳ããã¯åèURLãã ãµã¼ãã¯CentOSã XL2TPD ã¤ã³ã¹ãã¼ã« yum -y install --enablerepo=epâ¦
CoreDataã®åºæ¬çãªä½¿ãæ¹ã解ãã¾ã§ã«1é±éä½ããã£ãã ã§ãã¨ããããã©ã¤ãã©ãªã«ããã æ®ã©ã³ãã¼ã ãã©ã æ¦å¿µãç解ããã®ã«æéãããã£ãã 大ãããã¨ã¯ãã£ã¦ãªãã ãããªæãã®ãæåããç¨æããã¦ãã解ããããã£ãã ãããã¨ããæ¦å¿µç解â¦
è¨å®èªä½ã¯çµæ§åã«çµãã£ã¦ããã ãã©ãæ¹ãã¦ã¨ã©ã¼ã«ã¤ãã¦èª¿ã¹ã¦ã¿ãã ã©ããã¦ã¨ã©ã¼ãåºãã®ããä½ãã©ãããã°ã¨ã©ã¼ãåºãªããªãã®ããã®è¾ºãã éç¨ä¸ã®ã¨ã©ã¼ã¯ã¾ã åºãäºããªãã ä»ã¾ã§è¦ãäºã®ããã¨ã©ã¼ã¯ããã§å ¨é¨ã ãã¨ã¯è¨å®ã®ç¢ºèªæ¹æ³â¦
Openpearã§ç»é²ãã¦ãã£ãHTTP_OAuthProviderãPearã«ããã±ã¼ã¸ã®ææ¡ããã¦ã¿ãããã¨ã ä»åã¯ãã¨ãããããã©ããã®ä½æã¾ã§ã HTTP_OAuthProvider - Openpear http://openpear.org/package/HTTP_OAuthProvider ã¢ã«ã¦ã³ãçºè¡ å¾ ããããã Your accouâ¦
ã³ã³ã·ã¥ã¼ãã®ã©ã¤ãã©ãªã«è¿½å ããæ¹ãèªç¶ãªã®ããªã¨æã£ããã©ãæ©è½çã«ã¯ãããã¤ãã ãããHTTP_OAuthProviderã«è¿½å ã mixiã§ã¯SAPã¨ããå¼ã³æ¹ããã¦ããã©ããã®ç¨èªã¯OpenSocialå ±éã®è¨èãªãã ãããâ¦ï¼ Social Application Providerã®ç¥ãããâ¦
XenAPIã§ã©ã¤ã»ã³ã¹ã®æéã調ã¹ã¦ãæéãè¿ã¥ãã¦ããã¡ã¼ã«ã§éç¥ããã ã³ãã³ãã©ã¤ã³ã ã¨ããã®ã³ãã³ãã xe host-license-view ã¡ã¼ã«ã¯ãæ®æ®µãªãPostfixãå ¥ãããã©ãXenServerã®ãã¹ããã·ã³ã«ã¯æ®ã©ä½ãå ¥ããããªããããå ã å ¥ã£ã¦ãPythonã§â¦
XenServerã®ã©ã¤ã»ã³ã¹ãåãããã©ããªãã®ã調ã¹ã¦ã¿ããï¼ â¦ã¨æãç«ã£ãã®ãã確ã3ã¶æä½åã æ°ã¥ãããã¨ã£ãã«åãã¦ãã ã©ã¤ã»ã³ã¹ãåãã¦ãã®ã«æ°ã¥ãã ãµã¼ãã®ãã¼ããã£ã¹ã¯ã®ã©ã³ããå ã£ã¦ããã ä½ã¶æãã¤ãã£ã±ãªãã«ãã¦ãããXenServâ¦
ã»ãã¥ãªãã£é¨åã«ã¤ãã¦èª¿ã¹ãã¤ããããä½ãå¥ã®æã¾ã§èª¿ã¹ã¦ãã¾ã£ãæ°ãããã C:\Documents and Settings\USERNAME\Application Data\Dropbox\host.db 1è¡ç® 16é²æ°è¡¨è¨ã®æååã 16é²æ°è¡¨è¨ã§40ãã¤ãã ãã¤ããªè¡¨è¨ã§20ãã¤ãã 2è¡ç® Base64ã¨ã³â¦
縦é·ã®ãã¥ã¼ãä½ã£ã¦ã縦ã«ãã©ãã°ããæã¨æ¨ªã«ãã©ãã°ããæã§æåãå¤ãããã ä¾ãã°ããããªUIScrollViewããã£ãã¨ããã frame => CGRectMake(0,20,320,460) contentSize => CGSizeMake(320, 800) ãããªãé常ãªã横ã«ãã©ãã°ãã¦ãä½ãèµ·ãããªâ¦
HTTP_OAuthProviderã®ãã¼ã¯ã³ä¿æã¯ä»ã¾ã§Cache_Liteãã使ããªãã£ãã æµç³ã«ããã ããããå¯ããã£ãã®ã§è¿½å ã Pecl::Memcachedã¨Pecl::Memcacheã追å ã ä¸ã®ä¸ã®æµãã¨ãã¦ã¯ãPecl::Memcachedæ¨å¥¨ãããâ¦ã ãã¼ã¯ã³ã®ä¿æããã¯ã©ã¹ã¯ãã¹ãã¢ãã©â¦
以ä¸ã¡ã½ããã追å ããã ã»getRequestToken ã»getAuthorizeURL ã»getAccessToken ã¡ã½ããåã¯ãHTTP_OAuth_Consumerã¨åãã«ããã ãã ãå¼æ°ã¯ã¡ãã£ã¨éãã example ååã¨åããã以ä¸ã½ã¼ã¹ãä¿®æ£ã HTTP_OAuthãå©ç¨ãã¦Twitterã®OAuthèªè¨¼ãè¡ã â¦
å ¬éããã Openpearã§ããã±ã¼ã¸ãå ¬éããã¨ã¡ã¼ã«ã¢ãã¬ã¹ãå ¬éãããã¨ããäºããã£ãç¥ã£ãã ãããããã¨æã£ã¦ãæä¸ã®Pearæºæ ã®ã³ã¡ã³ãé¨åã§æ¬åãæããã ããã°ã©ã ã¯å»å¹´æ¸ãããã®ããã¼ã¹ã«ãããã ãã©ãçµæ§æ¸ãæ¹ãå¤ãã£ãã ãªããªâ¦