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
server { | |
listen 80; | |
server_name バーチャルホスト名; ← 外部から引けること | |
proxy_set_header X-Real-IP $remote_addr; | |
proxy_set_header X-Forwarded-For $proxy_add_x_forwarded_for; | |
proxy_set_header Host $http_host; | |
proxy_redirect off; | |
proxy_max_temp_file_size 0; |
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
// max file size for upload on PHP(PHP default 2MB) | |
ini_set("upload_max_filesize","2M"); | |
↓ | |
ini_set("upload_max_filesize","50M"); | |
// Max file size for upload on script of PukiWikiX_FILESIZE | |
define('PLUGIN_ATTACH_MAX_FILESIZE', (1024 * 1024)); // default: 1MB | |
↓ | |
define('PLUGIN_ATTACH_MAX_FILESIZE', (51200 * 1024)); // default: 50MB |
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
abstract class Mapper { | |
protected $db; | |
public function __construct($db) { | |
$this->db = $db; | |
} | |
} |
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 | |
source /opt/rh/mariadb55/enable |
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
"C:\Program Files (x86)\PuTTY\putty.exe" -new_console -load "yoursavedsession" |
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
# openssl md5 /bin/* > rand.dat | |
# openssl genrsa -rand rand.dat -out server.key 2048 |
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
config.vm.define :nictest do |node| | |
node.vm.network :public_network, ip: "192.168.0.201" | |
node.vm.network :private_network, ip: "192.168.11.117" | |
end |
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
> netsh wlan set hostednetwork mode=allow | |
> netsh wlan set hostednetwork ssid=ssidtest | |
> netsh wlan set hostednetwork key=password keyusage=persistent | |
> netsh wlan start hostednetwork |
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
# OracleXE | |
config.vm.define :oracle do |oracle| | |
oracle.vm.hostname = "oracle" | |
oracle.vm.network :private_network, ip: "xxx.xxx.xxx.xxx" | |
oracle.vm.provider "virtualbox" do |v| | |
v.customize ["modifyvm", :id, "--memory", 512] | |
end | |
end |
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
jq -r '[ .dateTime[:4] + "/" + .dateTime[4:6] + "/" + .dateTime[6:8], .tempoCode ] | @tsv ' |
NewerOlder