Skip to content

Instantly share code, notes, and snippets.

View qinmenghua's full-sized avatar

AlexQin qinmenghua

View GitHub Profile
@qinmenghua
qinmenghua / steam.sh
Last active November 18, 2019 03:04 — forked from vcheckzen/steam.sh
ArchiSteamFarm Installer
#!/usr/bin/env bash
# NETWORK
PROXY="$1"
# COLOR SCHEMA
COLOR_HINT=36m
COLOR_WARNING=31m
# DIRECTORY
@qinmenghua
qinmenghua / keybase.md
Created September 16, 2019 01:41
keybase.md

Keybase proof

I hereby claim:

  • I am qinmenghua on github.
  • I am awyme (https://keybase.io/awyme) on keybase.
  • I have a public key ASDSxJX1Vxbkzq3w7ppasP3et7F9vHHmy6O-n81aTz3hvgo

To claim this, I am signing this object:

@qinmenghua
qinmenghua / nianfo.py
Created November 1, 2018 14:03
TudouCode Demo in Python 3. 与佛论禅 Python 3 版 Demo(源码参见 https://github.com/lersh/TudouCode/ )。
# !/usr/bin/env python3
#
# nianfo.py - TudouCode Demo in Python 3
# Credit: https://github.com/lersh/TudouCode/
#
# Note:
#
# This is the first version('佛曰') of TudouCode('与佛论禅').
# The second version('如是我闻') needs compression and I can't debug.
#
@qinmenghua
qinmenghua / HZ-DA
Created October 24, 2018 09:36
合正DA屏
http://www.gpshk.cc/thread-422184-1-1.html
=== ALL
1 C0028 C0028-B7K10-3521J0N 2015年春季版 进入资源 路畅(D2280HA)MIPS专版
2 C0030 C0030-D5N04-3521J0N 2015年春季版 进入资源 路畅模拟屏A2270/A2265-MIPS二合一
3 C0031 C0031-D5N04-3521J0N 2015年春季版 进入资源 路畅模拟屏A2270/A2265-MIPS二合一
4 C0039 C0039-D5N04-3521J0N 2015年春季版 进入资源 路畅模拟屏(A2265R/A2270TP)二合一
5 C0268 C0268-D5J04-3421J0M 2014年冬季版 进入资源 凯越路特仕RTS-1622普清
6 C0288 C0288-D5N04-3521J0N 2015年春季版 进入资源 佳艺田普清专版
7 C0354 C0354-D5L01-3221J0K 2014年夏季版 进入资源 科维嘉铭仁普清
@qinmenghua
qinmenghua / wordpress-w3tc-site.conf
Created November 12, 2015 07:15 — forked from elivz/wordpress-w3tc-site.conf
Nginx configuration for WordPress with W3 Total Cache plugin. See http://elivz.com/blog/single/wordpress_with_w3tc_on_nginx/
server {
# Redirect yoursite.com to www.yoursite.com
server_name yoursite.com;
rewrite ^(.*) http://www.yoursite.com$1 permanent;
}
server {
# Tell nginx to handle requests for the www.yoursite.com domain
server_name www.yoursite.com;
/* <<小牆>> Anti-Spam v1.82 by Willin Kan. 2010/12/16 最新修改 */
//建立
class anti_spam {
function anti_spam() {
if ( !current_user_can('level_0') ) {
add_action('template_redirect', array($this, 'w_tb'), 1);
add_action('init', array($this, 'gate'), 1);
add_action('preprocess_comment', array($this, 'sink'), 1);
}
}