opkg update
opkg install kmod-usb-serial kmod-usb-serial-wwan kmod-usb-serial-option usb-modeswitch smstools3 curl iconv
vi /usr/local/bin/pushsms
#!/bin/sh
opkg update
opkg install kmod-usb-serial kmod-usb-serial-wwan kmod-usb-serial-option usb-modeswitch smstools3 curl iconv
vi /usr/local/bin/pushsms
#!/bin/sh
[ | |
"https://gq3brsw46hyrns0w4hjiqhtab8e9q24h93g8estrbgwt4h5h0triosgb80wt.wordpress.com/2016/10/26/%e9%95%bf%e5%b9%b3-%e4%bb%8e%e4%b8%a5%e6%b2%bb%e5%85%9a-%e5%94%af%e6%9c%89%e4%b8%89%e6%9d%83%e5%88%86%e7%ab%8b%e5%be%b7%e5%9b%bd%e4%b9%8b%e5%a3%b0%e4%b8%ad%e6%96%87%e7%bd%91/?from=groupmessage&isappinstalled=0", | |
"https://www.evernote.com/shard/s596/sh/b273afd0-4564-40f2-b81f-57ac23c3b61b/4e2b83c48886db7c1b2c5537d2483a99", | |
"https://won528.wordpress.com", | |
"http://url.cn/28ucN6a", | |
"https://win358.wordpress.com", | |
"https://red6451.wordpress.com", | |
"https://get510.wordpress.com", | |
"https://sit222.wordpress.com", | |
" http://alturl.com/9w4aq", |
Our goal here is to have one USB stick to rule them all. Objectives:
The last bullet is subject to interpretation, but I'm defining functional as:
//wearversion | |
//wearlog | |
//wearvoiceinputenable | |
//wearvoiceinputdisable | |
//weargoogleapi | |
//assert | |
//pushassert | |
//uplog | |
//upcrash | |
//switchnotificationstatus |
## Backup the current vps 备份当前vps | |
1. Clean Arch system 清理系统 | |
pacman -Scc | |
2. Create an excluded file to exclude certain dirs 建立一个需要排除的目录的文件,这些文件不必要备份,新系统会自动生成 | |
cat /root/backup/exclude.txt | |
/tmp/* | |
/root/backup/* | |
/proc | |
/dev |
#! /bin/bash | |
# Set the default policies to allow everything while we set up new rules. | |
# Prevents cutting yourself off when running from remote SSH. | |
iptables -P INPUT ACCEPT | |
iptables -P FORWARD ACCEPT | |
iptables -P OUTPUT ACCEPT | |
# Flush any existing rules, leaving just the defaults | |
iptables -F |
########################################### | |
# IMPORTANT NOTE: | |
# | |
# As of asuswrt-merlin 380.67 Beta, you | |
# can now configure SSL certificates from | |
# the Webui, making these instructions | |
# unnecessary. | |
########################################### | |
/* Default (OS X).sublime-keymap */ | |
/* Key Bindings - User */ | |
[ | |
{ "keys": ["ctrl+shift+."], "command": "erb", "context": | |
[ | |
{ | |
"key": "selector", | |
"operator": "equal", | |
"operand": "text.html.ruby, text.haml, source.yaml, source.css, source.scss, source.js, source.coffee" | |
} |