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
#!/usr/bin/env python3 | |
### Configuration ################################################ | |
CLIEN_USERID = 'XXXXXXXX' | |
CLIEN_PASSWD = 'XXXXXXXX' | |
TELEGRAM_TOKEN = '000000000:XXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXX' | |
TELEGRAM_CHAT_ID = '000000000' | |
### End of Configuration ######################################### | |
import argparse |
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 | |
## THIS IS THE OLD WAY | |
## Nowadays, simply follow the Compose installation instructions in the official documentation: | |
## https://docs.docker.com/compose/install/ | |
# get latest docker compose released tag | |
COMPOSE_VERSION=$(curl -s https://api.github.com/repos/docker/compose/releases/latest | grep 'tag_name' | cut -d\" -f4) |
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
<?php | |
/** | |
* CloudFlare 사용시 실제 방문자 IP 및 SSL 사용 여부를 | |
* 정확하게 파악하지 못하는 문제를 해결하는 클래스 | |
* 웹서버에 mod_cloudflare를 설치하기 곤란한 경우 사용한다 | |
* | |
* Written by 기진곰 <kijin@kijinsung.com> | |
* License: Public Domain | |
* |