// ==UserScript==
// @name GITHUB_Change
// @namespace https://*/
// @version 0.1.0
// @description github.com 替换为 bgithub.xyz
// @author You
// @match *://*/*
// ==/UserScript==
(function() {
var links = document.getElementsByTagName('a');
for (var i = 0; i < links.length; i++) {
var c=links[i].getAttribute("href");
if(c){
e=c.replace("https://github.com/","https://bgithub.xyz/")
links[i].setAttribute("href",e);
}
}
})();// ==UserScript==
// @name GITHUB_Change
// @namespace https://*/
// @version 0.1.0
// @description github.com 替换为 bgithub.xyz
// @author You
// @match *://*/*
// ==/UserScript==
(function() {
var links = document.getElementsByTagName('a');
for (var i = 0; i < links.length; i++) {
var c=links[i].getAttribute("href");
if(c){
e=c.replace("https://github.com/","https://bgithub.xyz/")
links[i].setAttribute("href",e);
}
}
})();
esp-ide
1111111111111111
Installing IDF Plugins using the Update site URL:
https://dl.espressif.com/dl/idf-eclipse-plugin/updates/latest/Installing IDF Plugins using the local archive file:
https://dl.espressif.com/dl/idf-eclipse-plugin/updates/com.espressif.idf.update-3.0.0.zipEspressif IDE
https://dl.espressif.com/dl/idf-eclipse-plugin/ide/Espressif-IDE-macosx-cocoa-aarch64-v3.0.0.dmg
https://dl.espressif.com/dl/idf-eclipse-plugin/ide/Espressif-IDE-macosx-cocoa-x86_64-v3.0.0.dmg
https://dl.espressif.com/dl/idf-eclipse-plugin/ide/Espressif-IDE-3.0.0-win32.win32.x86_64.zip
https://dl.espressif.com/dl/idf-eclipse-plugin/ide/Espressif-IDE-3.0.0-linux.gtk.x86_64.tar.gz
MPY 一个按键控制
button=Pin(0,Pin.IN,Pin.PULL_UP)
def irq_button(pin):
time.sleep(0.3)
if button.value()==0:
#长按
print(11111)
else:
#断
print(77777)
print(pin)
button.irq(handler=irq_button,trigger=Pin.IRQ_FALLING)
ESP32 学习目录 FreeRTOS 近期计划
windows运维:BAT批处理 要点
变量设置与使用【变量必须由%包裹 且为字符串类型】
set name=LCK
echo %name%
数字变量赋值及运算 必须使用set /a
set /a a=123
赋值
set /a a=a+2
计算
for循环
for %%a in (aas,asda,123,sad) do (
echo %%a
)
每个关键词间必须有空格,且()可以省略
for 后多个参数
/d 文件夹目录 【(*ASD*) 包含ASD名称的文件夹】
/l 数字序列号 (开始,步长,结束)
/f 对文件内容进行处理 txt文件 必须为具体文件名 如 a.txt
/r 对其下面文件夹一起遍历 ,需要结合()【例如 (*.txt),txt后缀的文件】
findstr 查询字符串
if判断
——–
输入
set /p name=请输入您的名字
echo %name%
——-
打开文件夹 cd /d F:
删除 del
拷贝 copy
重命名 ren
文件夹创建 md
列出文件信息 dir
——-
pause 暂停
———-
文本信息截取(文件名)
———-
find查询
1.文件后缀 2.文件中间名称(模糊查询)3.文件的时间查询 4.对文件查询的结果进行再查询
————
对文档替换,或生成新文档
————
SMB传输
————-
FTP传输