码迷,mamicode.com
首页 >  
搜索关键字:window对象 时间计数器 url解析 location navigator open    ( 35018个结果
判断手机端和pc端
//判断pc和手机 browserRedirect() { var sUserAgent = navigator.userAgent.toLowerCase(); if (/ipad|iphone|midp|rv:1.2.3.4|ucweb|android|windows ce|windows mo ...
分类:移动开发   时间:2021-05-25 18:31:07    阅读次数:0
photoshop javascript window 的一个例子
photoshop javascript window 的一个例子 参考连接:Photoshop scripts · GitHub // Open Recent Files - Adobe Photoshop Script // Description: displays a Recent File ...
分类:编程语言   时间:2021-05-25 18:18:28    阅读次数:0
多线程
1、线程是独立于其他线程的,无法直接访问外面的函数方法以及控件。 使函数成为mainForm的成员函数,即 mainForm.函数名 使之切换到主线程中执行。 2、aardio的多线程中代码如果报错不会弹窗,可以使用控制台显示报错信息。 import console;console.open(); ...
分类:编程语言   时间:2021-05-25 18:06:07    阅读次数:0
logstash报错如下:Validation Failed: 1: this action would add [2] total shards, but this cluster currently has [999]/[1000] maximum shards open
超过最大分片引起的,在es机器上执行:curl -XPUT -H "Content-Type:application/json" -d '{"persistent":{"cluster":{"max_shards_per_node":10000}}}' 'http://es-host:9200/_c ...
分类:其他好文   时间:2021-05-25 17:41:51    阅读次数:0
python中json相关方法
json json.load(file) 将文件中的字符串读出来,转换为json形式的列表等 [{"age": 20, "name": "tome", "sex": "male"}, {"age": 10, "name": "jerry", "sex": "female"}] data = json ...
分类:编程语言   时间:2021-05-24 17:10:58    阅读次数:0
Windows家庭版打开或关闭Hyper-V
打开hyper-v 创建open_hyper-v.bat文件 pushd "%~dp0" dir /b %SystemRoot%\servicing\Packages\*Hyper-V*.mum >hyper-v.txt for /f %%i in ('findstr /i . hyper-v.tx ...
分类:Windows程序   时间:2021-05-24 17:03:45    阅读次数:0
[Go] gin 解决: accept4: too many open files
我的在线客服系统 go gin服务出现了大量的 too many open files 错误 , 这时候服务也是连不上的 前端接口的显示就是504 , 超出了nginx设置的超时时间 通过lsof -p 进程id 可以看到打开的文件数量已经1031个了 , 说明了超出了单进程打开文件的限制默认102 ...
分类:其他好文   时间:2021-05-24 16:25:18    阅读次数:0
charles-弱网测试
打开charles,点击proxy-选中Throttle Settings 勾选Enable Throttling 点击ok。弱网环境设置成功 如果是针对单独的地址进行弱网测试,可选中location.添加需要测试的url ...
分类:其他好文   时间:2021-05-24 16:24:38    阅读次数:0
批量fas序列文件拆分成单个文件
##参考1 批量创建文件其实很简单,只需要按照需要创建写文件、写完关闭当前写文件、创建新的写文件、写完关闭当前文件、、、不断循环即可,以下是一个简单例子,将大文件big.txt按照每1000行分割成一个个小文件,具体做法如下: # -*- coding: utf-8 -*- index = 0 co ...
分类:其他好文   时间:2021-05-24 16:24:21    阅读次数:0
qt 文本流&数据流
// 文本流 QFile file("aaa.txt"); file.open(QFileDevice::WriteOnly); QTextStream stream(&file); stream<<QString("hell oworld")<<123456; file.close(); // 读 ...
分类:其他好文   时间:2021-05-24 16:16:10    阅读次数:0
35018条   上一页 1 ... 13 14 15 16 17 ... 3502 下一页
© 2014 mamicode.com 版权所有  联系我们:gaon5@hotmail.com
迷上了代码!