github链接替换bgithub

// ==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

https://github.com/espressif/idf-eclipse-plugin/releases/tag/v3.0.0

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.zip

Espressif 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 近期计划

课程Link状态
1多任务点灯https://wokwi.com/projects/332576245745189459
2任务传单个参数https://wokwi.com/projects/332592742088573523
3任务传多个参数https://wokwi.com/projects/332592846800421460
4任务共享全局变量
(Mutex)
https://wokwi.com/projects/332775429610930771
https://wokwi.com/projects/332774646706340434
https://wokwi.com/projects/333321518201176660
5任务共享全局变量范例:
MPU6050的范例(Mutex)
https://wokwi.com/projects/333400924498166356
6ESP32调用双核https://wokwi.com/projects/332781692755378770
7OLED使用(U8G2)https://wokwi.com/projects/333530915200303699
https://wokwi.com/projects/333531171930505812
8任务以绝对频率运行
(非delay)
https://wokwi.com/projects/332800954606813778
9软件实现定时器https://wokwi.com/projects/332694783525913170
10任务内存优化https://wokwi.com/projects/332861221011194451
11任务管理https://wokwi.com/projects/332867530330735188
12任务优先级https://wokwi.com/projects/332897591021797971
13看门狗https://wokwi.com/projects/332908701973217874
14队列单种数据https://wokwi.com/projects/332949416352678483
15队列多种数据https://wokwi.com/projects/332962439743144532
16二进制信号量https://wokwi.com/projects/333329727055987284
https://wokwi.com/projects/333326585319916115
17计数信号量https://wokwi.com/projects/333334798031389268
18事件标志组 等待https://wokwi.com/projects/333436492452987474
19事件标志组 同步https://wokwi.com/projects/333430026744627794
https://wokwi.com/projects/333434840649040467
20流媒体缓存https://wokwi.com/projects/333517009995170388
21消息缓存https://wokwi.com/projects/333516293979243090
22直接任务通知https://wokwi.com/projects/333873319460733522
https://wokwi.com/projects/333858852553359956
23任务通知取代信号量https://wokwi.com/projects/333875268246569554
24任务通知取代事件组https://wokwi.com/projects/335127321868501588
25直接任务当做邮箱
 mailbox
https://wokwi.com/projects/333892108858425938

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传输