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
# 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
# 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" |
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 phalcon | |
cd /tmp | |
git clone git://github.com/phalcon/cphalcon.git | |
cd cphalcon/build | |
sudo ./install | |
echo "extension=phalcon.so" > /etc/php.d/phalcon.ini | |
sudo service httpd restart | |
# install phalcon devtools | |
curl -s http://getcomposer.org/installer | 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
#!/bin/bash | |
# install emacs24.3 | |
cd /tmp | |
curl -O http://ftp.gnu.org/pub/gnu/emacs/emacs-24.3.tar.gz | |
tar xfz emacs-24.3.tar.gz | |
cd emacs-24.3 | |
./configure --without-x --without-selinux #--prefix=$HOME/local | |
make | |
sudo make 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
# /etc/profile.d/tomcat.sh | |
# Java | |
export JAVA_HOME=/usr/java/jdk1.8.0 | |
export PATH=$PATH:$JAVA_HOME/bin | |
export CLASSPATH=.:$JAVA_HOME/jre/lib:$JAVA_HOME/lib:$JAVA_HOME/lib/tools.jar | |
# Tomcat | |
export JRE_HOME=$JAVA_HOME | |
export TOMCAT_HOME=/usr/local/tomcat | |
export CATALINA_HOME=/usr/local/tomcat | |
export CLASSPATH=$CLASSPATH:$CATALINA_HOME/common/lib |
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
<!DOCTYPE web-app PUBLIC | |
"-//Sun Microsystems, Inc.//DTD Web Application 2.3//EN" | |
"http://java.sun.com/dtd/web-app_2_3.dtd"> | |
<web-app> | |
<servlet> | |
<servlet-name>HelloServlet</servlet-name> | |
<servlet-class>HelloServlet</servlet-class> | |
</servlet> |