rsync ã®ä½¿ç¨ä¾ rsync ã®ããããã使ãæ¹ãè¦ã¤ããããrsync[email protected] å®ã¦ã«ã¡ã¼ã«ã§éã£ã¦ä¸ããããã®ãã¼ã¸ã«æ²è¼ãã¾ãã ã¹ãã¢ã»ãã£ã¹ã¯ã¸ã®ããã¯ã¢ãã èªåã®ãã·ã³ã§ rsync ã使ã£ã¦ãã¼ã«ã«ã»ããã¯ã¢ããã試ãã¦ã¿ã¾ããã ã¡ã¤ã³ã»ãã£ã¹ã¯ã«ããå ¨ã¦ã®å 容ã®ããã¯ã¢ãããå¥ã®ã¹ãã¢ã»ãã£ã¹ã¯ã«åãã¾ãã å¤ã«ã¯ã¼ãã³ã§ã¡ã¤ã³ã»ãã£ã¹ã¯ã®ããã¯ã¢ãããè¡ã£ã¦ãã¾ããã ããã§ä½¿ã£ãã¹ã¯ãªããã¯ãããªæãã§ãã #!/bin/sh export PATH=/usr/local/bin:/usr/bin:/bin LIST="rootfs usr data data2" for d in $LIST; do mount /backup/$d rsync -ax --exclude fstab --delete /$d/ /backup/$d/ u
rsync ã§ãã£ã¬ã¯ããªã®åæï¼ããã¯ã¢ããï¼ æä¾ï¼maruko2 Note. 移åï¼ æ¡å , æ¤ç´¢ ç®æ¬¡ 1 æ¸å¼ 2 option 3 使ç¨ä¾ 3.1 source ãã£ã¬ã¯ããªå ã®ãã¡ã¤ã«ããbackup ãã£ã¬ã¯ããªã¸ã³ãã¼ãã 3.2 ãã£ã¬ã¯ããªã®åæ 3.3 SOURCE ã§æå®ãããã£ã¬ã¯ããªåã®æå¾ã«ã¹ã©ãã·ã¥ãä»ãããä»ããªãã 3.4 ssh ã¨çµã¿åãããªã¢ã¼ããã·ã³ã«ã³ãã¼ãã 4 rsync ãµã¼ã 4.1 rsyncd.conf 4.2 ãã¼ã¢ã³ã¢ã¼ãã§èµ·å 4.3 rsync ãµã¼ãã¨ã®åææ¹æ³ 4.4 ã¢ã¸ã¥ã¼ã«ã®æå®ä¾ 4.5 rsync ãµã¼ãã®ã»ãã¥ãªãã£å¯¾ç 4.5.1 åæå ã¢ãã¬ã¹ãéå®ããè¨å® 4.5.1.1 è¨å®ä¾ 4.5.2 åææã«ã¦ã¼ã¶ã¼èªè¨¼ãå¿ è¦ã¨ããè¨å® 4.5.2.1 rsync ãµã¼ãå´ã®è¨å® 4.5.2.2 ã¯ã©ã¤ã¢ã³ã
Infrastracture as codeæµè¡ã®å¯ç£ç©ã¨ãã¦ãããOpsã¯ããç¨åº¦Rubyã§ã©ã¤ãã©ãªãæ¸ããããã«ãªãã¾ããã æè§Rubyã§ã©ã¤ãã©ãªãæ¸ãããªããå®å ¨ï¼ã©ã¯ã«é å¸ããããGemããã±ã¼ã¸ã«ãã¾ããããåºæ¥ã人ã«ã¯ä»æ´ã§ããããç¥ããªã人ã¯çä¼¼ãã¦ã¿ã¦ãã ã¡ãªã¿ã«æå¤ã¨èª¤è§£ããã¦ãç¹ãgemã«ããï¼Rubygems.orgã§å ¬éãããã§ã¯ããã¾ããããã¦ãOKã¨ããã ãã§ã ç®æ¨ gemãã¡ã¤ã«ãç½®ãã¦ãgemã³ãã³ãã§èªåã®ã©ã¤ãã©ãªããµã¼ãã«å°å ¥ããã ãããªãããã§ã gem install -l my_libs-0.0.1.gem ããããã£ã¦ã¿ã¾ãããã Gemã®éå½¢ãã¤ããã Gemã®ä½ãæ¹ã¯è²ã ããããã§ãããç§ã¯ãã£ã±ãbundlerã§ãã bundle gemã§å¿ è¦ãªãã¡ã¤ã«ç¾¤ãä½æãã¾ãã便å©ã§ããã $ bundle gem my_libs c
ä¾ãã°ãberkshelfãgem installãããã¨ãã¯æ®éããããããã§ãã gem install berkshelf ããããã¨rubygems.orgã«ããberkshelfãã¤ã³ã¹ãã¼ã«ããã¾ãã ããã§ã¯ãªãgithubä¸ã«ããææ°ã®berkshelfãgit cloneã§æã£ã¦ãã¦ã¤ã³ã¹ãã¼ã«ãããã¨ãã¯ãã®ããã«ãã¾ãã git clone git://github.com/berkshelf/berkshelf cd berkshelf rm .ruby-version gem build berkshelf.gemspec gem install berkshelf-3.0.0.beta4.gem rbenv rehash
Graphviz produced errors. Verify it has support for filetype=pdf, or use filetype=dot. Original error: 2014-05-23 11:50:20.918 dot[88308:d07] CoreText performance note: Client called CTFontCreateWithName() using name "Arial Italic" and got font with PostScript name "Arial-ItalicMT". For best performance, only use PostScript names when calling this API.
ãã¤ã¯ãã½ãããã¯ã©ã¦ãã®ããã»ããµãAMDããXeonã¸åãæ¿ãããå¾æ¥ãã60ï¼ é«éãªããã»ããµã¨SSDãæè¼ããæ°ã¤ã³ã¹ã¿ã³ã¹ãD-Seriesããå©ç¨å¯è½ã« ããã¾ã§Microsoft Azureã§ã¯ãA-Seriesãã¨å¼ã°ããã¤ã³ã¹ã¿ã³ã¹ãå©ç¨å¯è½ã§ãã³ã¢æ°ã¨ã¡ã¢ãªå®¹éããã£ã¹ã¯ãµã¤ãºã«ãã£ã¦ã1ã³ã¢0.75GBã¡ã¢ãªãåããæå°ã®ãA0ããã16ã³ã¢112GBã¡ã¢ãªã®ãA9ãã¾ã§ãé¸æã§ãã¾ããã ä»åå©ç¨å¯è½ã«ãªã£ããD-Seriesãã¯æ°ããã¤ã³ã¹ã¿ã³ã¹ã®ã·ãªã¼ãºã§ãA-Seriesã«æ¯ã¹ã¦ç´60ï¼ é«éãªããã»ããµãæè¼ãæå°ã¤ã³ã¹ã¿ã³ã¹ã®ãD1ãã¯ã1ã³ã¢ã§3.5GBã¡ã¢ãªãæ大ã¤ã³ã¹ã¿ã³ã¹ã®ãD14ãã¯16ã³ã¢ã§112GBã¡ã¢ãªã¨ãªã£ã¦ãã¾ãã ããã«D-Seriesã¯æ¨æºã§ãã¼ã«ã«ãã£ã¹ã¯ã«SSDãæ¡ç¨ããD1ãã§50GBãæ大ã®ãD14ãã§ã¯800GBãå©ç¨ã§ãã¾
ä¸å½ã¡ãã£ã¢ã®é¨°è¨ç§æã¯ï¼ï¼æ¥ãç±³ã¢ããã«ã®ææ°ã¹ãã¼ããã©ã³ãï½ï¼°ï½ï½ï½ï½ ãï¼ããå解ããã¦å¤æãããã¨ã¨ãã¦ããï½ï¼°ï½ï½ï½ï½ ãï¼ãã«æè¼ããã¦ããããã»ããµã®è£½é å ã¯å°æ¹¾ç©ä½é»è·¯è£½é ï¼ï¼´ï¼³ï¼ï¼£ï¼ã ã¨ããããµã ã¹ã³ã¯ã¢ããã«ã«åãæ¨ã¦ããããã¨å ±ããã è¨äºã¯ãéå½ã®ãµã ã¹ã³é»åã¯ããã¾ã§ãï½ï¼°ï½ï½ï½ï½ ãã·ãªã¼ãºã®ããã»ããµã®è£½é ãæ å½ãã¦ããã¨ç´¹ä»ããä¸æ¹ãã¢ããã«ã¨ãµã ã¹ã³ã¯ã¹ãã¼ããã©ã³äºæ¥ãããã£ã¦ç«¶åé¢ä¿ã«ããã¨ææã æ¥æ¬æéï¼ï¼æ¥ã«çºå£²ããããï½ï¼°ï½ï½ï½ï½ ãï¼ãï¼ãï½ï¼°ï½ï½ï½ï½ ãï¼ï¼°ï½ï½ï½ãã«ã¤ãã¦ãé»åæ©å¨ã®è§£æãææããä¼æ¥ã»ï¼£ï½ï½ï½ï½ï½ï½ï½ï½ãå解ãè¡ããã¢ããã«ã®ï¼¡ï¼ããã»ããµã¯ï¼´ï¼³ï¼ï¼£ã製é ãããã®ã ã¨å¤æããã¨ç´¹ä»ããã ããã«ãï¼ï¼ï¼ï¼å¹´åé ããAï¼ããã»ããµã®è£½é ã¯ï¼´ï¼³ï¼ï¼£ãå注ããã¨ããåï¼ãããï¼ãæµãã¦ããã¨ãããï½ï¼°ï½ï½ï½ï½ ãï¼ãå解ããããã¨
[edit] è¦ç´ Tuple Space ã表ãã¯ã©ã¹ã§ãã ãã®ã¯ã©ã¹ã®ã¤ã³ã¹ã¿ã³ã¹ã drb ãçµç±ãã¦å ¬éãããã¨ã§ã¿ãã«ã¹ãã¼ã¹ãä»ã®ããã»ã¹ããã¢ã¯ã»ã¹ããããã¨ãã§ããããã«ãªãã¾ãã ã¿ãã«ã¹ãã¼ã¹ã drb çµç±ã§å©ç¨ããå´ã¯ DRb::DRbObject.new_with_uri ãªã©ã§ãã®ãªãã¸ã§ã¯ãã®ãªã¢ã¼ããªãã¸ã§ã¯ããåå¾ããRinda::TupleSpaceProxy ããã¶ãããã¨ã§å©ç¨ãã¾ãã ã¿ãã«ã®å¯¿å½ã¨ renewer ã¿ãã«ã Rinda::TupleSpace#write ãªã©ã§è¿½å ããã¨ãã«ãã®å¯¿å½ãç§æ°ã§æå®ãããã¨ãã§ãã¾ããã¿ãã«ãã¿ãã«ã¹ãã¼ã¹ã«è¿½å ãã¦ãããã®ç§æ°éããã¨ã¿ãã«ã¯åé¤ããã¾ãã ãã ããæå®ç§æ°ãéãã¦ãããã«ã¯åé¤ããããRinda::TupleSpace.new ã®å¼æ°ã§æå®ããç§æ°ãã¨ã«ãæé¤ç¨ã¹ã¬ããããåãã
Railsã®ä»çµã¿ãä½ç³»çã«å¦ã¹ã大åã³ã³ãã³ã Rails Guides ã«åºã¥ãã1,600ãã¼ã¸è¶ ãã®å¤§åãªãã¡ã¬ã³ã¹ã§ãã ãããã¯ãéçºã«å½¹ç«ã¤å®è·µçãªç¥èãæºè¼ Railsãã¥ã¼ããªã¢ã«ãå®èµ°ãããããã¯ãéçºä¸ã®äººã«æé©ã§ãã å ¨ææ¤ç´¢ããã¼ã¸ã§ã³æ¯ã®æ¤ç´¢ã«ãå¯¾å¿ Proãã©ã³ã§ã¯ãããã«å¹ççãªæ´»ç¨ããµãã¼ããã¾ãã ãã®ã¢ã¤ã³ã³ãä»ãã¦ããã¬ã¤ãã¯ç¾å¨ä½æ¥ä¸ (WIP: Work In Progress) ã§ããä½æ¥ä¸ã®ã¬ã¤ãã¯ãããªãã«æç¨ã§ã¯ããã¾ãããä¸å®å ¨ãªæ å ±ãã¨ã©ã¼ãå«ã¾ãã¦ããå¯è½æ§ãããã¾ãã ã¯ããã« Rails ãã¯ãããã Railsã®ã¤ã³ã¹ãã¼ã«æ¹æ³ã¨æåã®Railsã¢ããªã±ã¼ã·ã§ã³ã®ä½æã«å¿ è¦ãªãã¹ã¦ã解説ãã¾ãã Dev Containerã§ã®éçºã¬ã¤ã VS Codeã¨Dev Containerã使ã£ã¦Railsã¢ããªã±ã¼ã·ã§ã³ã®éçºãè¡ãæ¹
2. ãå®å¿ã»å®å ¨ã»å®å®ã»ä¿¡é ¼ãã§ããã¤ã³ã¿ã¼ããããµã¼ãã¹ã ããããããã ⢠(æ ª)ã¯ã«ã¦ã£ããã®åç· å½¹ Â å ¼  å北é¸ï§â½æ¯ç¤¾â»â¾§é· ⢠å⼠士(æ å ±ç§å¦) !2 ⢠ãããã¯ã¼ã¯ã®å§è¨ç 究ã»â¾èªç¤¾ãµã¼ãã¹éçºãªã© ⢠äºæ¾¤  å¿å  (ãããããã¿ã¤) @Yukimitsu_Izawa 3. ãå®å¿ã»å®å ¨ã»å®å®ã»ä¿¡é ¼ãã§ããã¤ã³ã¿ã¼ããããµã¼ãã¹ã ããããããã ⢠(æ ª)ã¯ã«ã¦ã£ããã®åç· å½¹ Â å ¼  å北é¸ï§â½æ¯ç¤¾â»â¾§é· ⢠å⼠士(æ å ±ç§å¦) !2 ⢠ãããã¯ã¼ã¯ã®å§è¨ç 究ã»â¾èªç¤¾ãµã¼ãã¹éçºãªã© ⢠äºæ¾¤  å¿å  (ãããããã¿ã¤) ⢠æè¿ãæç£ã«å°±ä»»ãã¾ãã @Yukimitsu_Izawa 4. ãå®å¿ã»å®å ¨ã»å®å®ã»ä¿¡é ¼ãã§ããã¤ã³ã¿ã¼ããããµã¼ãã¹ã FFIã¨ã¯ ⢠FFI  (A  Portable  Foreign  Function  Interface
å½ç¤¾ã¯Cookieã使ç¨ãã¦ãã客æ§ãå½ç¤¾ã®Webãµã¤ãã§ããè¯ãä½é¨ãå¾ãããããã«ãã¦ãã¾ããå¼ãç¶ãé²è¦§ããå ´åã¯ããã©ã¤ãã·ã¼ããªã·ã¼ã«åæãããã¨ã«ãªãã¾ãã
2014å¹´09æ21æ¥14:49縦ãã¼ã«ã¯ç°¡åã«ããããã¼ã ï½è¤å³¶åº·ä»å çã®å ´åï½ã#ã¤ã©ã¹ã - Togetterã¾ã¨ãã«ãã´ãªã¢ãã¡ã¨ã²ã¼ã Comment(0) ãã£ãã®æåã®ä¸çæ¸ããããã«ãã人ã¯ããããã¨ãããã¾ãåè§ã並ã¹ã¦ãå°ããããã¦ããã®ãèãå 端ã«ããã«å¾ã£ã¦å°ããããã pic.twitter.com/CV91bEnM0ohttp://togetter.com/li/72145163人ãã¯ã¦ã ã¯ã¦ãã³ã¡ã³ããããªãã»ã©10ç§â¦10ç§ï¼2014/09/21 11:41:27å°æã®æ°ã®å·®ãæçµçãªæ¦åã®å·®ã«ãªãã2014/09/21 11:39:04ã¸ã¼ãã¤å¸2014/09/21 11:35:17ï¾ï¾ãã!2014/09/21 11:16:03ããç°¡åã§ãããã2014/09/21 11:11:07ããç°¡åã§ããï¼2014/09/21 11:05:24ç°¡åããã«è¦ã
SprocketsãNode.jsã®ã¨ã³ã·ã¹ãã ã§ç½®ãæãã¦Railsã¨çµã¿åããã話
ããã«ã¡ã¯ãhachi8833ã§ããããã¾ã§ãããã翻訳ãã¦ããRails Guideã¸ã®ãªã³ã¯ããç´¹ä»ãã¾ããã¬ã¤ãå ¨ä½ããè¦ãã°ã¾ã ååãããã§ããããµã¤ãºã®å¤§ãããã¡ã¤ã«ããå ã«ç¿»è¨³ãé²ãã¦ããã®ã§ãæ®ã£ã¦ããã®ã¯æ¯è¼çå°ããªãã¡ã¤ã«ã§ãã 注æ: ãããã®ãã¡ã¤ã«ã¯ä»ã®ã¨ãã翻訳ãå®äºããã ãã§ãããã¬ãã¥ã¼ãªã©ã¯ã¾ã è¡ããã¦ãã¾ãããå人ã®è²¬ä»»ã§ãå©ç¨ãã ããã è£è¶³: Githubã«ç½®ãããã¨ã§markdownã¯ç°¡ææ´å½¢ããã¦ãã¾ãããç»åã¯è¡¨ç¤ºããã¾ãããRailsã¬ã¤ã ã¬ã¤ãã©ã¤ã³ã«è¨è¼ããã¦ããæ¹æ³ã§ Railsã¬ã¤ãããã«ãããã°ç»å+CSSã®ããã¬ã¤ããå¾ããã¾ãã ãã¡ã¤ã«éã®ãªã³ã¯ã¯ãã«ããåæãªã®ã§ããã®ã¾ã¾ã§ã¯ç¡å¹ã§ãã 訳ãã¦ãã¦æªããã¨æã£ãç®æã«ã¯âãä»ãã¦ã¨ã£ã¨ã¨å ã«é²ãã§ãã¾ãã åæã«å¿ å®ãªè¨³ã¨ã¯éãã¾ãããåæããæ å ±ãå¢ããããè¨ãæ¹ãå¤ãã¦
git svn 使ãæ¹ svn ã®ãã°ãè¦ã svn ãªãã¸ããªã®ãã°ãè¦ãã«ã¯ git svn log ã¨ããã subversion ã®ãªãã¸ããªã git svn ã§è¤è£½ãã git svn clone svn://example.com/svn/repo ã¨ãã㨠subversion ã®ãªãã¸ããªã git ã§æ±ããã¨ãã§ããã æ¨æºã®ã¬ã¤ã¢ã¦ããæ㤠subversion ãªãã¸ããªã®å ´å㯠-s ãªãã·ã§ã³ãã¤ããã git svn clone -s svn://example.com/svn/repo æ¨æºã§ã¯ãªããµããã£ã¬ã¯ããªã® svn ãªãã¸ããªãã¯ãã¼ã³ãã git svn clone ã« -T ã§ãã©ã³ã¯ã-b ã§ãã©ã³ãã-t ã§ã¿ã°ã®ãµããã£ã¬ã¯ããªãæå®ããã git svn clone -T TRUNK -b BRANCHES -t TAGS svn://
ååã®è¨äº 㧠@udzura ããããalias_attributeãªãã©ãããã¨ããã³ã¡ã³ããé ããã®ã§ãã¡ãã試ãã¦ã¿ã¾ããã 1. self.primary_key = :legacy_idãå ¥ããå ´å ãããªæãã§ã:idã:sushiã¨ãã¦å®ç¾©ã class LegacyUser < ActiveRecord::Base establish_connection(:legacy) self.table_name = "hyper_legacy_tbl" self.primary_key = :legacy_id alias_attribute :sushi, :id end çµæã [10] pry(main)> h = HyperLegacyTbl.first HyperLegacyTbl Load (0.3ms) SELECT `hyper_legacy_tbl`.* FR
2016.1.6 è¨äºãå¤§å¹ ã«ä¿®æ£ã»è¿½å ãã¾ããããã¡ããã覧ãã ããã http://thefact.jp/2014/233/ ã5åã§ããããã¤ã¹ã©ã å½ï¼ISãISIS)ãã THE FACTã®æ°ã³ã¼ãã¼ããããããä¸æ±åé¡ãã æ¥æ¬ã§ã¯ãªãã¿ã®ãªãä¸æ±ã5åã§ãããããã解説ãã¾ãã ä»ä¸çä¸ããã®ååã注ç®ãã¦ããâã¤ã¹ã©ã å½âã å¤å½äººã¸ã£ã¼ããªã¹ãã®å¦åã次ã ã«è¡ããããªã© æ´åçãªè¡åãç®ç«ã¡ã¾ããã ãããããã¤ã¹ã©ã å½ãã¨ã¯ä½ãï¼ ãã®ç®çã¯ä½ãï¼ ä¸æ±å ¨ä½ããã¯ã©ãè¦ããã¦ããã®ãï¼ âãTHE FACTãç»é²ã¯ãã¡ã/Subscribeâ http://www.youtube.com/subscription_center?add_user=theFACTtvChannel â ãTHE FACTãFacebookãã¼ã¸ https://ja-jp.fa
ãªãªã¼ã¹ãé害æ å ±ãªã©ã®ãµã¼ãã¹ã®ãç¥ãã
ææ°ã®äººæ°ã¨ã³ããªã¼ã®é ä¿¡
j次ã®ããã¯ãã¼ã¯
kåã®ããã¯ãã¼ã¯
lãã¨ã§èªã
eã³ã¡ã³ãä¸è¦§ãéã
oãã¼ã¸ãéã
{{#tags}}- {{label}}
{{/tags}}