filez Easy use for fetch data from kinds of files Feature Support load txt,csv,excel,conf/ini,json,yaml file to list or dict Strip lines for txt Ensur ...
分类:
其他好文 时间:
2020-04-20 15:45:55
阅读次数:
81
ubuntu启用root用户 sudo passwd root 开启root用户,输入新密码 su root 切换用户登录 sudo vim /etc/pam.d/gdm autologin 注释行 "auth requied pam_succeed_if.so user != root quiet ...
分类:
系统相关 时间:
2020-04-20 15:34:35
阅读次数:
64
I I HDU 3466Proud Merchants(贪心+01背包) Recently, iSea went to an ancient country. For such a long time, it was the most wealthy and powerful kingdom in ...
分类:
其他好文 时间:
2020-04-20 14:04:37
阅读次数:
77
Given n integers, your task is to pick k out of them so that the picked number are minimum when do bitwise “AND” among all of them. For example, there ...
分类:
其他好文 时间:
2020-04-20 11:39:23
阅读次数:
56
这段时间在忙着写一个web端3D可视化编辑的项目(其实也只是有空闲并且心血来潮的时候才会去写的)和其他个人爱好相关的事情; so,看一下目前项目进度的相关截图: 其实就是将echarts的配置图形化,目前暂且写了4个组件。 然后,上个礼拜发现余额宝的收益已经跌破2%了,于是抱着玩玩的心态连夜找了一只 ...
分类:
其他好文 时间:
2020-04-19 23:43:50
阅读次数:
245
一、确保mysql数据库能够通过Navicat等远程连接工具连接。 注意:一定是确保能使用navicat连接,而不是dos窗口! 比如笔者需要查询ecshop数据库下的ecs_admin_user表,如下图: ? 二、下载驱动并加入jmeter 1.mysql驱动下载地址:https://downl ...
分类:
数据库 时间:
2020-04-19 22:07:13
阅读次数:
89
Paths on the treeProblem Descriptionbobo has a tree, whose vertices are conveniently labeled by 1,2,…,n.** There are m paths on the tree. bobo would l ...
分类:
其他好文 时间:
2020-04-19 18:07:45
阅读次数:
62
[安洵杯 2019]easy_serialize_php.md 锻炼代码审计能力和学习 PHP反序列化 反序列化中的对象逃逸 SQL注入既视感 首先明确几个点: 序列化后的结果是一串字符串。 反序列化会解开序列化的字符串生成相应类型的数据。 如下代码示例,img是一个数组,下标分别是one和two, ...
分类:
Web程序 时间:
2020-04-19 17:58:27
阅读次数:
191
冒泡排序(升序为例) 思路: 1. 从头开始比较每一对相临的元素,其后者比前者大则交换,直到一轮比较结束 2. 排除1中找到最大的元素,重复1的步骤 Swift class SelectionSort { var array = [5, 7, 2, 8, 9, 4, 7, 3, 2] func so ...
分类:
编程语言 时间:
2020-04-19 14:29:32
阅读次数:
60
验证输入数据是每个批处理应用程序中必不可少的步骤。使用Easy Batch,可以通过注册一个或多个RecordValidator实现来验证记录,如下所示: Job job = new JobBuilder() .validator(new MyFirstRecordValidator()) .pro ...
分类:
其他好文 时间:
2020-04-19 10:50:12
阅读次数:
52