Skip to content

Instantly share code, notes, and snippets.

View yano3's full-sized avatar
❄️
NO SNOW, NO LIFE.

Teppei Yano yano3

❄️
NO SNOW, NO LIFE.
View GitHub Profile
@yano3
yano3 / gist:4491570
Created January 9, 2013 08:28
installed packages to compile subversion
$ sudo yum install apr-util-devel
$ sudo yum install sqlite-devel
$ sudo yum install neon-devel
$ cd subversion-1.7.8
$ ./configure
$ make
$ sudo make install
@yano3
yano3 / install_puppet.sh
Last active January 2, 2016 22:09
Installing puppet (Ubuntu 12.04 LTS)
# see http://docs.puppetlabs.com/guides/puppetlabs_package_repositories.html#for-debian-and-ubuntu
wget https://apt.puppetlabs.com/puppetlabs-release-precise.deb
sudo dpkg -i puppetlabs-release-precise.deb
sudo apt-get update
# puppet-common instead of puppet
# This will install Puppet without the agent init script
sudo apt-get install puppet-common
@yano3
yano3 / gist:8633751
Created January 26, 2014 14:41
agqr
59 18 * * * rtmpdump -r rtmp://fms-base1.mitene.ad.jp/agqr/aandg2 --live -o ~/hoge.flv --stop 1920
ruby -e "$(curl -fsSL https://raw.github.com/Homebrew/homebrew/go/install)"
brew install git
brew install zsh
sudo sh -c "echo '/usr/local/bin/zsh' >> /etc/shells"
chsh -s /usr/local/bin/zsh
brew install tmux
brew tap phinze/cask
brew install brew-cask
brew cask install google-chrome
brew cask install launchbar
@yano3
yano3 / gist:8858212
Created February 7, 2014 06:30
brew install git
$ brew install git
==> Downloading https://downloads.sf.net/project/machomebrew/Bottles/git-1.8.5.3.mavericks.bottle.tar.gz
######################################################################## 100.0%
==> Pouring git-1.8.5.3.mavericks.bottle.tar.gz
==> Caveats
The OS X keychain credential helper has been installed to:
/usr/local/bin/git-credential-osxkeychain
The 'contrib' directory has been installed to:
/usr/local/share/git-core/contrib
$ brew install zsh
==> Installing dependencies for zsh: gdbm, pcre
==> Installing zsh dependency: gdbm
==> Downloading http://ftpmirror.gnu.org/gdbm/gdbm-1.11.tar.gz
######################################################################## 100.0%
==> ./configure --prefix=/usr/local/Cellar/gdbm/1.11 --mandir=/usr/local/Cellar/gdbm/1.11/share/man --infodir=/usr/local/Cellar/gdbm/1.11/share/info
==> make install
🍺 /usr/local/Cellar/gdbm/1.11: 16 files, 408K, built in 10 seconds
==> Installing zsh dependency: pcre
==> Downloading http://downloads.sourceforge.net/project/pcre/pcre/8.34/pcre-8.34.tar.bz2
@yano3
yano3 / gist:8951279
Created February 12, 2014 07:21
brew install osxfuse
$ brew install osxfuse
==> Downloading https://downloads.sf.net/project/machomebrew/Bottles/osxfuse-2.6.2.mavericks.bottle.tar.gz
Already downloaded: /Library/Caches/Homebrew/osxfuse-2.6.2.mavericks.bottle.tar.gz
==> Pouring osxfuse-2.6.2.mavericks.bottle.tar.gz
==> Caveats
If upgrading from a previous version of osxfuse, the previous kernel extension
will need to be unloaded before installing the new version. First, check that
no FUSE-based file systems are running:
mount -t osxfusefs
@yano3
yano3 / gist:8952990
Created February 12, 2014 10:22
brew install rbenv
$ brew install rbenv
==> Downloading https://github.com/sstephenson/rbenv/archive/v0.4.0.tar.gz
Already downloaded: /Library/Caches/Homebrew/rbenv-0.4.0.tar.gz
==> Caveats
To use Homebrew's directories rather than ~/.rbenv add to your profile:
export RBENV_ROOT=/usr/local/var/rbenv
To enable shims and autocompletion add to your profile:
if which rbenv > /dev/null; then eval "$(rbenv init -)"; fi
==> Summary
@yano3
yano3 / gist:8953046
Created February 12, 2014 10:27
brew install mysql
$ brew install mysql
==> Downloading https://downloads.sf.net/project/machomebrew/Bottles/mysql-5.6.16.mavericks.bottle.tar.gz
######################################################################## 100.0%
==> Pouring mysql-5.6.16.mavericks.bottle.tar.gz
==> Caveats
A "/etc/my.cnf" from another install may interfere with a Homebrew-built
server starting up correctly.
To connect:
mysql -uroot