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
| <?php | |
| //Setting Value | |
| $basedir='/var/spool/asterisk'; | |
| $faxin='faxin'; | |
| $faxpdf='faxpdf'; | |
| $mailfrom='[email protected]'; | |
| $mailto='[email protected]'; | |
| $mailreturn=$mailfrom; | |
| $mailsubject=date('Ymd') . 'にFAXを受信しました'; | |
| $mailbody='データは、PDFで、添付しました。Asteriskのご利用ありがとうございます。'; |
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 | |
| file=faxout.tif | |
| if [ -e $file ]; then | |
| echo "$file Found, Do Send fax." | |
| echo -n "Please input send fax number: " | |
| read faxnum | |
| if expr "$faxnum" : '[0-9]*' > /dev/null ; then | |
| echo 'OK' > /dev/null | |
| else | |
| echo "This is not number. Please try agein." |
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
| net.ipv4.ip_forward = 1 | |
| net.ipv4.conf.all.send_redirects = 0 | |
| net.ipv4.conf.default.send_redirects = 0 | |
| net.ipv4.conf.eth0.send_redirects = 0 | |
| net.ipv4.conf.lo.send_redirects = 0 | |
| net.ipv4.conf.all.accept_redirects = 0 | |
| net.ipv4.conf.default.accept_redirects = 0 | |
| net.ipv4.conf.eth0.accept_redirects = 0 | |
| net.ipv4.conf.lo.accept_redirects = 0 | |
| net.ipv4.tcp_fastopen = 0x403 |
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
| GRUB_DEFAULT=0 | |
| GRUB_HIDDEN_TIMEOUT=0 | |
| GRUB_HIDDEN_TIMEOUT_QUIET=true | |
| GRUB_TIMEOUT=0 | |
| GRUB_DISTRIBUTOR=`lsb_release -i -s 2> /dev/null || echo Debian` | |
| GRUB_CMDLINE_LINUX_DEFAULT="quiet text profile nosoftlockup nohz=off highres=off intel_idle.max_cstate=0 processor.max_cstate=0 cgroup_disable=memory nmi_watchdog=0 divider=4 mce=ignore_ce console=tty1 console=ttyS0,115200n8r" | |
| GRUB_CMDLINE_LINUX="" | |
| GRUB_SERIAL_COMMAND="serial --unit=0 --speed=115200 --word=8 --parity=no --stop=1" | |
| GRUB_TERMINAL_INPUT="serial console" |
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
| server { | |
| listen 80 default; | |
| server_name _; | |
| root /path/to/your/root/directory; | |
| index index.html index.htm; | |
| charset utf-8; | |
| access_log /var/log/nginx/domain.access.log main; | |
| error_log /var/log/nginx/domain.error.log; |
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
| server { | |
| listen unix:/var/run/nginx-backend.sock default; | |
| server_name _; | |
| root /path/to/your/root/directory; | |
| index index.php index.html; | |
| access_log /var/log/nginx/domain.backend.access.log backend; | |
| keepalive_timeout 25; | |
| port_in_redirect off; |
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
| user nginx; | |
| worker_processes 3; | |
| worker_cpu_affinity 001 010 100; | |
| error_log /var/log/nginx/default.error.log warn; | |
| pid /var/run/srv-nginx.pid; | |
| worker_rlimit_nofile 10240; | |
| events { | |
| worker_connections 5120; | |
| use epoll; |
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
| [mysqld_safe] | |
| socket = /var/run/mysqld/mysqld.sock | |
| nice = -12 | |
| [mysqld] | |
| skip-external-locking | |
| sql-mode="NO_ENGINE_SUBSTITUTION" | |
| symbolic-links=0 | |
| character-set-server = utf8 | |
| skip-character-set-client-handshake |
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
| <?php | |
| /** | |
| * FizzBuzz Lib is a Garbage(Gomi,53) | |
| * | |
| * @package LibFizzBuzz | |
| * @author Fukuda Takuro | |
| * @since PHP 5.5 | |
| * @version 1.0 | |
| */ | |
| class FizzBuzz { |
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
| <?php | |
| /* Thanks: Many Website & Developer | |
| BEGIN of Net-SSH2 */ | |
| define('NET_SSH2_MASK_CONSTRUCTOR', 0x00000001); define('NET_SSH2_MASK_CONNECTED', 0x00000002); define('NET_SSH2_MASK_LOGIN_REQ', 0x00000004); define('NET_SSH2_MASK_LOGIN', 0x00000008); define('NET_SSH2_MASK_SHELL', 0x00000010); define('NET_SSH2_MASK_WINDOW_ADJUST', 0x00000020); define('NET_SSH2_CHANNEL_EXEC', 0); define('NET_SSH2_CHANNEL_SHELL', 1); define('NET_SSH2_CHANNEL_SUBSYSTEM', 2); define('NET_SSH2_LOG_SIMPLE', 1); define('NET_SSH2_LOG_COMPLEX', 2); define('NET_SSH2_LOG_REALTIME', 3); define('NET_SSH2_LOG_REALTIME_FILE', 4); define('NET_SSH2_READ_SIMPLE', 1); define('NET_SSH2_READ_REGEX', 2); define('NET_SSH2_LOG_MAX_SIZE', 1024 * 1024); class Net_SSH2 { var $identifier; var $fsock; var $bitmap = 0; var $errors = array(); var $server_identifier = false; var $kex_algorithms = false; var $server_host_key_algorithms = false; var $encryption_algorithms_client_to_server = false; var $encryption_algorithms_server_to_client = false; var $mac_alg |