访问WR703N在OpenWrt的[Wiki页][wr703n-openwrt],然后在Flashing一节中找到下载链接:[squashfs-factory.bin][flash.bin],下载后别忘了[比对md5][md5sum]。[1]
进入路由器管理界面,出厂配置为http://192.168.1.1,用户名和密码均为admin,然后进入固件更新,选择下载的文件,然后更新。
| #!/usr/bin/env python | |
| """Simple HTTP Server With Upload. | |
| This module builds on BaseHTTPServer by implementing the standard GET | |
| and HEAD requests in a fairly straightforward manner. | |
| """ |
| # remove | |
| /usr/libexec/PlistBuddy -c 'Add :LSUIElement bool true' /Applications/iTerm.app/Contents/Info.plist | |
| # restore | |
| /usr/libexec/PlistBuddy -c 'Delete :LSUIElement' /Applications/iTerm.app/Contents/Info.plist |
It's actually really straightforward. Take 1 minute and read this.
You declare this per-file or per-function to tell your transpiler (eg: Babel) the name of a function that should be called (at runtime) for each node.
| #!/bin/bash | |
| command -v kdeconnect-cli >/dev/null 2>&1 || { echo >&2 "kdeconnect is not installed. Aborting."; exit 1; } | |
| if [ $# -eq 0 ]; then | |
| echo "Usage: $0 <message>" | |
| exit 1 | |
| fi | |
| device=`kdeconnect-cli -a --id-only 2>/dev/null | head` |
| package com.sam016.vsflatomation.service.ble; | |
| import java.util.HashMap; | |
| import java.util.UUID; | |
| public class AllGattCharacteristics { | |
| private static HashMap<String, String> attributes = new HashMap(); | |
| static { | |
| attributes.put("00002a00-0000-1000-8000-00805f9b34fb", "Device Name"); |
| const echarts = require("echarts"); | |
| const Canvas = require('canvas'); | |
| const {JSDOM} = require('jsdom'); | |
| const fs = require('fs'); | |
| echarts.setCanvasCreator(() => { | |
| return new Canvas(100, 100); | |
| }); | |
| const {window} = new JSDOM(); | |
| global.window = window; |
| import android.content.Context | |
| import android.content.Intent | |
| import android.content.IntentFilter | |
| import androidx.lifecycle.Lifecycle.Event.ON_DESTROY | |
| import androidx.lifecycle.Lifecycle.Event.ON_START | |
| import androidx.lifecycle.LifecycleObserver | |
| import androidx.lifecycle.LifecycleOwner | |
| import androidx.lifecycle.OnLifecycleEvent | |
| import android.content.BroadcastReceiver as StockReceiver |
| package glureau.frameradar | |
| import android.content.Context | |
| import android.graphics.Canvas | |
| import android.graphics.Color | |
| import android.graphics.Paint | |
| import android.util.AttributeSet | |
| import android.view.View | |
| import java.util.* |
| import subprocess | |
| import os | |
| import operator | |
| import argparse | |
| from json import loads | |
| class Position: | |
| def __init__(self, x, y): | |
| self.x = x | |
| self.y = y |