This file contains 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
# install pyenv | |
brew install pyenv | |
# install python via pyenv | |
pyenv install $(pyenv install -l | grep -v - | tail -1) | |
pyenv rehash | |
pyenv global $(pyenv install -l | grep -v - | tail -1) | |
# install pipenv | |
pip install --upgrade pip |
This file contains 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
# php version | |
PHP_VERSION="7.2.2" | |
# install phalcon | |
git clone --depth=1 git://github.com/phalcon/cphalcon.git | |
cd cphalcon/build/ | |
./install | |
# enable phalcon | |
cd ~/.phpbrew/php/php-${PHP_VERSION}/var/ |
This file contains 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
# install phpbrew | |
brew tap homebrew/php | |
brew install phpbrew | |
# initialization | |
phpbrew init | |
echo "source $HOME/.phpbrew/bashrc" >> ~/.bash_profile | |
source ~/.bash_profile | |
# build and install php |
This file contains 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
# install rbenv via anyenv | |
anyenv install rbenv | |
# install ruby via rbenv | |
rbenv install $(rbenv install -l | grep -v - | tail -1) | |
rbenv rehash | |
#rbenv global $(rbenv install -l | grep -v - | tail -1) | |
# install bundler | |
gem install bundler |
This file contains 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
# add package.json | |
npm init | |
vi package.json | |
#{ | |
# "name": "nodesample", | |
# "version": "1.0.0", | |
# "description": "" | |
#} | |
# local install express |
This file contains 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
curl -fsSkL https://raw.github.com/cask/cask/master/go | python | |
cask upgrade-cask | |
cd .emacs.d | |
cask init | |
# install package | |
cask install |
This file contains 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
wget http://downloads.sourceforge.net/project/porg/porg-0.8.tar.gz | |
tar zvf porg-0.8.tar.gz | |
cd porg-0.8 | |
./configure --disable-grop | |
make | |
make install | |
make logme | |
#How to use | |
# install |
This file contains 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
# install | |
wget http://ftp.riken.jp/net/apache/maven/maven-3/3.3.3/binaries/apache-maven-3.3.3-bin.tar.gz | |
tar xzvf apache-maven-3.3.3-bin.tar.gz | |
sudo mv apache-maven-3.3.3 /usr/local/bin | |
sudo ln -s /usr/local/bin/apache-maven-3.3.3 /usr/local/bin/maven | |
# /etc/profile.d/maven.sh | |
sudo vi /etc/profile.d/maven.sh | |
export M3_HOME=/usr/local/bin/maven | |
export M3=$M3_HOME/bin |
This file contains 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
<?php | |
trait TestTrait | |
{ | |
/** | |
* private, protectedなmethodのテスト用 | |
* | |
* $method = $this->getAccessibleMethod($obj, 'method_name'); | |
* $method->invokeArgs($obj, array()); | |
* |
This file contains 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
# add repository | |
sudo wget -O /etc/yum.repos.d/jenkins.repo http://pkg.jenkins-ci.org/redhat/jenkins.repo | |
sudo rpm --import http://pkg.jenkins-ci.org/redhat/jenkins-ci.org.key | |
# install | |
sudo yum install jenkins | |
# setting | |
sudo vi /etc/sysconfig/jenkins | |
# JENKINS_PORT="8090" |
NewerOlder