Skip to content

Instantly share code, notes, and snippets.

@bossato
bossato / github2bitbucket
Last active August 29, 2015 14:01
GitHubのリポジトリをBitbucketに移行するプログラム。Bitbucketにリポジトリがなければ自動で作成する。
<?php
// exec: php bitbucket.php [repository_name]
// setting
$repo = $argv[1];
if (!$repo) {
echo "/path/to/php bitbucket.php [repository_name]\n";
exit;
}
@bossato
bossato / gist:6148793
Created August 4, 2013 02:11
log of run-time chef of apache install
Starting Chef Client, version 11.4.4
Compiling Cookbooks...
Converging 8 resources
Recipe: apache::default
* cookbook_file[/usr/local/src/httpd-2.2.24.tar.gz] action create
- create a new cookbook_file /usr/local/src/httpd-2.2.24.tar.gz
Binary files /tmp/chef-tempfile20130804-534-1k2vzw2 and /root/chef/site-cookbooks/apache/files/default/httpd-2.2.24.tar.gz differ
* bash[install apache] action run
- execute "bash" "/tmp/chef-script20130804-534-1rx7wxa"