Skip to content

Instantly share code, notes, and snippets.

x7 x7hub

Block or report user

Report or block x7hub

Hide content and notifications from this user.

Learn more about blocking users

Contact Support about this user’s behavior.

Learn more about reporting abuse

Report abuse
View GitHub Profile
@x7hub
x7hub / proxy.php
Created May 22, 2018
Redirect page based on cowboy/php-simple-proxy
View proxy.php
<?PHP
// Redirect page based on cowboy/php-simple-proxy
//
// License: php-simple-proxy
//
// Copyright (c) 2010 "Cowboy" Ben Alman,
// Dual licensed under the MIT and GPL licenses.
// http://benalman.com/about/license/
//
// ############################################################################
View authorized_keys
ssh-rsa AAAAB3NzaC1yc2EAAAADAQABAAABAQDA644fD3l3sttlfFYm3harvRBiZtO0GoSfcgQSCI8EdZ4EiJvRLP23XQI50sQNI0FEBdZZW5oXoEBiMXjxQ+0A/GyenjSKhbp2c7QDICN2WfJNlDB0scib6X8Dq/GaJUgE22J+wvBTKJrPctc8QCz2z3Ks0snik+UDDFYZ3eDa9Hq66QWn9p9RHtXNfQNqsHRswybSVMnf2mLa1fm7aKwJW5vf3xBTZenl/Tswzwy42/d7RnVPjUcw9gxMCTyP789u4lSJVA6gQawMKbt4A2YIoBQwBrsHbUF3LA6XKKjSCl6lBFjjbRJFV4mTt02w4EggIJia6EYVw83ql+b2ldKr commander@Commanders-MacBook-Pro.local
ssh-rsa AAAAB3NzaC1yc2EAAAADAQABAAABAQDyShsJmi/q4dcCfszibNbSVBQfAV0uKZsEs0F2cB53elNzUklcFlpf2S7yilI/MegcnwjqTdQL3B67b40twp1jyFFmZm5NiBCFBroo9OO7JM6k9Sj/gq0ovfmfOg5+5i5n1ztZ0lSO9+Qs8TGHK4iom9CI9AG6pB50GTrRJC8RfevygRpxfBqh5QXGYsFY0BObuCtIbxzUZC8tM9JsXWLsOFJohwzrQegOx5Ux1f1degMnI8dYTzS2moxUs5JJ9pRYBHFZJ7e9CdxAiU+jJawG0y1H2YO2MsMCZCzdPURhtRHzea9b78m7LzLchtGPuUBT4X288t7kv7hTONUZZ8TH zzz@sw-debian
ssh-rsa AAAAB3NzaC1yc2EAAAABIwAAAgEAsn7vgUYwbHY8Qofxfh3KMO8HtUIkSbYomhc+In1O2z2P6l/gt32W5YymLgXXchcJLJZ8/eTTY21kCWAKfJWGjEvljv3I+a45pdVsnpSQG8Fmr3TIlQYPIIcsGsGpFf3x+1audHFWgJeLYJp757AF0RUgvO/r1bzoTxrSuvZfiqivr
View centos5安装certbot
ca
python26
python26.devel
pip
pip setuptools upgrade
virtualenv
openssl101e
vim ~/.local/share/letsencrypt/lib/python2.6/site-packages/OpenSSL/SSL.py
nginx
View shadowsocks.dockerfile
FROM ubuntu:16.04
MAINTAINER x7hub "https://github.com/x7hub"
RUN apt-get update
RUN apt-get install -y python-pip
RUN pip install shadowsocks
ENTRYPOINT ["/usr/local/bin/ssserver"]
View ip6tables.rules
# Generated by ip6tables-save v1.4.21 on Tue May 17 02:20:20 2016
*nat
:PREROUTING ACCEPT [0:0]
:INPUT ACCEPT [0:0]
:OUTPUT ACCEPT [189:15677]
:POSTROUTING ACCEPT [189:15677]
COMMIT
# Completed on Tue May 17 02:20:20 2016
# Generated by ip6tables-save v1.4.21 on Tue May 17 02:20:20 2016
*filter
View emoji_string.php
<?php
/**
* json_encode function for non-standard string with 6byte emoji chars, like `\xed\xa0\xbd\xed\xb1\xa9`
*
* see https://github.com/amekkawi/diskusagereports/blob/master/scripts/inc/json_encode.php
*
*/
/**
You can’t perform that action at this time.