首页 > 2020年08月06日 > 全部分享
C#中两种方式转换Json的方法
方法一:拼接字符串 优点:自定义,灵活度高 缺点:编码容易出差错,还要处理末尾的元素 string str = "{"; for (int i = 0; i < list_head.Count; i++) { str += "\""+list_head[i]+"\":["; var value=li ...
分类:Windows开发   时间:2020-08-06 01:22:15    收藏:0  评论:0  赞:0  阅读:116
tp5修改数据前过滤
$user = new User(); $data = Request::only(['username,email']); $id = $user->save($data,['id'=>1]); ...
分类:其他   时间:2020-08-06 01:22:02    收藏:0  评论:0  赞:0  阅读:135
关于 "python3: posix_spawn: /Library/Frameworks/Python.framework/Versions/3.7/bin/python3.72.7: No such file or directory"的解决.
关于 python3: posix_spawn: /Library/Frameworks/Python.framework/Versions/3.7/bin/python3.72.7: No such file or directory 的解决.(对大家很抱歉, 之前也写过解决方法。但是实际上不能真 ...
分类:编程语言   时间:2020-08-06 01:21:50    收藏:0  评论:0  赞:0  阅读:235
log4j生产环境日志配置
Log4J配置文件的基本格式如下: #配置根Loggerlog4j.rootLogger = [ level ] , appenderName1 , appenderName2 , … #配置日志信息输出目的地Appenderlog4j.appender.appenderName = fully.q ...
分类:其他   时间:2020-08-06 01:21:33    收藏:0  评论:0  赞:0  阅读:173
Java Socket TCP 套接字超时
Socket#setSoTimeout 可以设置读超时时长。如果超过了给定时间,则抛出一个 InterruptedIOException 异常。 ServerSocket#setTimeout 可以设置 ServerSocket#accept 的等待连接的超时时间。如果超过了给定时间,则抛出一个 I... ...
分类:编程语言   时间:2020-08-06 00:05:37    收藏:0  评论:0  赞:0  阅读:97
Python学习 思维导图2 - 数据类型/运算符/运算符优先级
...
分类:编程语言   时间:2020-08-06 00:05:02    收藏:0  评论:0  赞:0  阅读:125
567. Permutation in String
package LeetCode_567 /** * 567. Permutation in String * https://leetcode.com/problems/permutation-in-string/description/ * * Given two strings s1 and ...
分类:其他   时间:2020-08-06 00:04:41    收藏:0  评论:0  赞:0  阅读:92
JavaScript:正则表达式匹配规则
正则表达式的语法规则: <!DOCTYPE html> <html lang="en"> <head> <meta charset="UTF-8"> <meta name="viewport" content="width=device-width, initial-scale=1.0"> <tit ...
分类:编程语言   时间:2020-08-06 00:04:27    收藏:0  评论:0  赞:0  阅读:95
python shutil.copytree
语法: shutil.copytree(src, dst, symlinks=False, ignore=None, copy_function=copy2, ignore_dangling_symlinks=False,dirs_exist_ok=False) 将以 src 为根起点的整个目录树拷 ...
分类:编程语言   时间:2020-08-06 00:03:57    收藏:0  评论:0  赞:0  阅读:94
Windows10 无法完全关闭Hyper-V导致VirtualBox 虚拟机无法启动
win10本来已经安装使用了VirtualBox. 突然心血来潮决定试试系统自带的虚拟机Hyper-V.发现并没有想象中的好用.随后在启用或关闭 Windows功能中关闭了Hyper-V. 这时我发现VirtualBox虚拟机起不来了.重启也不行.还是报如下错误. Raw-mode is unava ...
分类:Windows开发   时间:2020-08-06 00:03:09    收藏:0  评论:0  赞:0  阅读:131
PAT甲级1148Werewolf - Simple Version
题目链接 https://pintia.cn/problem-sets/994805342720868352/problems/1038429808099098624 题解 题目要求 N(5到100)个玩家,其中2个狼人,只有1个狼人在撒谎(题目里说至少有1个狼人在撒谎但不是所有狼人都在撒谎……直接 ...
分类:其他   时间:2020-08-06 00:02:33    收藏:0  评论:0  赞:0  阅读:99
移动端app打包
1、下载Hbuilder 下载地址:https://www.dcloud.io/hbuilderx.html 2、新建项目(首先要注册并绑定手机) 文件-->新建-->项目-->选择5+App 以下界面配置已经用红色圈出,点击创建即可 3、然后出现新文件夹 4、把新建立的文件夹中的css、img、j ...
分类:移动平台   时间:2020-08-06 00:02:16    收藏:0  评论:0  赞:0  阅读:114
SpringMVC映射的 / 与 /* 与 /** 的区别
/* 是所有文件夹,不含子文件夹 /** 的意思是所有文件夹及里面的子文件夹 / 是web项目的根目录 在mvc配置文件中加入忽略静态资源 第一种方式 <mvc:default-servlet-handler></mvc:default-servlet-handler> 第二种方式 <mvc:res ...
分类:编程语言   时间:2020-08-06 00:02:02    收藏:0  评论:0  赞:0  阅读:117
373条   上一页 1 ... 17 18 19
关于我们 - 联系我们 - 留言反馈 - 联系我们:wmxa8@hotmail.com
© 2014 bubuko.com 版权所有
打开技术之扣,分享程序人生!