音乐

统计字数

2020-12-03486前端/nodejs

通过id获取文章内容,再把字数通过js写入 <script> {#计算字数#} var len_text = $("#article_content").text().replace(/\s*/g, "").length; $("#len_text").app...

阅读全文 »

Windows 10 LTSC 轻松激活教程

2020-12-02940Windows

Windows 10/11 LTSC  正式版激活和评估版转正式版 1.方法一: 下载hwidgen ,选择kms38激活 2.方法二: 目前微软已推出 Windows 10 LTSC 2019 正式版并提供镜像下载, 有兴趣的用户可点击这里下载镜像文件。 长期支持版或...

阅读全文 »

arduino 的python控制小车实践探索

2020-11-26448嵌入式/硬件

python控制小车 python控制小车代码1  1. arduino 代码 vim car.ino 1.控制小车+超声波测距 电源一个gnd,一个A0, 一个EchoPinA1,一个TrigPinA2 int enA = 11; int in1 = 7; i...

阅读全文 »

arduino基础代码学习

2020-11-26550嵌入式/硬件

1.逻辑控制 按钮按下灯亮,松开灯灭,连接gnd和2号引脚, /* Input Pull-up Serial This example demonstrates the use of pinMode(INPUT_PULLUP). It reads a digital input ...

阅读全文 »

作文默写

2020-11-23776学习/其他

1.传统文化(picture, graph,) 第一段 Traditional Chinese culture such as martial arts, Pecking opera, calligraphy and tea culture have long been the commo...

阅读全文 »

js获取浏览器滚动条距离顶端的距离

2020-11-20493前端/nodejs

jquery 获取滚动条高度 获取浏览器显示区域(可视区域)的高度 : $(window).height(); 获取浏览器显示区域(可视区域)的宽度 : $(window).width(); 获取页面的文档高度 $(document).height(); 获...

阅读全文 »

c++ adb探索

2020-11-19621c/c++

#include<iostream> #include<regex>//正则表达式 #include<fstream> #include <windows.h> using namespace std; #include<vector> ...

阅读全文 »

adb命令

2020-11-18849python

1.获取屏幕源码 方法一: adb shell uiautomator dump --compressed /data/local/tmp/uidump.xml c++读取源码,python可以不用保存txt system("adb shell cat /data/local/tmp/...

阅读全文 »

c++正则表达式

2020-11-17593c/c++

正则程序库(regex) 「正则表达式」就是一套表示规则的式子,专门用来处理各种复杂的操作。 std::regex是C++用来表示「正则表达式」(regular expression)的库,于C++11加入,它是class std::basic_regex<>针对char类型的一个特...

阅读全文 »

时间相关

2020-11-14556前端/nodejs

1.用JS实现实时显示系统时间  效果图 <!DOCTYPE html> <html lang="en"> <head> <meta charset="UTF-8"> <title>JS时间</title> ...

阅读全文 »
478 篇 · 第 33 / 48