Skip to content

Instantly share code, notes, and snippets.

{
"highlight_line": true,
"ignored_packages":
[
"Vintage"
],
"tab_size": 4,
"theme": "Soda Dark 3.sublime-theme",
"word_wrap": false
}
@Wind4
Wind4 / transmission.md
Last active August 29, 2015 14:17
Centos7安装transmission
@Wind4
Wind4 / vpn.sh
Last active August 29, 2015 14:17
#!/bin/bash
#
# Author: yeho <lj2007331 AT gmail.com>
# Blog: http://blog.linuxeye.com
#
# Installs a PPTP VPN-only system for CentOS
# Check if user is root
[ $(id -u) != "0" ] && echo "Error: You must be root to run this script" && exit 1
#!/bin/bash
#
# Author: Wind4 (puxiaping@gmail.com)
#
# Installs a shadowsocks-libev server for CentOS 6/7
set -e
# declare
WORK_DIR=/tmp/shadowsocks-libev

WNDR4300

1.關機狀態下,按住Reset

2.接通電源,等待電源燈閃爍的時候,鬆開Reset

>3.通過TFPT傳送固件

#!/bin/bash
#
# vlmcsd - this script starts and stops the vlmcsd-server daemon
#
# Run level information:
# chkconfig: 2345 99 99
# description: KMS Emulator in C
# processname: vlmcsd
# Source function library
# sniproxy example configuration file
# lines that start with # are comments
# lines with only white space are ignored
user daemon
# PID file
pidfile /var/run/sniproxy.pid
error_log {
/*!
* jQuery throttle / debounce - v1.1 - 3/7/2010
* http://benalman.com/projects/jquery-throttle-debounce-plugin/
*
* Copyright (c) 2010 "Cowboy" Ben Alman
* Dual licensed under the MIT and GPL licenses.
* http://benalman.com/about/license/
*/
// Script: jQuery throttle / debounce: Sometimes, less is more!
@Wind4
Wind4 / nginx.conf
Last active September 2, 2015 07:59
server {
listen 80;
listen 443 ssl;
server_name example.com;
if ($server_port = 80) {
return 301 https://$server_name$request_uri;
}
if ($scheme = http) {
return 301 https://$server_name$request_uri;
@Wind4
Wind4 / colunm.sql
Created December 13, 2014 06:45
SQLSERVER查询表名、字段名,注释
SELECT
TABLE_CATALOG AS [Database],
TABLE_SCHEMA AS Owner,
TABLE_NAME AS TableName,
COLUMN_NAME AS ColumnName,
ORDINAL_POSITION AS OrdinalPosition,
COLUMN_DEFAULT AS DefaultSetting,
IS_NULLABLE AS IsNullable, DATA_TYPE AS DataType,
CHARACTER_MAXIMUM_LENGTH AS MaxLength,
DATETIME_PRECISION AS DatePrecision,