码迷,mamicode.com
首页 >  
搜索关键字:ber    ( 8683个结果
[python] python+selenium+webdriver
1. install python, set environment variables. 2. pip install selenium 3. 下载与自己浏览器版本匹配的chrome webdriver, 放到python.exe同目录(python安装目录)。 http://npm.taobao ...
分类:编程语言   时间:2020-06-04 14:02:48    阅读次数:547
Permissions 0644 for ‘/root/.ssh/id_rsa’ are too open处理
如果出现 Permissions 0644 for ‘/root/.ssh/id_rsa’ are too open. 等错误显示了,原来只要把权限降到0600就ok了输入命令 chmod 0600 /root/.ssh/id_rsa 1 然后就可以密钥登陆了 sftp -oPort=50022 x ...
分类:其他好文   时间:2020-06-04 13:36:27    阅读次数:57
【leetcode】1448. Count Good Nodes in Binary Tree
题目如下: Given a binary tree root, a node X in the tree is named good if in the path from root to X there are no nodes with a value greater than X. Retur ...
分类:其他好文   时间:2020-06-04 10:33:57    阅读次数:77
js中this指向
1、this概述 this是javascript语言的一个关键字,它代表函数运行时,自动生成的一个内部对象,只能在函数内部使用,随着函数使用场合的不同,this的值会发生变化,指向是不确定的,也就是说可以动态改变this的指向,但是有一个总的原则,就是this总是指向调用函数的那个对象。(this一 ...
分类:Web程序   时间:2020-06-03 20:19:53    阅读次数:266
Freemarker的基本语法
freeMarker实现字符串转数字,数字转字符串,布尔值转换为字符串-freeMarker-萨瓦迪卡 http://www.swzhinan.com/post/177.html Built-ins for strings - Apache FreeMarker Manual https://fre ...
分类:其他好文   时间:2020-06-03 17:41:48    阅读次数:75
交换两个变量的值
算数交换(针对的是Number,或者类型可以转换为数字的变量类型) function swap(a, b) { a = a + b; b = a - b; a = a - b; } 解构赋值 [a, b] = [b, a]; 最笨的方式声明第三变量就不写了 ...
分类:其他好文   时间:2020-06-03 17:12:29    阅读次数:61
C 常量
常量是固定值,在程序执行期间不会改变。这些固定的值,又叫做字面量。 常量可以是任何的基本数据类型,比如整数常量、浮点常量、字符常量,或字符串字面值,也有枚举常量。 常量就像是常规的变量,只不过常量的值在定义后不能进行修改。 整数常量 整数常量可以是十进制、八进制或十六进制的常量。前缀指定基数:0x ...
分类:其他好文   时间:2020-06-03 12:03:43    阅读次数:54
C 存储类
存储类定义 C 程序中变量/函数的范围(可见性)和生命周期。这些说明符放置在它们所修饰的类型之前。下面列出 C 程序中可用的存储类: auto register static extern auto 存储类 auto 存储类是所有局部变量默认的存储类。 { int mount; auto int m ...
分类:其他好文   时间:2020-06-03 11:56:15    阅读次数:77
线程 以及 thread类
1.多进程实现并发的socket # server.py?import socketfrom multiprocessing import Processdef chat(conn): while True: try: ret = conn.recv(1024).decode('utf-8') co ...
分类:编程语言   时间:2020-06-03 00:27:06    阅读次数:61
typeof与类型转换
##typeof六种数据类型 number、string、boolean、object、function、undefined typeof用于检测数据的类型,返回的是相应数据类型的字符串格式。 typeof(typeof(a)) 未经定义的变量在控制台中直接报错,not undefined。只有在t ...
分类:其他好文   时间:2020-06-02 22:56:11    阅读次数:67
8683条   上一页 1 ... 52 53 54 55 56 ... 869 下一页
© 2014 mamicode.com 版权所有  联系我们:gaon5@hotmail.com
迷上了代码!