This file contains hidden or 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
version: '3.1' | |
services: | |
wordpress: | |
image: wordpress | |
restart: always | |
ports: | |
- 80:80 | |
environment: |
This file contains hidden or 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
version: "3" | |
services: | |
db: | |
restart: always | |
image: postgres:alpine | |
networks: | |
internal: | |
## Uncomment to enable DB persistance | |
volumes: |
This file contains hidden or 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
version: '2' | |
services: | |
zabbix-db: | |
image: zabbix/zabbix-db-mariadb | |
volumes: | |
- zabbix-db-storage:/var/lib/mysql | |
- backups:/backups | |
- /etc/localtime:/etc/localtime:ro | |
environment: | |
- MARIADB_USER=zabbix |
This file contains hidden or 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
$ export $do_token='自分のAPI_token' | |
$ docker-machine create \ | |
--driver digitalocean \ | |
--digitalocean-access-token $do_token \ | |
--digitalocean-region sgp1 \ | |
--digitalocean-size 2gb \ | |
--digitalocean-image centos-7-0-x64 \ | |
centos7-docker |
This file contains hidden or 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
provider "azure" { | |
publish_settings = "${file("credentials.publishsettings")}" | |
} | |
resource "azure_hosted_service" "terraform-service" { | |
name = "zem03-01a" | |
location = "Japan East" | |
ephemeral_contents = false | |
description = "Hosted service created by Terraform." | |
label = "tf-hs-01" |
This file contains hidden or 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
$ cat docker-compose.yml | |
version: "2" | |
services: | |
voting-app: | |
image: docker/example-voting-app-voting-app | |
ports: | |
- "80" | |
networks: | |
- votenet | |
result-app: |
This file contains hidden or 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
public class HelloWorld | |
{ | |
public static void main (String [] args) | |
{ | |
System.out.println("hello world"); | |
} | |
} |
This file contains hidden or 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
20年後も現役でいるために英語必要では | |
ライバルは世界 | |
意識の低い英語勉強法! | |
ーーー | |
自分のモチベーション | |
当たり前だが、北米では、小学生・幼稚園でも情報にアクセスできる | |
日本では、英語ができないと情報にアクセスできないため、 | |
自然と、情報を入手できるタイミングが遅くなってしまう |
This file contains hidden or 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
# setup directory and download | |
mkdir c:\zabbix | |
cd c:\zabbix | |
bitsadmin.exe /transfer "zabbix-agent" http://www.zabbix.com/downloads/2.4.1/zabbix_agents_2.4.1.win.zip "c:\zabbix\zabbix_agents_2.4.1.win.zip" | |
# unzip archive | |
Add-Type -Path "C:\Windows\Microsoft.NET\assembly\GAC_MSIL\System.IO.Compression.FileSystem\v4.0_4.0.0.0__b77a5c561934e089\System.IO.Compression.FileSystem.dll" | |
[System.IO.Compression.ZipFile]::ExtractToDirectory("c:\zabbix\zabbix_agents_2.4.1.win.zip", "C:\zabbix\") | |
# setup zabbix |
This file contains hidden or 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/sh | |
mv /etc/localtime /etc/localtime.orig | |
ln -s /usr/share/zoneinfo/Asia/Tokyo /etc/localtime |
NewerOlder