一.选择器 1.基本 名称 用法 描述 #id $("#myDiv"); 根据给定的ID匹配一个元素 element $("div"); 根据给定的元素标签名匹配所有元素 .class $(".myClass"); 根据给定的css类名匹配元素 * $("*") 匹配所有元素 selector1,s ...
分类:
Web程序 时间:
2021-04-20 15:07:11
阅读次数:
0
参考ColorComboBox做修改,并对颜色名做些修正,用于CR MVMixer产品中,聊作备忘~ 效果图: 代码: //颜色拾取框 using System; using System.ComponentModel; using System.Drawing; using System.Wind ...
写一个符合 Promise A+ 规范的 Promise 类型定义 // MyPromise.ts type resType = (value?: any) => void; type rejType = (reason?: any) => void; type executorType = (re ...
分类:
其他好文 时间:
2021-04-20 14:26:37
阅读次数:
0
分为在线应用和下载到本地应用两种; 在线应用更好用; 用法 阿里图库登录成功后,将所需图标添加到购物车,然后点击购物车,添加到项目 点击生成在线图标 将链接加上‘http:',用link标签引入到html;如果用@import 语法,可以不用补,会自动加 ...
分类:
其他好文 时间:
2021-04-20 14:10:24
阅读次数:
0
Makefile常用万能模板(包括静态链接库、动态链接库、可执行文件) 本文把makefile 分成了三份:生成可执行文件的makefile,生成静态链接库的makefile,生成动态链接库的makefile。 这些makefile都很简单,一般都是一看就会用,用法也很容易,只需要把它们拷贝到你的代 ...
分类:
其他好文 时间:
2021-04-20 14:07:04
阅读次数:
0
string 容器 常见用法 string s1 = "Hello" string s2("Hello") string s3(s2) string s4 = s3 getline(cin,s)// 从cin中读取一行给s s.empty()// 空?true:false; s.size()//返回 ...
分类:
其他好文 时间:
2021-04-19 15:53:19
阅读次数:
0
Ubuntu 20.04 更换阿里源 sudo cd /etc/apt/sources.list /etc/apt/sources.list.b // 备份原始文件 sudo chmod 777 /etc/apt/sources.list // 修改文件权限 sudo vi /etc/apt/sou ...
分类:
系统相关 时间:
2021-04-19 15:25:14
阅读次数:
0
mysql开启命令行日志(可以记录source等的日志) mysql> tee hello.log mysql>select now() ; mysql>exit; //退出mysql 客户端 查看 hello.log 文件内容如下: mysql> select now(); 用法如下: Step ...
分类:
数据库 时间:
2021-04-19 15:24:58
阅读次数:
0
import numpy as np a = np.array([i for i in range(5)]) b = np.array([i for i in range(5, 10)]) print('a:', a) print('b:', b) c = np.stack([a,b], axis= ...
分类:
编程语言 时间:
2021-04-16 12:25:35
阅读次数:
0
merge函数的作用是:将两个已经排好序的序列合并为一个有序的序列。 函数参数:merge(first1,last1,first2,last2,result,compare); firs1t为第一个容器的首迭代器,last1为第一个容器的末迭代器; first2为第二个容器的首迭代器,last2为容 ...
分类:
其他好文 时间:
2021-04-16 11:46:46
阅读次数:
0