- 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
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 | |
# 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
!#/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; |
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
require "twitter" | |
client = Twitter::REST::Client.new do |config| | |
config.consumer_key = "YOUR_CONSUMER_KEY" | |
config.consumer_secret = "YOUR_CONSUMER_SECRET" | |
config.access_token = "YOUR_ACCESS_TOKEN" | |
config.access_token_secret = "YOUR_ACCESS_SECRET" | |
end | |
screen_name = target_screen_name |
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
# -*- mode: ruby -*- | |
# vi: set ft=ruby : | |
# All Vagrant configuration is done below. The "2" in Vagrant.configure | |
# configures the configuration version (we support older styles for | |
# backwards compatibility). Please don't change it unless you know what | |
# you're doing. | |
Vagrant.configure("2") do |config| | |
# The most common configuration options are documented and commented below. | |
# For a complete reference, please see the online documentation at |
OlderNewer