Skip to content

Instantly share code, notes, and snippets.

@poad
poad / shell
Last active September 15, 2015 04:54
[メモ][備忘録] ErlangをUbuntuでびるど ref: http://qiita.com/poad1010/items/12e327d7ac6d2d63211d
./otp_build autoconf && ./configure --prefix=$HOME/.anyenv/envs/erlenv/releases/18.0 && make -j 4 && erlenv global 18.0 && erlenv rehash
@poad
poad / file0.txt
Created September 19, 2015 10:01
バグレポートに最低限欲しい情報 ref: http://qiita.com/poad1010/items/3d83a68611e1f2b9a451
iOS 9.0のホーム画面から、アイコンをタップしてアプリを起動しようとすると、ホーム画面に戻ってしまい、アプリが起動しない。
@poad
poad / file0.txt
Last active December 22, 2016 00:48
VimへのNeoBundleのインストール(2015/09/21版) ref: http://qiita.com/poad1010/items/de16d9a1af78687c87cf
curl https://raw.githubusercontent.com/Shougo/neobundle.vim/master/bin/install.sh > install.sh
sh ./install.sh
rm -rf install.sh
wget https://packages.erlang-solutions.com/erlang-solutions_1.0_all.deb && sudo dpkg -i erlang-solutions_1.0_all.deb
sudo apt-get update
sudo apt-get install elixir
@poad
poad / file0.txt
Last active December 15, 2015 21:42
GradleでJavaServlet 3.1とJSF2.2を使ったEclipseプロジェクトを作成する ref: http://qiita.com/poad1010/items/91e415a3bef484c61cc8
compile 'org.apache.myfaces.core:myfaces-api:2.2.9'
compile 'org.apache.myfaces.core:myfaces-impl:2.2.9'
compile 'javax.servlet:jstl:1.2'
compile 'org.primefaces:primefaces:5.3'
compile 'javax.servlet:javax.servlet-api:3.1.0'
def tomcatVersion = '8.0.30'
tomcat "org.apache.tomcat.embed:tomcat-embed-core:${tomcatVersion}",
@poad
poad / file0.txt
Created February 14, 2016 03:13
Vagrant boxを小さくする ref: http://qiita.com/poad1010/items/6d15bd8d46967c1fd031
sudo su -
umount /vagrant
aptitude autoclean && apt-get autoremove && apt-get clean
find /var/log -type f | while read f; do echo -ne ‘’ > $f; done && rm -rf /var/log/* /tmp/* /var/tmp/* /usr/local/src/* /var/ww/html
e4defrag / && dd if=/dev/zero of=/EMPTY bs=1M; rm -f /EMPTY
rm /root/.bash_history && /home/vagrant/.bash_history
exit
FROM ruby:alpine
ENV DEBIAN_FRONTEND noninteractive
WORKDIR /root
ADD ./versions.txt /root/versions.txt
ADD Gemfile /root/Gemfile
@poad
poad / file0.txt
Created September 12, 2016 02:13
[メモ] ConEmuからMSYS2のmintty経由でbashを起動する ref: http://qiita.com/poad1010/items/e15acefdb82ba8158822
set CHERE_INVOKING=1 & %ConEmuDrive%\msys64\usr\bin\mintty.exe -i /msys2.ico /usr/bin/bash --login -new_console:d:%ConEmuDrive%\msys64\home\%username%
@poad
poad / Dockerfile
Created February 21, 2017 22:17
Spark History Server by Docker ref: http://qiita.com/poad1010/items/24dbcc290e4deeee68d7
FROM poad/docker-spark:1.6.2
USER root
COPY bootstrap.sh /etc/bootstrap.sh
RUN chown root.root /etc/bootstrap.sh
RUN chmod 700 /etc/bootstrap.sh
RUN mkdir /tmp/spark-events
@poad
poad / file0.txt
Last active March 17, 2017 02:41
Windows 7上のVagrant 1.9.2とVirtualBox 5.1.16の組み合わせで /sbin/mount.vboxsf: mounting failed with the error: No such file or directory と怒られる ref: http://qiita.com/poad1010/items/17da0c659dc5d465c0e0
==> puppet: Mounting shared folders...
puppet: /vagrant => C:/Users/hccpp302/Documents/projects/vagrant-puppet4-oss
Vagrant was unable to mount VirtualBox shared folders. This is usually
because the filesystem "vboxsf" is not available. This filesystem is
made available via the VirtualBox Guest Additions and kernel module.
Please verify that these guest additions are properly installed in the
guest. This is not a bug in Vagrant and is usually caused by a faulty
Vagrant box. For context, the command attempted was:
mount -t vboxsf -o uid=900,gid=1000 vagrant /vagrant