project-folder/
.git
wp-admin/
wp-content/
wp-includes/
.htaccess
| import os | |
| import tempfile | |
| file_descriptor, file_path = tempfile.mkstemp(suffix='.tmp') | |
| # You can convert the low level file_descriptor to a normal open file using fdopen | |
| with os.fdopen(file_descriptor, 'w') as open_file: | |
| open_file.write('hello') |
| """ | |
| Implements a simple HTTP/1.0 Server | |
| """ | |
| import socket | |
| def handle_request(request): | |
| """Handles the HTTP request.""" |
| # coding: utf-8 | |
| # py2 origin author lrdcq | |
| # usage python3 unwxapkg.py filename | |
| __author__ = 'Integ: https://github.com./integ' | |
| import sys, os | |
| import struct | |
| class WxapkgFile(object): |
ๅฝๅ ไป Docker Hub ๆๅ้ๅๆๆถไผ้ๅฐๅฐ้พ๏ผๆญคๆถๅฏไปฅ้ ็ฝฎ้ๅๅ ้ๅจใ
Dockerized ๅฎ่ทต https://github.com/y0ngb1n/dockerized
ๅ่ Docker daemon ้ ็ฝฎไปฃ็
| #!/usr/bin/env python3 | |
| import socket | |
| import time | |
| import threading | |
| import signal | |
| import sys | |
| import os | |
| sending = None | |
| #!/bin/bash | |
| hash git 2>/dev/null || { echo >&2 "Required command 'git' is not installed. ( hmm... why are you using this? ) Aborting."; exit 1; } | |
| hash realpath 2>/dev/null || { echo >&2 "Required command 'realpath' is not installed. Aborting."; exit 1; } | |
| hash pwd 2>/dev/null || { echo >&2 "Required command 'pwd' is not installed. Aborting."; exit 1; } | |
| hash cd 2>/dev/null || { echo >&2 "Required command 'cd' is not installed. Aborting."; exit 1; } | |
| hash echo 2>/dev/null || { echo >&2 "Required command 'echo' is not installed. Aborting."; exit 1; } | |
| hash mv 2>/dev/null || { echo >&2 "Required command 'mv' is not installed. Aborting."; exit 1; } | |
| hash diff 2>/dev/null || { echo >&2 "Required command 'diff' is not installed. Aborting."; exit 1; } | |
| hash diffstat 2>/dev/null || { echo >&2 "Required command 'diffstat' is not installed. Aborting."; exit 1; } |