This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
diff --git a/com.crashplan.engine.plist b/com.crashplan.engine.plist | |
index d536a84..d189347 100644 | |
--- a/com.crashplan.engine.plist | |
+++ b/com.crashplan.engine.plist | |
@@ -22,7 +22,7 @@ | |
<string>/Applications/CrashPlan.app/Contents/Resources/Java</string> | |
<key>ProgramArguments</key> | |
<array> | |
- <string>/usr/bin/java</string> | |
+ <string>/System/Library/Java/JavaVirtualMachines/1.6.0.jdk/Contents/Commands/java</string> |
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
1.upto(100).map{|i|puts"#{i%3!=0?'':'Fizz'}#{i%5!=0?'':'Buzz'}#{(i%3*i%5)==0?'':i}"} |
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
main(int i){for(;i<101;i++)printf("%s%s%.0d\n",i%3?"":"Fizz",i%5?"":"Buzz",i%3*i%5?i:0);} |
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
$ sudo -s | |
[root@0r2 crashplan]# cd /usr/local/crashplan/ | |
[root@0r2 crashplan]# du -hs cache | |
10G cache/ | |
[root@0r2 crashplan]# # やたらとでかいファイルサイズ | |
[root@0r2 crashplan]# service crashplan stop | |
[root@0r2 crashplan]# mv cache cache.bak; mkdir cache | |
[root@0r2 crashplan]# service crashplan start | |
[root@0r2 crashplan]# sleep 5; ls -lR cache | |
[root@0r2 crashplan]# # キャッシュファイルができていることを確認 |
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
# .bashrc | |
# User specific aliases and functions | |
# Source global definitions | |
if [ -f /etc/bashrc ]; then | |
. /etc/bashrc | |
fi | |
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
$ sshfs 0r2.info:/home/masayuki/ariel 0r2.info | |
this MacFUSE library version is incompatible with the MacFUSE kernel extension |
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Jul 23 05:23:51 XXXXX com.apple.backupd[2787]: Starting standard backup | |
Jul 23 05:23:52 XXXXX com.apple.backupd[2787]: Network destination already mounted at: /Volumes/Public | |
Jul 23 05:24:07 XXXXX com.apple.backupd[2787]: afpfs fsctl failed to read settings: 45 Operation not supported | |
Jul 23 05:24:17 XXXXX com.apple.backupd[2787]: Backup failed with error: 45 |
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
$ sudo apt-get install vim | |
パッケージリストを読み込んでいます... 完了 | |
依存関係ツリーを作成しています | |
状態情報を読み取っています... 完了 | |
以下の特別パッケージがインストールされます: | |
vim-runtime | |
提案パッケージ: | |
ctags vim-doc vim-scripts | |
以下のパッケージが新たにインストールされます: | |
vim vim-runtime |
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
$ git diff | |
diff --git a/project/build/MyProject.scala b/project/build/MyProject.scala | |
index 0b8e9e0..c5fc24a 100644 | |
--- a/project/build/MyProject.scala | |
+++ b/project/build/MyProject.scala | |
@@ -15,6 +15,9 @@ class MyProject(info: ProjectInfo) extends DefaultWebProject(info) { | |
// http://groups.google.com/group/simple-build-tool/msg/1f17b43807d06cda | |
override def testClasspath = super.testClasspath +++ buildCompilerJar | |
+ // http://d.hatena.ne.jp/fits/20110521/1305942644 |
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
for(i<-1 to 100){println((i%3,i%5)match{case(0,0)=>"FizzBuzz"case(0,_)=>"Fizz"case(_,0)=>"Buzz"case _=>i})} |
NewerOlder