Skip to content

Instantly share code, notes, and snippets.

@poad
poad / file0.txt
Last active March 3, 2016 03:20
VimへのNeoBundleのインストール ref: http://qiita.com/poad1010/items/0434466cec41193b1136
mkdir -p ~/.vim/bundle
git clone https://github.com/Shougo/neobundle.vim ~/.vim/bundle/neobundle.vim
@poad
poad / file0.txt
Created July 28, 2014 05:00
【Docker】UbuntuでCentOS5のchroot環境を構築する ref: http://qiita.com/poad1010/items/e19920507007cbfc033d
sudo aptitude install rinse
sudo rinse --directory=${HOME}/centos --distribution=centos-5 --arc=amd64
sudo chroot ${HOME}/centos /bin/bash
sudo rm -rf dev
sudo mkdir -m 755 dev
(
cd dev
sudo ln -sf /proc/self/fd ./
@poad
poad / file0.txt
Last active August 29, 2015 14:16
Ubuntu 14.04にflareをインストールしてみる ref: http://qiita.com/poad1010/items/9a6f4dba1d20245c4b08
sudo apt-get update
sudo apt-get install tokyocabinet-bin libtokyocabinet-dev
sudo apt-get install libboost-dev libboost-program-options1.54.0 libboost-thread1.54.0 libboost-regex1.54.0 libboost-serialization1.54.0
sudo apt-get install libhashkit-dev
sudo apt-get install automake libtool zlib1g-dev
cd /usr/lib/x86_64-linux-gnu
sudo ln -s libboost_program_options.so.1.54.0 libboost_program_options.so
sudo ln -s libboost_regex.so.1.54.0 libboost_regex.so
sudo ln -s libboost_thread.so.1.54.0 libboost_thread.so
sudo ln -s libboost_serialization.so.1.54.0 libboost_serialization.so
@poad
poad / file0.xml
Created March 21, 2015 12:56
Maven 2.2.1でjetty-parentのせいでエラーとなるのを解決する方法 ref: http://qiita.com/poad1010/items/0c73bbf61a75ddef0a24
<dependency>
<groupId>org.glassfish.jersey.containers</groupId>
<artifactId>jersey-container-jetty-servlet</artifactId>
<version>2.17</version>
</dependency>
@poad
poad / file0.txt
Created April 21, 2015 17:03
Mac OS Xで旧いJDKをアンインストールする ref: http://qiita.com/poad1010/items/47a3e8f7be242eb5eca2
/usr/libexec/java_home -V
@poad
poad / file0.txt
Last active August 29, 2015 14:20
Docker Containerの自動再起動 ref: http://qiita.com/poad1010/items/521c8af6bbd9359958b5
$docker_mysql = <<SCRIPT
if type apt-get >/dev/null 2>&1; then
echo I am provisioning...
sudo apt-get update
sudo apt-get -y dist-upgrade
if [ ! $(type mysql >/dev/null 2>&1) ]; then
sudo apt-get install -y mysql-client
fi
if [ ! $(type docker >/dev/null 2>&1) ]; then
@poad
poad / bookmark.xml
Last active August 29, 2015 14:24
Eclipse Mars(4.5) 私的Pluginリスト ref: http://qiita.com/poad1010/items/e2600890c3019b7e94f9
<?xml version="1.0" encoding="UTF-8"?>
<bookmarks>
<site url="http://download.eclipse.org/buildship/updates/e45/releases/1.0" selected="true" name="Buildship"/>
<site url="http://update.eclemma.org/" selected="true" name="EclEmma"/>
<site url="http://dl.bintray.com/ajermakovics/jmockit/" selected="true" name="Eclipse plug-in for JMockit"/>
<site url="http://www.nodeclipse.org/updates/markdown/" selected="true" name="Markdown Editor (site)"/>
<site url="http://download.eclipse.org/releases/mars" selected="true" name="Mars"/>
<site url="http://beust.com/eclipse" selected="true" name="TestNG"/>
<site url="http://download.eclipse.org/eclipse/updates/4.5" selected="true" name="The Eclipse Project Updates"/>
<site url="http://basti1302.github.com/startexplorer/update/" selected="true" name="Update Site"/>
@poad
poad / file0.txt
Last active August 29, 2015 14:27
VagrantでWindows boxを構築する ref: http://qiita.com/poad1010/items/5d5ca0bc1807b02db509
Enable-PSRemoting
@poad
poad / yaml
Created August 20, 2015 15:34
ansibleでoracle jdkをインストールする ref: http://qiita.com/poad1010/items/237e32e081794f0d8823
- hosts: 127.0.0.1
connection: local
become: yes
tasks:
- apt_repository: repo='ppa:webupd8team/java'
# - name: Autoaccept license for Java7
# debconf: name='oracle-java7-installer' question='shared/accepted-oracle-license-v1-1' value='true' vtype='select'
- name: Autoaccept license for Java8
debconf: name='oracle-java8-installer' question='shared/accepted-oracle-license-v1-1' value='true' vtype='select'
@poad
poad / eclipse.desktop
Created August 20, 2015 15:43
ansibleでEclipseの自動インストール ref: http://qiita.com/poad1010/items/15439bf4310954bd8d97
[Desktop Entry]
Encoding=UTF-8
Version=1.0
Type=Application
Name=Eclipse
Icon=eclipse.png
Path=/opt/eclipse/eclipse
Exec=/opt/eclipse/eclipse/eclipse
StartupNotify=false
StartupWMClass=Eclipse