Skip to content

Instantly share code, notes, and snippets.

Avatar
🎯
Focusing

WoosungChoi woosungchoi

🎯
Focusing
View GitHub Profile
@yoonbae81
yoonbae81 / clien.py
Last active Aug 31, 2020
클리앙 중고장터 모니터링
View clien.py
#!/usr/bin/env python3
### Configuration ################################################
CLIEN_USERID = 'XXXXXXXX'
CLIEN_PASSWD = 'XXXXXXXX'
TELEGRAM_TOKEN = '000000000:XXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXX'
TELEGRAM_CHAT_ID = '000000000'
### End of Configuration #########################################
import argparse
@deviantony
deviantony / install-latest-compose.sh
Last active Sep 27, 2022
Install latest version of Docker Compose
View install-latest-compose.sh
#!/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)
@kijin
kijin / fixcloudflare.php
Last active Nov 16, 2021
CloudFlare 사용시 실제 방문자 IP 및 SSL 사용 여부 파악
View fixcloudflare.php
<?php
/**
* CloudFlare 사용시 실제 방문자 IPSSL 사용 여부를
* 정확하게 파악하지 못하는 문제를 해결하는 클래스
* 웹서버에 mod_cloudflare를 설치하기 곤란한 경우 사용한다
*
* Written by 기진곰 <kijin@kijinsung.com>
* License: Public Domain
*