Skip to content

Instantly share code, notes, and snippets.

[client]
default-character-set = utf8
[mysqld]
character-set-server = utf8
skip-character-set-client-handshak
@GavinFoo
GavinFoo / gist:d1e20aa25a17d0124248
Created October 18, 2015 15:22
Install Nginx, PHP-FPM, MySQL and phpMyAdmin on OS X
## http://blog.frd.mn/install-nginx-php-fpm-mysql-and-phpmyadmin-on-os-x-mavericks-using-homebrew/
@GavinFoo
GavinFoo / openvpn
Last active July 28, 2017 03:08
OpenVPN
======= 参考教程 =======
http://docs.ucloud.cn/software/vpn/OpenVPN4CentOS.html
http://nmshuishui.blog.51cto.com/1850554/1544212
http://www.cnblogs.com/electron/p/3488033.html
http://www.vpndp.com/ios-openvpn-settings-tutorial/ iPhone
1、安装openvpn
首先安装依赖库
@GavinFoo
GavinFoo / openwrtwithss
Last active August 29, 2015 14:09
OpenWrt 安装流程
# tftp 刷机
# 只连接WAN口旁边的LAN口
192.168.1.2 | 255.255.255.0 | 192.168.1.1
route print
netsh interface ipv4 add neighbors 3 192.168.11.1 02-AA-BB-CC-DD-1A
# 背面灯全部闪烁后 LAN口第一次闪烁后立即执行
tftp -i 192.168.11.1 PUT openwrt-ar71xx-generic-wzr-hp-g300nh2-squashfs-tftp.bin
# 等待5-10分钟