自定义博客皮肤VIP专享

*博客头图:

格式为PNG、JPG,宽度*高度大于1920*100像素,不超过2MB,主视觉建议放在右侧,请参照线上博客头图

请上传大于1920*100像素的图片!

博客底图:

图片格式为PNG、JPG,不超过1MB,可上下左右平铺至整个背景

栏目图:

图片格式为PNG、JPG,图片宽度*高度为300*38像素,不超过0.5MB

主标题颜色:

RGB颜色,例如:#AFAFAF

Hover:

RGB颜色,例如:#AFAFAF

副标题颜色:

RGB颜色,例如:#AFAFAF

自定义博客皮肤

-+

小龙在线

整理一下自己的学习心得体会,方便以后查询。

  • 博客(21)
  • 资源 (94)
  • 收藏
  • 关注

原创 MySQL排名

MySQL中没有Rank排名函数,当我们需要查询排名时,只能使用MySQL数据库中的基本查询语句来查询普通排名。尽管如此,可不要小瞧基础而简单的查询语句,我们可以利用其来达到Rank函数一样的高级排名效果。在这里我用一个简单例子来实现排名的查询:首先我们先创建一个我们需要进行高级排名查询的players表,CREATE TABLE `players` ( `pid` int(2) NOT...

2018-12-29 18:34:21 1996

原创 node js 判断数组中是否包含某个值

判断数组中是否包含某个值这里有四种方法。用的测试数据:let arr=["a","b","c"];let arr2={"a":"aaa","b":"bbb","c":"ccc"};in判断是否在数组的key里in操作符针对的是key,而非value。而对于普通的一维数组来说,key是隐藏的。所以,对于判断某个数组中是否

2018-12-28 12:40:04 15238

原创 Win32gui 无效窗口句柄

在用模拟浏览器上传文件时,用win32gui查找窗口,并输入文件路径,点击确定上传。然而在设置打开窗口焦点时,报错了:xx是 无效窗口句柄经过spy++排查,确定窗口类和名称都无误,后来经过多次测试,发现问题是:窗口打开太慢,在窗口打开之前就开始查找窗口了,当然就找不到了。所以要等一等,一秒也行。time.sleep(1)部分python代码片段如下:ele_file.click()...

2018-12-28 09:43:34 6549

原创 Python selenium win32gui autoIT SendKeys 文件上传

selenium对网页进行UI自动化时经常会遇到操作系统弹框,比如上传、下载框,对这种弹框,selenium无法处理。上传按钮有简单的input按钮,还有js、flash等复杂按钮,针对不同的按钮,我们有不同的自动化方法。input标签直接send_keys以网址:http://www.sahitest.com/demo/php/fileUpload.htm为示例。# -*- coding...

2018-12-27 15:19:40 1531

原创 Python PIL自动定位消消乐

先看定位好的效果图:from PIL import Image, ImageDrawimport mathimport operatorfrom functools import reducesrc_img = Image.open("xxl.png")tpl_img = Image.open("xx.png")# tpl_colours = tpl_i

2018-12-24 19:05:21 1792

原创 OpenCV3模板匹配

模板匹配,就是在一幅图像中寻找另一幅模板图像最匹配(也就是最相似)的部分的技术。#include <opencv2/core/core.hpp>#include <opencv2/imgproc/imgproc.hpp>#include &a

2018-12-23 16:51:01 1462

原创 PyMySQL增删查改CRUD

PyMySQL增删查改的例子:表结构:CREATE TABLE `users` ( `id` int(11) NOT NULL AUTO_INCREMENT, `email` varchar(255) COLLATE utf8_bin NOT NULL, `password` varchar(255) COLLATE utf8_bin NOT NULL, PRI...

2018-12-22 17:32:00 420

原创 PHP输出函数区别

函数名介绍返回值echo语言结构,非函数,无括号时可以多个值,用逗号分割。整形和字符串,布尔类型会转换成1或空无返回值print语言结构,非函数,只能一个参数值,比echo慢。打印类型同echo无返回值print_r可以输出整形、字符串、数组、对象第二个参数设定为true,将打印内容返回sprintf把格式化的字符串写入变量中返回格式化好的字...

2018-12-21 15:30:58 677

原创 PHP错误日志跟踪记录register_shutdown_function/set_error_handler/set_exception_handler

写程序不可避免有错误,而调试错误就很重要了,需要看错误信息,错误发生的文件、行号等,特别是对于线上的系统调试,不能让用户看到错误信息,这就需要把错误信息记录日志里。下面简单写了一段错误记录的小程序。<?phpfunction myErrorHandler($errno, $errstr, $errfile, $errline){ $f = fopen("log.txt&

2018-12-21 10:46:09 1402

原创 mysql获取年月日周季度

MySQL经常查询某个日期时间的记录,可以用以下方法转换到对应的年月日时分秒季度。获取第几天SELECT to_days("2018-12-07"); # 737400SELECT to_days("2018-12-07 10:17:12"); # 737400获取第几秒SELECT to_s

2018-12-20 11:28:29 6126

原创 tar排除文件夹

用tar命令打包很方便,直接使用 tar -zcvf test.tar.gz test 即可。排除某个个目录或文件,只需要加--exclude参数即可。如下:tar -zcvf tomcat.tar.gz --exclude=tomcat/logs tomcat排除多个,就加多个--exclude:tar -zcvf t.tar.gz --exclude=logs --exclude=...

2018-12-18 10:00:52 499

原创 PHP CURL GET HTTPS报错SSL certificate problem: unable to get local issuer certificate

请求HTTP使用php curl获取http资源,不会报错。如下:<?php// 创建curl资源$ch = curl_init(); // 设置urlcurl_setopt($ch, CURLOPT_URL, "baidu.com"); // 将Transfer作为字符串返回curl_setopt($ch, CURLOPT_RETURNTRANSFER, 1);// 执...

2018-12-15 11:13:14 28347 2

原创 ERROR 1221 (HY000): Incorrect usage of UNION and ORDER BY

union和union all区别UNION会把两个查询语句的结果集合并起来。union会过滤掉两个结果集中重复的行,而union all不会过滤掉重复行。union order在union两个带order的select的时候,会报错。ERROR 1221 (HY000): Incorrect usage of UNION and ORDER BY解决方法就是使用括号,把两个SELE...

2018-12-12 11:20:27 2012

原创 curl: (35) SSL connect error

最近用curl下载图片,发现报错:curl: (35) SSL connect error换成opensslcurl默认支持https是nss,而不是openssl,需要换成openssl。cd /usr/local/src/wget http://curl.haxx.se/download/archeology/curl-7.19.7.tar.gztar -zxf curl-7.1...

2018-12-10 15:32:01 24522

原创 Yii2 rules datetime格式化验证

使用datetime平常经常使用datetime这种数据格式,特别是在model的rules里:public function rules(){ return [ [['create_at'], 'datetime'] ];}那表单提交后怎么转换为这种格式呢?一般使用Yii2的formatter,在配置文件中添加这样的代码:配置formatterre...

2018-12-07 16:40:01 3591

原创 NodeJS字典转URL中的参数值

Node的querystring.stringify,类似php的http_build_query,Python的urllib.urlencode。const querystring = require('querystring');querystring.stringify({ foo: 'bar', baz: ['qux', 'quux'], corge: '' });// return...

2018-12-05 15:24:59 1280

原创 PHP下载采集图片到本地

下载远程图片到本地/** * 下载远程图片到本地 * * @param string $url 远程文件地址 * @param string $filename 保存后的文件名(为空时则为随机生成的文件名,否则为原文件名) * @param array $fileType 允许的文件类型 * @param string $dirName 文件保存的路径(路径其余部分根据时间系统自动生...

2018-12-05 15:20:13 5631

原创 MySQL避免重复插入记录的四种方法

MySQL的INSERT INTO IF EXISTS语句可以保证不重复插入。INSERT INTO iqilu_category(catname,type,cid,caturl,keywords) SELECT '中国人', 2, 2031, 'china','中国人民' FROM DUAL WHERE NOT EXISTS(SELECT catname FROM iqilu_categ...

2018-12-05 11:44:18 4228

原创 Mysql查询重复字段

查询category表中,catname字段值重复的数据及重复次数select catname, count(*) as count from category group by catname having count>1

2018-12-03 15:14:11 3555

原创 NodeJS模块全局安装路径配置

配置NODE路径npm或cnpm默认是安装到当前目录,如果想安装到全局目录下,就需要加-g参数。例如安装express模块:npm install -g express如果不配置全局目录,require的时候,就会找不到,报错:Error: Cannot find module 'express'默认全局目录是C:\Users\Administrator\AppData\Roami...

2018-12-02 21:24:40 2897

原创 Python 将有序list打乱随机排序

random模块下的shuffle函数就可以打乱list。from random import shufflel = [1, 2, 4, 5]shuffle(l)print(l)# [2, 3, 4, 5, 1]参考:https://docs.python.org/3/library/random.html?highlight=random#random.shuffle...

2018-12-02 15:18:53 30611 3

安卓 RE文件浏览器,Root Explorer PRO Apk 4.10.3

Root Explorer app is the ultimate most powerful, most functional, and useful file manager for root users. Root explorer apk allows you to Access the whole of android’s file system including the secured ones. You can download 100% Original apk file of Root Explorer from our site without any survey or any other annoying process as well as provide you a detailed guide on using Root Explorer. There are many sites providing a modified version of root explorer that can cause damage to your device or

2022-11-22

x64dbg-snapshot-2022-10-18-22-09

An open-source binary debugger for Windows, aimed at malware analysis and reverse engineering of executables you do not have the source code for.

2022-10-28

C#用FiddlerCore抓包HTTP和HTTPS源码

C#用FiddlerCore抓包HTTP和HTTPS源码

2022-10-25

Kettle pdi-ce-9.3.0.0-428.zip

pdi-ce-9.3.0.0-428.zip Kettle

2022-09-26

ChromeDriver-92.0.4515.107.zip

ChromeDriver 包含Windows、Mac、Linux各个版本。 ---------ChromeDriver 92.0.4515.107 (2021-07-29)--------- Supports Chrome version 92 Resolved issue 3389: Host validation for ChromeDriver requests [Pri-2]

2021-08-12

xpdf-win64.zip

xpdf-tools-win-4.03 and XpdfReader-win64-4.03.

2021-02-14

ChromeDriver-87.0.4280.88.rar

---------ChromeDriver 87.0.4280.88 (2020-12-02)--------- Supports Chrome version 87 Resolved issue 2421: Delete old port-forwarding channels on android adb-server [Pri-3] Resolved issue 3474: Emulated mobile device list needs updating [Pri-3] Resolved issue 3507: Implement "get computed role" [Pri-]

2020-12-14

honglvdeng.rar

steg、Stegsolve.jar隐写。

2020-09-17

带exp的pwn测试文件

带exp的pwn测试文件、ret2text、ret2syscall、ret2shellcode、ret2libc、ret2csu、stack_pivoting、stack_smash

2020-09-12

单步跟踪法脱壳.zip

单步跟踪法脱壳、单步跟踪法脱壳、单步跟踪法脱壳、单步跟踪法脱壳、单步跟踪法脱壳用到的软件、单步跟踪法脱壳用到的软件、单步跟踪法脱壳用到的软件

2020-09-12

TraceMe.exe year.exe.rar

TraceMe.exe year.exe 反编译调试 TraceMe.exe year.exe 反编译调试 TraceMe.exe year.exe 反编译调试 TraceMe.exe year.exe 反编译调试

2020-09-12

flag.rar图片逆向排序

图片逆向排序图片逆向排序图片逆向排序图片逆向排序图片逆向排序图片逆向排序图片逆向排序图片逆向排序图片逆向排序图片逆向排序图片逆向排序图片逆向排序图片逆向排序图片逆向排序图片逆向排序

2020-09-09

coconut_tree.zip

图片隐写椰子树coconut tree,包含原图、生成图、python代码。方法是在图片里按规律设置特殊色值的点,缩写拼接起来就可以看到flag。

2020-08-30

sqlite-dll-win64-x64-3320300.zip

sqlite-dll-win64-x64-3320300 sqlite3.def和sqlite3.dll

2020-07-08

chromedriver_2.46.zip

----------ChromeDriver v2.46 (2019-02-01)---------- Supports Chrome v71-73 Resolved issue 2728: Is Element Displayed command does not work correctly with v0 shadow DOM inserts [[Pri-1]] Resolved issue 755: /session/:sessionId/doubleclick only generates one set of mousedown/mouseup/click events [[Pri-2]] Resolved issue 2744: Execute Script returns wrong error code when JavaScript returns a cyclic data structure [[Pri-2]] Resolved issue 1529: OnResponse behavior can lead to port exhaustion [[Pri-2]] Resolved issue 2736: Close Window command should handle user prompts based on session capabilities [[Pri-2]] Resolved issue 1963: Sending keys to disabled element should throw Element Not interactable error [[Pri-2]] Resolved issue 2679: Timeout value handling is not spec compliant [[Pri-2]] Resolved issue 2002: Add Cookie is not spec compliant [[Pri-2]] Resolved issue 2749: Update Switch To Frame error checks to match latest W3C spec [[Pri-3]] Resolved issue 2716: Clearing Text Boxes [[Pri-3]] Resolved issue 2714: ConnectException: Failed to connect to localhost/0:0:0:0:0:0:0:1:15756. Could not start driver. [[Pri-3]] Resolved issue 2722: Execute Script does not correctly convert document.all into JSON format [[Pri-3]] Resolved issue 2681: ChromeDriver doesn't differentiate "no such element" and "stale element reference" [[Pri-3]]

2020-06-29

chromedriver_84.0.4147.30.zip

包含chromedriver_linux64.zip、chromedriver_mac64.zip、chromedriver_win32.zip、notes.txt。 Supports Chrome version 84 Resolved issue 3420: after switching to the print window, the chromedriver stops responding Resolved issue 3421: Driver returns Cyrillic text without styles Resolved issue 3422: GetElementText breaks with prototype 1.6.0.3 Resolved issue 3434: Cannot get 'assert' messages from the 'browser' logs

2020-06-29

Magisk-v20.4+MagiskManager-v7.5.0+Magisk-uninstaller-20200323.zip

Magisk-v20.4 MagiskManager-v7.5.0 Magisk-uninstaller-20200323

2020-06-18

VirtualXposed_0.18.2.apk

VirtualXposed不需要解锁、不需要root、不需要解锁bootloader,就可以使用Xposed功能的APP

2020-06-10

阿里巴巴新版Java开发手册.rar

《Java 开发手册》是阿里巴巴集团技术团队的集体智慧结晶和经验总结,经历了多次大规模一 线实战的检验及不断完善,公开到业界后,众多社区开发者踊跃参与,共同打磨完善,系统化地整理 成册,当前的版本是泰山版。

2020-04-29

poppler-0.68.0_x86.7z

I have been using the Poppler library for some time, over a series of various projects. It’s an open source set of libraries and command line tools, very useful for dealing with PDF files. Poppler is targeted primarily for the Linux environment, but the developers have included Windows support as well in the source code. Getting the executables (exe) and/or dlls for the latest version however is very difficult on Windows. So after years of pain, I jumped on oDesk and contracted Ilya Kitaev, to both compile with Microsoft Visual Studio, and also prepare automated tools for easy compiling in the future. Update: MSVC isn’t very well supported, these days the download is based off MinGW. So now, you can run the following utilities from Windows! PDFToText – Extract all the text from PDF document. I suggest you use the -Layout option for getting the content in the right order. PDFToHTML – Which I use with the -xml option to get an XML file listing all of the text segments’ text, position and size, very handy for processing in C# PDFToCairo – For exporting to images types, including SVG! Many more smaller utilities

2019-10-25

quamotion-webdriver.0.123.3.win7-x64.zip

quamotion webdriver windows 64位,可以在windows x64下测试安卓,ios。

2019-08-15

selenium-server-standalone-3.141.59

selenium-server-standalone-3.141.59.jar selenium-server-standalone-3.141.59.jar

2019-01-08

mozilla firfox geckodriver v0.23.0 火狐 webdriver

This release contains a number of fixes for regressions introduced in 0.22.0, where we shipped a significant refactoring to the way geckodriver internally dealt with JSON serialisation. Removed The POST /session/{session id}/element/{element id}/tap endpoint was removed, thanks to Kerem Kat. Changed webdriver crate upgraded to 0.38.0. Fixed desiredCapabilities and requiredCapabilities are again recognised on session creation A regression in 0.22.0 caused geckodriver to recognise desired and required instead of the correct desiredCapabilities and requiredCapabilities. This will have caused significant problems for users who relied on this legacy Selenium-style session creation pattern. Do however note that support for Selenium-styled new session requests is temporary and that this will be removed sometime before the 1.0 release. duration field made optional on pause actions A regression in 0.22.0 caused the pause action primitive to require a duration field. This has now been fixed so that pauses in action chains can be achieved with the default duration. Log level formatted to expected Marionette input A regression in 0.22.0 caused the log level to be improperly formatted when using Firefox pre-releases. This is now fixed so that the requested log level is correctly interpreted by Marionette. temporary field on addon installation made optional A regression in 0.22.0 caused the temporary field for POST /session/{session id}/moz/addon/install to be mandatory. This has now been fixed so that an addon is installed permanently by default. SHA1s in version information uses limited number of characters The SHA1 used in --version when building geckodriver from a git repository is now limited to 12 characters, as it is when building from an hg checkout. This ensures reproducible builds.

2018-11-20

ChromeDriver v2.44

----------ChromeDriver v2.44 (2018-11-19)---------- Supports Chrome v69-71 Resolved issue 2522: Test ChromeDriverTest.testWindowMaximize is failing on Mac build bot on Waterfall [[Pri-2]] Resolved issue 2615: Incorrect 'alert open error' for window handle call [[Pri-2]] Resolved issue 2649: Element Send Keys should get "text" property in W3C mode [[Pri-2]] Resolved issue 1995: XML special case of Is Element Enabled is not handled as per spec [[Pri-2]] Resolved issue 1994: XML special case of Get Element CSS Value is not handled as per spec [[Pri-2]] Resolved issue 2655: Set Window Rect needs to check for invalid input [[Pri-3]] Resolved issue 2597: Support new unhandledPromptBehavior modes [[Pri-3]]

2018-11-20

APK反编译工具apktool-dex2jar-luyten-jd-gui

apk反编译工具: apktool 查看apk资源文件 dex2jar 把dex转换成jar luyten 查看jar源码,支持jdk新版 jd-gui 查看jar源码,需要jdk 1.7.0

2018-10-17

ChromeDriver 2.39 win32

ChromeDriver - WebDriver for Chrome windows10 ChromeDriver - WebDriver for Chrome windows10

2018-05-31

强化学习在阿里的技术演进与业务创新

强化学习在阿里的技术演进与业务创新 当前的机器学习算法⼤致可以分为有监督的学习、⽆监督的学习和强化学 习(Reinforcement Learning)等。强化学习和其他学习⽅法不同之处在于强化学 习是智能系统从环境到⾏为映射的学习,以使奖励信号函数值最⼤。

2018-02-06

TensorFlow机器学习实战指南中英双语版-epub和pdf格式

TensorFlow机器学习实战指南中英双语版-epub和pdf格式 中文版只有epub格式,英文版两种格式都有。

2018-01-31

SVG精髓(第2版) (图灵程序设计丛书) 英文版

《SVG精髓(第2版)》通过实例透彻讲解了SVG(可缩放矢量图形)这种标记语言的规范及应用。作者从简单的SVG应用开始,带领读者逐步探索了SVG的复杂功能,包括滤镜、变换、渐变和模式。从应用层面看,本书涵盖了动画、交互图形和动态SVG编程等技术,不仅能为有经验的开发人员提供重要参考,同时通过讲解基本的XML和CSS技术,为没有Web开发经验的读者提供了入门捷径。

2017-10-26

Linear Algebra and Its Applications 5th Edition (David C. Lay)全书9-10章及所有答案

Linear Algebra and Its Applications 5th Edition (David C. Lay)全书9-10章及所有答案

2017-10-25

网络安全思维导图

网络安全思维导图,网络安全思维导图 网络安全思维导图 网络安全思维导图 网络安全思维导图来源:http://lanxiaomi.blog.51cto.com/4554767/1964958

2017-09-19

《Windows程序设计》第五版 源码

《Windows程序设计》第五版 珍藏版 源码 一共二十三章 本书介绍了在Microsoft Windows 98、Microsoft Windows NT 4.0和Windows NT 5.0 下程序写作的方法。这些程序用C语言编写并使用原始的Windows Application Programming Interface(API)。

2017-09-11

moco-runner-0.11.1-standalone

测试服务框架moco-runner-0.11.1-standalone

2017-06-21

hanlp-portable-1.3.2.jar

HanLP是由一系列模型与算法组成的Java工具包,目标是普及自然语言处理在生产环境中的应用。不仅仅是分词,而是提供词法分析、句法分析、语义理解等完备的功能。HanLP具备功能完善、性能高效、架构清晰、语料时新、可自定义的特点。

2017-04-18

emmet PythonScript 打包压缩文件

官网下载太慢,留下来,以作备份。 压缩包里包含以下文件: emmet-npp.zip PythonScript_1.0.8.0.msi

2017-03-20

simplehtmldom

php解析html类库 解析器不仅仅只是帮助我们验证html文档;更能解析不符合W3C标准的html文档。它使用了类似jQuery的元素选择器,通过元素的id,class,tag等等来查找定位;同时还提供添加、删除、修改文档树的功能。当然,这样一款强大的html Dom解析器也不是尽善尽美;在使用的过程中需要十分小心内存消耗的情况。不过,不要担心; https://github.com/samacs/simple_html_dom

2014-05-12

Joomla k2组件 K2_v2.6.8

Joomla k2组件 K2_v2.6.8 Joomla内容扩展组件,功能非常强大,类似Drupal的CCK。

2014-05-12

netbeans-8.0-php-windows

netbeans 8.0 php windows

2014-04-16

openx 2.8.7 最全汉化包

openx 2.8.7 最全汉化包 安装位置:\lib\max\language 备份原来的zh_CN文件夹

2014-03-08

phpcms phpcms_v9.5.0_UTF8

phpcms_v9.5.0_UTF8 中文UTF8版本 phpcms v9

2014-03-08

空空如也

TA创建的收藏夹 TA关注的收藏夹

TA关注的人

提示
确定要删除当前文章?
取消 删除