WebLinuxStudy

导航

 
上一页 1 2 3 4 5 6 7 8 9 ··· 20 下一页

2022年11月16日

摘要: function openUrlOnNewPage(url) { let a = document.createElement("a"); a.style = "display:none"; a.target = "_blank"; a.href = url; a.click(); document 阅读全文
posted @ 2022-11-16 10:48 WebLinuxStudy 阅读(222) 评论(0) 推荐(0)
 

2022年11月8日

摘要: 找到 nginx 的配置文件(可通过 ps -aux | grep nginx)nginx.conf ,然后找到网站对应的访问日志文件 access.log 位置,查看访问记录 阅读全文
posted @ 2022-11-08 12:16 WebLinuxStudy 阅读(1073) 评论(0) 推荐(0)
 
摘要: Linux下查看nginx配置文件位置,可以通过 ps -aux | grep nginx ,查看 nginx.conf 的位置 阅读全文
posted @ 2022-11-08 12:12 WebLinuxStudy 阅读(1031) 评论(0) 推荐(0)
 
摘要: dict = {'key1' : 'val1', 'key2' : 'val2'} 1、添加字典元素方法一:直接添加,给定键值对dict['key3'] = 'val3'print(dict) # {'key1' : 'val1', 'key2' : 'val2', 'key3' : 'val3'} 阅读全文
posted @ 2022-11-08 12:05 WebLinuxStudy 阅读(318) 评论(0) 推荐(0)
 
摘要: 出现Warning: Illegal string offset,原因是定义了一个变量为字符串型,然后给这个字符串型的变量中的键赋值。例如:$a = '这是字符串';$a['val'] = 1; //此处会出警告 阅读全文
posted @ 2022-11-08 11:48 WebLinuxStudy 阅读(1560) 评论(0) 推荐(0)
 

2022年11月7日

摘要: 给父窗口下的id="#my"赋值123$("#my", window.parent.document).html('123'); 阅读全文
posted @ 2022-11-07 13:11 WebLinuxStudy 阅读(109) 评论(0) 推荐(0)
 

2022年11月2日

摘要: http://httpbin.org/get 阅读全文
posted @ 2022-11-02 11:46 WebLinuxStudy 阅读(84) 评论(0) 推荐(0)
 

2022年10月27日

摘要: a = [1, 2, 3, 4, 5]b = [3, 4, 5, 6, 7]# a与b合并在一起组成的集合c = list(set(a).union(set(b)))print(c)# c = [1, 2, 3, 4, 5, 6, 7]# a中存在,而且b中也存在d = list(set(a).in 阅读全文
posted @ 2022-10-27 16:21 WebLinuxStudy 阅读(160) 评论(0) 推荐(0)
 

2022年10月24日

摘要: 查看最后50条命令 history 50 阅读全文
posted @ 2022-10-24 18:37 WebLinuxStudy 阅读(59) 评论(0) 推荐(0)
 
摘要: /usr/local/php/etc/php-fpm.conf 阅读全文
posted @ 2022-10-24 18:01 WebLinuxStudy 阅读(142) 评论(0) 推荐(0)
 
上一页 1 2 3 4 5 6 7 8 9 ··· 20 下一页