- 确定 的功能一定编译进内核
- 可能 的功能编译为模块
- 不确定 的功能保留默认值,或编译为模组
- 选择 双号 版本内核,忽略 单号 内核
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
-- a quick LUA access script for nginx to check IP addresses against an | |
-- `ip_blacklist` set in Redis, and if a match is found send a HTTP 403. | |
-- | |
-- allows for a common blacklist to be shared between a bunch of nginx | |
-- web servers using a remote redis instance. lookups are cached for a | |
-- configurable period of time. | |
-- | |
-- block an ip: | |
-- redis-cli SADD ip_blacklist 10.1.1.1 | |
-- remove an ip: |
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
-- a quick LUA access script for nginx to check IP addresses against an | |
-- `ip_blacklist` set in Redis, and if a match is found send a HTTP 403. | |
-- | |
-- allows for a common blacklist to be shared between a bunch of nginx | |
-- web servers using a remote redis instance. lookups are cached for a | |
-- configurable period of time. | |
-- | |
-- block an ip: | |
-- redis-cli SADD ip_blacklist 10.1.1.1 | |
-- remove an ip: |
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
NetLimiter 3 | |
Registration name: Peter Raheli | |
Registration code: C99A2-QSSUD-2CSBG-TSRPN-A2BEB | |
NetLimiter 4 | |
Registration Name: Vladimir Putin #2 | |
Registration Code: XLEVD-PNASB-6A3BD-Z72GJ-SPAH7 | |
https://www.netlimiter.com/download | |
# Netlimiter Full Netlimiter Activated Netlimiter cracked Netlimiter Full Version Netlimiter Serial Netlimiter keygen Netlimiter crack Netlimiter 4 serial Netlimiter 4 Crack Netlimiter 4 register Netlimiter 4 patch Netlimiter full Full version Netlimiter 4 Activated Netlimiter 4 Cracked Netlimiter Pro |
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
wget -P /opt/src https://ftp.gnu.org/gnu/libc/glibc-2.14.tar.gz | |
cd /opt/src | |
tar -xzvf /opt/src/glibc-2.14.tar.gz | |
cd /opt/src/glibc-2.14 | |
mkdir build | |
cd build | |
../configure --prefix=/opt/glibc-2.14 | |
make -j4 | |
make -p /opt/opt/glibc-2.14 | |
touch /opt/opt/glibc-2.14/etc/ld.so.conf |
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
import os | |
from flask import Flask, request, redirect, url_for, send_from_directory | |
from werkzeug.utils import secure_filename | |
UPLOAD_FOLDER = '/tmp/flask-upload-test/' | |
ALLOWED_EXTENSIONS = set(['txt', 'pdf', 'png', 'jpg', 'jpeg', 'gif']) | |
app = Flask(__name__) | |
app.config['UPLOAD_FOLDER'] = UPLOAD_FOLDER |
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/sh | |
# FROM http://wiki.nginx.org/RedHatNginxInitScript \ | |
# AND MODIFIED | |
# nginx - this script starts and stops the nginx daemon | |
# | |
# chkconfig: 2345 85 15 | |
# description: Nginx is an HTTP(S) server, HTTP(S) reverse \ | |
# proxy and IMAP/POP3 proxy server | |
# processname: nginx | |
# config: /opt/nginx/conf/nginx.conf |
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
#Get links from website, demo. | |
#if there is no bs4, you should use the command to install it first | |
#pip install beautifulsoup4 | |
from bs4 import BeautifulSoup | |
import urllib2 | |
import re | |
html_page = urllib2.urlopen("http://arstechnica.com") | |
soup = BeautifulSoup(html_page,"html.parser") | |
for link in soup.findAll('a', attrs={'href': re.compile("^http://")}): |