Clojarsサインアップ.
git clone git@github.com:kaosf/clocure.git; cd clocure
gpg --gen-key.名前をkaosfでメールアドレスをka.kaosf-=at=-gmail.comにした.パスフレーズ空にしたんだけどこれまずいのかどうかもよく分からん.
ランダムな値が必要やねんでと言われたのでfind / > /dev/nullしたりブラウザ操作したりした.
| ll -dF $PWD/**/* > files-directories.txt | |
| cat files-directories.txt | grep '^d' -v > files.txt | |
| cat files.txt | grep '^-rwx' > executable-files.txt | |
| cat executable-files.txt | awk '{print $9}' > executable-filenames.txt | |
| cat executable-filenames.txt | sed 's/\*//' -i executable-filenames.txt | |
| cat executable-filenames.txt | xargs chmod -x | |
| chmod +x script/rails | |
| rm files-directories.txt files.txt executable-files.txt executable-filenames.txt |
| sudo apt-key adv --keyserver hkp://keyserver.ubuntu.com:80 --recv 7F0CEB10 | |
| echo 'deb http://downloads-distro.mongodb.org/repo/ubuntu-upstart dist 10gen' | sudo tee /etc/apt/sources.list.d/mongodb.list | |
| sudo apt-get -y update | |
| sudo apt-get -y install git curl build-essential \ | |
| zlib1g-dev libssl-dev libreadline6-dev libffi-dev \ | |
| libxslt1-dev libxml2-dev \ | |
| libldap2-dev libsasl2-dev \ | |
| imagemagick libmagickwand-dev \ | |
| mongodb-org | |
| git clone https://github.com/sstephenson/rbenv.git $HOME/.rbenv |
| for i in \ | |
| lib/tasks/yard.rake \ | |
| lib/tasks/cms/role.rake \ | |
| lib/tasks/cms/page.rake \ | |
| lib/tasks/ss/site.rake \ | |
| lib/tasks/ss/crypt.rake \ | |
| lib/tasks/ss/user.rake \ | |
| lib/tasks/ss/deploy.rake \ | |
| lib/tasks/ss/update.rake \ | |
| lib/tasks/unicorn.rake \ |
| ## List up VMs | |
| VBoxManage list vms |
| # -*- mode: ruby -*- | |
| # vi: set ft=ruby : | |
| # Vagrantfile API/syntax version. Don't touch unless you know what you're doing! | |
| VAGRANTFILE_API_VERSION = "2" | |
| Vagrant.configure(VAGRANTFILE_API_VERSION) do |config| | |
| # ... |
| # ref. | |
| # http://www.ubuntuupdates.org/ppa/ubuntu_mozilla_security | |
| # https://launchpad.net/~ubuntu-mozilla-security/+archive/ppa | |
| sudo add-apt-repository ppa:ubuntu-mozilla-security/ppa | |
| # ref. http://askubuntu.com/questions/307/how-can-ppas-be-removed | |
| #sudo add-apt-repository --remove ppa:ubuntu-mozilla-security/ppa | |
| sudo aptitude update | |
| sudo aptitude safe-upgrade |
| source 'https://rubygems.org' | |
| gem 'clockwork' |