Windowsã®Gitãé·ãé1.9.5ã®ã¾ã¾æ´æ°ãæ¢ã¾ã£ã¦ãããããWindowsã§Gitã使ç¨ããæ¹åãã«Git 2.0以éã§ã®å¤æ´ç¹ã«ã¤ãã¦ã¾ã¨ãããã¨æãã¾ãã 以ä¸ã®Atlassianã®Blogãåèã«ãã¦ãã ããã ã¨ãã¨ã Git 2.0 ãç¾å®ã®ãã®ã«ã便å©ãªæ©è½æºè¼ã- Atlassian Japan git pushã®ããã©ã«ãåä½ã®å¤æ´ git pushæã®åä½ãmatchingããsimpleã«å¤æ´ã¨ãªãã¾ããã 以ä¸ã¯è¨å®ã§ããã¢ã¼ãã®èª¬æã§ãã matching 2.0以åã®æ¢å®ã§ãããã®è¨å®ã§ã¯ç¾å¨ãããã©ã³ã以å¤ã®ãã©ã³ãããããã¦ã¢ããã¹ããªã¼ã ã«pushãã¾ããã¢ããã¹ããªã¼ã ã«ååã®ãã©ã³ããããã°ååã®ãã©ã³ãã«pushãã¾ããã¾ãããã¼ã«ã«ã«ãã£ã¦ãã¢ããã¹ããªã¼ã ã«ç¡ããã©ã³ãããã£ããããã®ãã©ã³ãã¯pushããã¾ããã æå³ãããã©ã³ãã¯pu
ããã¶ãé·ãã㨠OS X ã ãã§æ®ããã¦ãããã©ãããã«ã㦠Linux ãã¼ã¹ã®çæ´»ç°å¢ãæ´åãã¦ãããå¦çæ代㫠Solaris 㧠AfterStep åããã¦ãã»ã¼ Emacs 㨠kterm 㨠Netscape ã ãã§æ®ããã¦ããã®ãæããããªã£ã¦ããã®ãããã¤ã¤ã ã¨ãªãã¨ä½ã¯ã¨ããã Emacs ã§ããããã£ã¹ããªãã¥ã¼ã·ã§ã³ã«ä»ãã¦ãããã±ã¼ã¸ã ã¨ãããããããã«ããã®ã§ãEmacs ã¯èªåã§ãã«ããããã®ã /usr/local ã«å ¥ãã¦ä½¿ãããã ãã«ããã¦ã¿ãã¨ãæè¿ã¯ GTK3 ã使ãããã®ã§ãã¡ãã¥ã¼ãã¼ãã¹ã¯ãã¼ã«ãã¼ããªããªãã¢ãã³ã ãããã£ãããªã®ã§æã¨åããã¼ã«ãããã§ä½¿ããããªãã¨ãæã£ã¦ãã¾ããconfigure ãªãã·ã§ã³ã® --with-x-toolkit ã®è¨å®ãããããå¤æ´ãã¦ãã«ããã¦ã¿ãã ç°å¢ã¯ Ubuntu 14.04LTS + G
ã·ã¹ã³ã¯ãçæ³çãªè£½åã¨ãµã¼ãã¹ãçµã¿åãããã客æ§ã®ç¹å®ã®æ¥ç¨®ããã¸ãã¹ãã¾ãã¯ãã¯ããã¸ã¼ã®èª²é¡ã«å¯¾å¿ããã½ãªã¥ã¼ã·ã§ã³ãæ§ç¯ãã¾ããã
éããããã®è²´æ¹ã»ã»ã»ã» /proc/meminfoã®ãã£ã¡ã®å¤ã¨ãã£ã¡ã®å¤ã足ãããããªãã§ãã£ã¡ã®å¤ã¨åãã«ãªããªãã®ã»ã»ã»ã» ã¨æ©ãã ãã¨ããã¾ãããï¼ /proc/meminfoã¯ãã«ã¼ãã«ãå é¨çã«ç®¡çãã¦ããæ çµã¿ã§ã®ã¡ã¢ãªæ å ±ããã®ã¾ã¾åºãã¦ããã®ã§ãæ®å¿µãªããã¦ã¼ã¶è¦ç¹ã§ç¥ãããã¡ã¢ãªæ å ±ã¨ã¯ä¸è´ãã¾ããã ã¨ã¯ãããå¤ãªè§£éããã¦ç¡æå³ã«æ©ã¾ãªãããã«ãããããã®å¤ã®æå³åãã¨é ç®éã®é¢ä¿ãç¥ã£ã¦ããã®ã¯ææ義ã§ããç§ã®ç解ã®ç¯å²ã§ããããã®é¢ä¿ãã¾ã¨ãã¦ããã¾ãã ï¼ç§ã®ç解ãå®ç§ã§ã¯ãªãã®ã§ãééãããã°ãããããææãé¡ããã¾ãã åèè³æãhttp://mkosaki.blog46.fc2.com/blog-entry-1007.html 2011/09/07 追è¨ï¼ tmpfsãSwapCachedã«å«ã¾ããã®ã¯å¹»æ³ã§ãããtmpfs=Shmemã«ä¿®æ£ãã¾ããã
Ghost sync MongoDBã®ã¬ããªã«ã»ããã§ã¯ãã¼ã¿ã®æ¸ãè¾¼ã¿ã¯å¸¸ã«Primaryã«è¡ããã åSecondary(slave)ã¯ãåºæ¬ãPrimaryããåæããã ãã ããè²ã ãªçç±ã§Primaryããåæåºæ¥ãªãå ´åã¯å¥ã®Secondaryããåæãããäºãããã ãªãã§ãããªäºããã®ãï¼ ã¬ããªã«ã»ããã®å¯ç¨æ§ãé«ããçºã ãã®æ©è½ã«ãã£ã¦ä¿¡é ¼æ§ããããã¯ã¼ã¯ãå©ç¨ã§ããããã«ãªãã ã¾ãDCè·¨ãã®DRï¼ãã¶ã¹ã¿ãªã«ããªï¼ãªã©ç©ççã«é ãã¬ããªã«ãçµã¿ããå ´åã«ä¾¿å©ã æ¬å½ã«ç´æ¥ç¹ãããªããã¼ããå«ãã¬ããªã«ãçµããã¨ãåºæ¥ããããç¾å®çã§ã¯ãªãããã replica set ghost target no good ghost target åæ対象ã«é¸ãã Secondary(ãPrimaryã®ããªããã¦ããé¨å) ghost slave Primaryããè¦ã¦ãSec
id:thinca ããä½ã® QuickRun.vim ã¯èªåãã³ã¼ããæ¸ãä¸ã§æ¸ãããªããã©ã°ã¤ã³ã®ä¸ã¤ã§ã¨ã¦ãéå®ãã¦ããã ãã¹ãã³ã¼ãã§ããã¹ãã©ã³ãã¼ãå®è¡ãã¦ãããã®ãå¬ããã ãã ãæ¯åæ¯åéãã¦ãããã¹ãã³ã¼ãã®ãã¹ããå ¨ã¦å®è¡ãã¦æ¬²ãããªãæãããã ãã¨ãã°ã¬ãªã¬ãªéçºãã¦ããæã¯æ¯åæ¯åå ¨ã¦ã®ãã¹ããå®è¡ãããå¿ è¦ã¯ãªãã åãããã£ã¦ãããã¹ãã®ã¡ã½ããã®ã¿ãå®è¡ãããã # ãã¹ããç´ æ©ãå®è¡ã§ããã®ã¯å¤§äºãªããããªããã¨æãã Python ã®å ´åãnose ã使ç¨ããã°ç¹å®ã®ã¡ã½ããã®ã³ã¼ããå®è¡ããã¨ããã®ãå¯è½ã nosetests /path/to/test/file.py:test_function Basic usage â nose 1.3.7 documentation ã¨ãããã¨ã§ QuickRun å®è¡æã«ããã渡ãã¦ããã°è¡ãããã Vim
ãã¸ç¼ã丼ã¨ãã°ããã ã·ã³ãã«ãªæã家ã®å®çªã®ãã°ããããã¡ èµ¤æ¢ é ¢ã®æ°çå§æ¼¬ã æ¨å¤ã¯é¦ã°ããããç¼ã丼ã«æ·»ãã¦ã大ããã«ã«ããããé¶ã¨ããã¨ããéã°ãªã«ã§ããããç¼ãã ã¿ã¬ãã¤ããªããç ã¢ã¯ã¢ã¯ãç¼ãé³¥å±ããã¿ãããªé¦ã°ããé¦ãããããã³ãã£ã±ãã«åºããã¾ã 磯ã®å³ãâ¦
VimããPHPUnitãå®è¡ããæ¹æ³ãã¾ã¨ãã¾ãããPHPUnitãquickrunã§éåæå®è¡ããçµæã«ã°ãªã¼ã³ã¬ããã®è²ãã¤ããã¾ã§ãç´¹ä»ãã¾ãã åä½ç¢ºèªç°å¢ Vim7.3quickrun0.5.1vimproc5.3PHP5.3.9PHPUnit3.6.7 ç®æ¬¡ PHPUnitã®ã¤ã³ã¹ãã¼ã« quickrunã®ã¤ã³ã¹ãã¼ã« vimprocã®ã¤ã³ã¹ãã¼ã« quickrunã®è¨å® ãã¹ãçµæã«ã°ãªã¼ã³ãã¬ããã®è²ãã¤ãã PHPUnitã®ã¤ã³ã¹ãã¼ã« ç§ã¯ä¸è¨ãåèã«PHPUnitãã¤ã³ã¹ãã¼ã«ãã¾ããã http://docs.symfony.gr.jp/symfony2/contributing/code/tests.html PHPã®ãã¼ã¸ã§ã³ãPHPUnitã«å¯¾å¿ãã¦ãããPEARãã¤ã³ã¹ãã¼ã«ããã¦ããã°ãã¾ãããã¨æãã¾ããPHPUnitããã¾ãã¤ã³ã¹ãã¼ã«ã§ããªãå ´åã¯
Dock Stacks, Activate Mouse Over Gradient defaults write com.apple.dock mouse-over-hilte-stack -boolean YES killall Dock Stacks, Deactivate Mouse Over Gradient defaults write com.apple.dock mouse-over-hilte-stack -boolean NO killall Dock New Stacks Folder, Recent Application defaults write com.apple.dock persistent-others -array-add '{ "tile-data" = { "list-type" = 1; }; "tile-type" = "r
FreeBSDã§ãGPT+ZFSã使ã£ã¦ãã¼ãããç°å¢ãæ§ç¯ãããã ãã©ãã ãã¶è©¦è¡é¯èª¤ããã®ã§èªåç¨ã¡ã¢ã å®ã¯ã¾ã ç°å¢æ§ç¯çµãã£ã¦ãªããã ãã©ãã¨ããããèµ·åãã¦ç°å¢æºåã¯ã»ã¼çµãã£ã¦ããã®ã§ããã§ããããªã ãªã«ããufs+ZFSã§ãã¼ãããã¨ããGPTã®è©±ã¯æ¢ãã¨ãããã ãã©ãGPT+ZFSã§ç°å¢ã1ããä»è¾¼ã¿ãããã«ããããã¨ãããã¨ããã¨é端ã«è³æããªããã ããã¼ãã£ã¦ãã¨ã§ã¡ã¢æ¸ãã ããã§ã®åæã¨ãã¦ã¯ãæ°è¦ã®HDDã«ãUSBã¡ã¢ãªããFreeBSDãç¡çããã¤ã³ã¹ãã¼ã«ãããã¨ãæ³å®ãã¦ããã®ã§ãããã£ã¦ãããHDDã§ããã¾ããããç¾ã«ç§ã試è¡é¯èª¤ãæ°æ¥ããã¾ããã®ã§ã 1. ã¾ããFreeBSD 8ã9ã®ç°å¢ãæºåãã¦ã/etc/make.conf ã«ãLOADER_ZFS_SUPPORT=yes ã¨ã§ãæ¸ãã¦ãmake buildworld & make buildk
Android ã®ä½ç½®æ å ±ã¯ç«¯æ«ã OS ã®ãã¼ã¸ã§ã³ã«ãã£ã¦å¾®å¦ã«ã¨ããã¿ã¤ãã³ã°ããããã¤ããã¡ããã®ã§ iPhone ã«ããã¹ããªãçãããã¾ããä¸ã«ã¯ LocationManager#requestLocationUpdates ã¡ã½ãããå¼ãã§ã30å以ä¸ã¡ã½ãããå¼ã³åºãããªããªãã¦äºãããã¾ããã è²ã æ¤è¨¼ããçµæã確å®ã«ä½ç½®æ å ±ãã¨ãããã®ãã¤ã³ããããã¤ãããã¾ããã以ä¸ãã®ãã¤ã³ãã§ãã ä¸è¬çãªAndroid端æ«ã§åå¾ã§ããä½ç½®æ å ±ã¯ GPSã3GãWi-Fiã®ï¼ç¨®é¡ GPS ã¯ãgpsãã3G ããã³ Wi-Fi ã¯ãnetworkãã¨ããæååã§åå¾ã§ãã¾ããAndroid ã§ã¯ãgpsãããnetworkãã®ãã¨ããããã¤ãã¨å¼ã³ã¾ãã Android 2.2 ãããããã¤ãã« passive ã追å ããã ãã®ãããã¤ãã¼ãã©ã®ãããªç¨éã§ä½¿ãããã®ãä»ã®ã¨ã
ãµã³ãã«ã§ä½¿ç¨ãããã¡ã¤ã«ã¯ä»¥ä¸ã®éãã§ããã¬ã¤ã¢ã¦ããã¡ã¤ã«ã¯ãã®ã¾ã¾å©ç¨ãã¾ãã /Andorid/sdk_r04/platforms/android-1.6/samples/ApiDemos/res/layout/gallery_1.xml /Andorid/sdk_r04/platforms/android-1.6/samples/ApiDemos/res/values/attrs.xml /Andorid/sdk_r04/platforms/android-1.6/samples/ApiDemos/src/com/example/android/apis/view/Gallery1.java â ï¼-ï¼ ã¬ã¤ã¢ã¦ããã¡ã¤ã« /res/drawable/gallery_background_1.xml <selector xmlns:android="http://schemas.a
æä½ã®ã«ã¬ã³ããã¥ã¼ã«é¢ãã¦ã以åã«ããªãã¯ã»ã¢ã¼ã·ã§ã³ã§æãå¤ãããã¨ã«è¨åããã ViewFlipperã«ãããã¥ã¼ã®åæ¿ãã¨ã¢ãã¡ã¼ã·ã§ã³ å®è£ ã¨ãã¦ã¯ããã§OKã ã¨æã£ã¦ããã®ã ããããå®æ©ã§ãã¹ããã¦ã¿ãã¨è ã«è½ã¡ãªãæ¯ãèããããã ç¾è±¡ å·¦å³ã®ããªãã¯ã»ã¢ã¼ã·ã§ã³ãèªèãããªããã¨ãããã(ä¸å®æ) å®è£ ã¯ä»¥åã«ã¨ã³ããªã«æ¸ããããã«ãViewFlipperã¯ã©ã¹ã®onTouchEventä¸ã®ã¢ã¯ã·ã§ã³ã®åæ¿ãæã«ãã¿ããããã¦ããã®ç§»åå¤éãé¾å¤ã¨ãã¦æ¬¡æåã¯åæã«ç§»åãããã¨ã§å®è£ ãã¦ããã ViewFlipper#onTouchæç² protected float lastTouchX; @Override public boolean onTouch(View v, MotionEvent event) { switch (event.getAction()) { c
ä»åã¯ãè¤æ°ã®ã¢ã¯ãã£ããã£ã®å¶å¾¡ã¨æ示çã¤ã³ãã³ãã®åºç¤ã«ã¤ãã¦è§£èª¬ãã¾ãã ååã®ããããã¨ä»åã®ãã¤ã³ã ååã¯ãã¢ã¯ãã£ããã£ã®åä½ã«é¢ãã¦å¦ã³ã¾ãããå ·ä½çã«ã¯ã ç»é¢ã®ãããªãã® è¤æ°ã®é·ç§»ç¶æ ãæã£ã¦ãã ã®é·ç§»ç¶æ ãç解ããä¸ã§ãã¢ããªã®ãªã½ã¼ã¹ç®¡çãè¡ã ã¨è¨ã£ã説æããã¾ãããä»åã¯ã è¤æ°ã®ã¢ã¯ãã£ããã£ã®å¶å¾¡ æ示çã¤ã³ãã³ãã®åºç¤ ã«ã¤ãã¦è§£èª¬ãã¾ãã ã¤ã³ãã³ãã«ã¯ãèªèº«ã®ã¢ã¯ãã£ããã£ãæä½ãããæ示çã¤ã³ãã³ããã¨ãããã¼ããã£ã¹ãã¡ãã»ã¼ã¸ã®ãããªãæé»çã¤ã³ãã³ãããåå¨ãã¾ããä»åãç´¹ä»ããã®ã¯ãåºæ¬çãªæ示çã¤ã³ãã³ãã®æä½ã§ãããæ¬æ ¼çãªã¢ããªã§ãå¤ããããä»å¾ã®ã¢ããªéçºã«ç¹ããã®ã§ãä»åç´¹ä»ãããµã³ãã«ã«æãå ãã¦è©¦è¡é¯èª¤ãããªã©ãèªåã®ãã®ã«ãã¦ãã ããã ãã¦ããã®ã¤ã³ãã³ãããã¾ãèãæ £ããªãè¨èã§ãããä»ã®OSã«ã¯ãä¼¼ãä»çµã¿ããªãAn
ããããªè¨äºãæ¸ãããã§ã¯ããã¾ãããæ°ã«ãªããã¨ã次ã ã¨åºã¦ããAndroidã ãããªèªæã«è² ãã¤ã¤ãã¾ãã¡ã¢ã ããã»ã»ã¨ããããã®ããããªãèªå·±æ示ã§æ¬¡ã¸æ¬¡ã¸ã¨é²ãã§ããã¾ãã ä»åã¯Intentã«ã¤ãã¦æ¸ãã¾ãã Intentã§ãããå¥ã®ç»é¢ã¨ãã¼ã¿ã®ããã¨ããããããã«ã¯å¿ é ãªã¯ã©ã¹ã§ãã å¥ç»é¢ãéãå ´åã¯Intentã å¥ç»é¢ã«ãã©ã¡ã¼ã¿ã渡ãå ´åãIntentã å¥ç»é¢ãããªã¶ã«ããåãåãå ´åãIntentã ã¨ãããããå¥ç»é¢ã«é·ç§»ããããå¥ã¢ããªã«é·ç§»ãããããã©ã¡ã¼ã¿ã交æããå ´åã¯Intent使ã£ã¦ãã¨ããæãã§ãã ã¡ãã£ã¨ã ãæè¡è ã£ã½ããã¨ãæ¸ãã¨ãIntentã«ã¯æé»çã¨æ示çãåå¨ãã¾ãã â æé»çãªIntent Intent(String action) Intent(String action, Uri uri) ä¸è¨ã®ã³ã³ã¹ãã©ã¯ã¿ã使ãå ´åã¯æé»
ä»åã¯ãListViewã¨Adapterã¯ã©ã¹ãçµã¿åãããããããããªãã¿ã¼ã³ã«ã¤ãã¦ã¿ã¦ããã¾ãã ããã°ã©ã ã¯ListViewã¦ã£ã¸ã§ããã使ã£ã¦æ¸ããã¦ãã¾ããããããã¯ãã¹ã¦ãListActivityã使ã£ã¦å®ç¾ããäºãã§ãã¾ãã BaseAdapterã¯ã©ã¹ãæ¡å¼µãã¦ãªã¹ãé ç®ã®ã¬ã¤ã¢ã¦ããèªç±ã«ã«ã¹ã¿ãã¤ãºããã BaseAdapterã¯ãArrayAdapterã¯ã©ã¹ã®ã¹ã¼ãã¯ã©ã¹ã§ãã BaseAdapterãç¶æ¿ããã¯ã©ã¹ã«ã¯ãArrayAdapterã®ä»ã«ãCursorAdapter, SimpleAdapterçãããã¾ãã BaseAdapterã¯ã©ã¹ã¯ãä»ã®Adapterã¯ã©ã¹ã®åºã¨ãªãã¯ã©ã¹ã§ãã ãã®BaseAdapterã¯ã©ã¹ãæ¡å¼µãã¦ãç¬èªã®Adapterã¯ã©ã¹ãå®ç¾©ãã¦ãgetViewã¡ã½ããããªã¼ãã©ã¤ããããã¨ã§ã ãªã¹ãé ç®ã®ã¬ã¤ã¢ã¦ããèªç±ã«ã«
ã©ã³ãã³ã°
ã©ã³ãã³ã°
ã©ã³ãã³ã°
ãªãªã¼ã¹ãé害æ å ±ãªã©ã®ãµã¼ãã¹ã®ãç¥ãã
ææ°ã®äººæ°ã¨ã³ããªã¼ã®é ä¿¡
å¦çãå®è¡ä¸ã§ã
j次ã®ããã¯ãã¼ã¯
kåã®ããã¯ãã¼ã¯
lãã¨ã§èªã
eã³ã¡ã³ãä¸è¦§ãéã
oãã¼ã¸ãéã
{{#tags}}- {{label}}
{{/tags}}