##Netgear R7000 and DD-WRT
Broadcom SoC based Hardware <<--- READ ALL THE THINGS
| #!/bin/sh | |
| # | |
| # !!! IMPORTANT !!! | |
| # As of 2017-12-14, pacaur is unmaintained (https://bbs.archlinux.org/viewtopic.php?pid=1755144#p1755144) | |
| # For alternatives see the arch wiki: https://wiki.archlinux.org/index.php/AUR_helpers#Active | |
| # pacaur seems to get occasional updates to fix breaking changes due to pacman updates though. | |
| # | |
| # If you are new to arch, I encourage you to at least read and understand what | |
| # this script does befor blindley running it. | |
| # That's why I didn't make a one-liner out of it so you have an easier time |
| <?xml version="1.0" encoding="UTF-8"?> | |
| <!DOCTYPE plist PUBLIC "-//Apple Computer//DTD PLIST 1.0//EN" "http://www.apple.com/DTDs/PropertyList-1.0.dtd"> | |
| <plist version="1.0"> | |
| <dict> | |
| <key>Label</key> | |
| <string>com.shadowsocks.chinadns</string> | |
| <key>ProgramArguments</key> | |
| <array> | |
| <string>/usr/local/bin/chinadns</string> | |
| <string>-c</string> |
| // ==UserScript== | |
| // @name 百度网盘aria2导出工具 | |
| // @author acgotaku311 | |
| // @description 一个方便吧百度网盘的Aria2rpc导出的脚本。 | |
| // @encoding utf-8 | |
| // @include http://*n.baidu.com/s/* | |
| // @include http://*n.baidu.com/disk/home* | |
| // @include http://*n.baidu.com/share/link* | |
| // @include https://*n.baidu.com/s/* | |
| // @include https://*n.baidu.com/disk/home* |
##Netgear R7000 and DD-WRT
Broadcom SoC based Hardware <<--- READ ALL THE THINGS
参考了以下两篇文献: http://blog.ch3n2k.com/2013/09/openwrt.html http://www.right.com.cn/forum/thread-128967-1-1.html
tomato路由器上已经成功部署,并且一直很稳定,openwrt的部署步骤是我按照上面的两篇文献以及tomato上的部署经验写的,但我没有真正搭建过。下面是详细的解决方案:
#一、tomato路由器
1、设置好jffs和ipkg安装环境;把附件中的geoip压缩包的内容放入/opt/etc/geoip(或者/jffs/opt/etc/geoip)目录下。
2、在系统管理——脚本设置——wan连线中输入以下内容:
| # luna_pinyin.custom.yaml | |
| # | |
| # 在【朙月拼音】裏使用Emoji表情 | |
| # | |
| # 保存到Rime用戶文件夾後,重新部署生效 | |
| # ~/.config/ibus/rime (linux) | |
| # ~/Library/Rime (macos) | |
| # %APPDATA%\Rime (windows) | |
| # | |
| # 如果目標文件已經包含其他修改內容,只需按照縮進合併 patch: 以下的部分 |
| # luna_pinyin.custom.yaml | |
| # 修改字典名爲 luna_pinyin.kunki | |
| # 其對應的用戶詞典名取句點之前部分即 luna_pinyin | |
| patch: | |
| translator/dictionary: luna_pinyin.kunki |
| require 'rubygems' | |
| require 'chinese_pinyin' | |
| name = [] | |
| cp = false | |
| def p(z) | |
| pinyin = Pinyin.t(z, '') | |
| pinyin[0] = pinyin[0].upcase | |
| pinyin |
| # luna_pinyin.custom.yaml | |
| # | |
| # 在【朙月拼音】裏使用Emoji表情(這份配置已過時,新的emoji實現代碼在 https://github.com/rime/rime-emoji ) | |
| # | |
| # 保存到Rime用戶文件夾後,重新部署生效 | |
| # ~/.config/ibus/rime (linux) | |
| # ~/Library/Rime (macos) | |
| # %APPDATA%\Rime (windows) | |
| # | |
| # 如果目標文件已經包含其他修改內容,只需按照縮進合併 patch: 以下的部分 |
| #!/usr/bin/env sh | |
| ## | |
| # This is script with usefull tips taken from: | |
| # https://github.com/mathiasbynens/dotfiles/blob/master/.osx | |
| # | |
| # install it: | |
| # curl -sL https://raw.github.com/gist/2108403/hack.sh | sh | |
| # |