Skip to content

Instantly share code, notes, and snippets.

View coderzh's full-sized avatar

coderzh coderzh

View GitHub Profile
@coderzh
coderzh / install_wifi_access_point.sh
Created December 9, 2015 02:58 — forked from dashohoxha/install_wifi_access_point.sh
How to setup a Wifi Access Point on Ubuntu 12.04 (or its derivatives).
#!/bin/bash
### Setup a wifi Access Point on Ubuntu 12.04 (or its derivatives).
### make sure that this script is executed from root
if [ $(whoami) != 'root' ]
then
echo "
This script should be executed as root or with sudo:
sudo $0
"
@coderzh
coderzh / duoshuo.conf
Last active December 11, 2016 03:22 — forked from liberize/duoshuo.py
多说实时邮件提醒脚本
[duoshuo]
short_name = your_short_name
secret = xxxxxxxxxxxxxxxxxxxxx
[email]
host = smtp.126.com
name = sendername
password = xxxxxxxx
to = receiver@xxx.com
from = sendername@126.com