访问WR703N在OpenWrt的[Wiki页][wr703n-openwrt],然后在Flashing一节中找到下载链接:[squashfs-factory.bin][flash.bin],下载后别忘了[比对md5][md5sum]。[1]
进入路由器管理界面,出厂配置为http://192.168.1.1,用户名和密码均为admin,然后进入固件更新,选择下载的文件,然后更新。
| function refreshData() | |
| { | |
| x = 5; // 5 Seconds | |
| // Do your thing here | |
| setTimeout(refreshData, x*1000); | |
| } | |
| #!/usr/bin/env python | |
| # -*- coding: utf-8 -*- | |
| # 此脚本不再更新, 毕竟要依赖第三方pycurl库. | |
| # 重写的脚本不再依赖非标准库, 感兴趣的见: https://github.com/isayme/v2ex | |
| import sys | |
| import string | |
| try: | |
| import pycurl2 as pycurl |
| #!/usr/bin/env python | |
| # -*- coding: utf-8 -*- | |
| ''' | |
| File: xiami.py | |
| Author: Luigi Fan | |
| Description: Auto check-in script for xiami. | |
| ''' | |
| import requests | |
| import re |
| #!/usr/bin/ruby | |
| # encoding: utf-8 | |
| # | |
| # Grab iTunes Icon - Brett Terpstra 2014 <http://brettterpstra.com> | |
| # | |
| # Retrieve an iOS app icon at the highest available resolution | |
| # All arguments are combined to create an iTunes search | |
| # The icon for the first result, if found, is written to a filename based on search terms | |
| # | |
| # example: |
| from selenium import webdriver | |
| driver = webdriver.Firefox() | |
| driver.get('https://www.facebook.com/') | |
| with open('jquery-1.9.1.min.js', 'r') as jquery_js: | |
| jquery = jquery_js.read() #read the jquery from a file | |
| driver.execute_script(jquery) #active the jquery lib | |
| driver.execute_script("$('#email').text('anhld')") |
| // Open Fiddler and Choose "Rules" menu, click "Customize Rules..." and add this code to CustomRule.js | |
| class Handlers | |
| { | |
| // .... | |
| public static RulesOption("Hide CSS") | |
| BindPref("fiddlerscript.rules.HideCSS") | |
| var m_HideCSS: boolean = false; | |
| // .... | |
| static function OnBeforeResponse(oSession: Session) { |
| # -*- coding: utf-8 -*- | |
| # | |
| # Author: oldj | |
| # Email: [email protected] | |
| # Blog: http://oldj.net | |
| # | |
| import os | |
| import re | |
| import StringIO |