- https://owncloud.org/install/
- Get ownCloud Server
- Download
- Get the ownCloud Server
- ownCloud Server Archive File
- .zip
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
// required : Postfix etc | |
var mailer = require('nodemailer'); | |
// さくらのレンタルサーバ or さくらのメールボックス | |
var setting = { | |
host: 'hoge.sakura.ne.jp', | |
auth: { | |
user: 'fuga@hoge.sakura.ne.jp', | |
pass: 'password', | |
secureConnection: true, |
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 | |
# create container | |
docker run -it --name hogehoge_app --hostname app -p 12345:80 -v foo:bar ubuntu /bin/bash | |
# make environment | |
apt-get update | |
apt-get upgrade -y |
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 | |
docker export hogehoge_app > hogehoge_app.tar | |
# import | |
# cat hogehoge_app.tar | docker import - hogehoge/app:X.X | |
# commit (enable to override existed image) | |
# docker commit container hogehoge/app:X.X |
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
app: | |
image: hogehoge/app:X.X | |
restart: always | |
ports: | |
- 12345:80 | |
volumes: | |
- foo:bar | |
container_name: hogehoge_app | |
hostname: app | |
entrypoint: "/bin/bash -c /opt/init.sh" |
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 | |
/root/.pyenv/shims/superset init | |
/root/.pyenv/shims/superset runserver -p 80 -a 0.0.0.0 | |
while true ; do | |
# exec on foreground when last process | |
/bin/bash | |
done |
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 | |
# https://micro-editor.github.io/ | |
wget https://github.com/zyedidia/micro/releases/download/v1.3.3/micro-1.3.3-linux64.tar.gz | |
tar zxvf micro-1.3.3-linux64.tar.gz | |
cd micro-1.3.3 | |
sudo cp micro /usr/local/bin | |
cd .. | |
rm -R micro-1.3.3 | |
rm micro-1.3.3-linux64.tar.gz |
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 | |
docker run -it --name superset_create --hostname supersetcreate -p 12345:80 -v /docker/superset/.superset:/root/.superset -v /sqlite3:/sqlite3 ubuntu /bin/bash | |
# 1st prepare | |
apt-get update | |
apt-get dist-upgrade -y | |
apt-get install -y build-essential libssl-dev libffi-dev python-dev python-pip libsasl2-dev libldap2-dev curl git nano wget libbz2-dev libreadline-dev libsqlite3-dev | |
# you can install micro on behalf of nano |
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 | |
# SQLite3 | |
fake2db --rows 100000 --db sqlite --locale ja_JP | |
# MySQL | |
fake2db --rows 100000 --db mysql --host hostname --port port --username username --password password --locale ja_JP |
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
my $endval = $ARGV[0]; | |
my $fizz; | |
my $buzz; | |
foreach my $i (1 .. $endval) { | |
$fizz = $i % 3; | |
$buzz = $i % 5; |
OlderNewer