自定义博客皮肤VIP专享

*博客头图:

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

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

博客底图:

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

栏目图:

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

主标题颜色:

RGB颜色,例如:#AFAFAF

Hover:

RGB颜色,例如:#AFAFAF

副标题颜色:

RGB颜色,例如:#AFAFAF

自定义博客皮肤

-+

luogan129的博客

天下皆白,唯我独黑,非攻墨门。兼爱平生。

  • 博客(164)
  • 资源 (9)
  • 收藏
  • 关注

原创 记录一次centos 使用selenium运行环境

ch_options.add_argument(“–headless”) # => 为Chrome配置无头模式。运行代码,验证是否成功,linux必须是这样的(新建一个.py文件,拷进去)查看chrome版本 google-chrome --version。下载对应chrome版本的chromedriver。将下载的文件解压,放在如下位置。

2024-02-06 21:55:29 1268

原创 d3dx9_42.dll缺少

当运行程序或者游戏时,系统弹出错误提示“ 找不到 d3dx9_42.dll”,或者“ 没有找到 d3dx9_42.dll”时,说明您系统中缺失这个dll文件或者该dll文件没有被注册,您需要下载该文件将其解压到相应目录并注册它。dll文件如何安装?通常是将 dll文件复制到“ X:\Windows\system32 ” (X代表您系统所在目录盘符,如:C:\Windows\system32 ) 目录下。注意事项:A.如果您使用的是 32位 Windows 操作系统:只需解压“32位系统”文件夹内的

2021-03-03 13:28:35 1724

原创 windows版本号的区别

windows7版本分32位和64为,基本都有:Windows 7Starter(简易版),Windows 7HomeBasic(家庭普通版),Windows 7HomePremium(家庭高级版),Windows 7Professional(专业版),Windows 7Enterprise(企业版),Windows 7Ultimate(旗舰版),请看他们的区别:Windows 7Starter(简易版)缺少的功能:航空特效功能;同时运行三个以上同步程序;家庭组(HomeGroup)创建;完整的移动功能

2021-02-05 14:53:41 857

原创 前后端分离搭建

vuedemo.csdingdinggggg.topvar serverConfig = { BASE_API: 'http://api.csdingdinggggg.top/api', APP_KEY: '294517869', APP_SECRET: 'bfef722359f4bcff6e5d69ce65611479fc'} location / { proxy_http_version 1.1; proxy_set_header C

2020-11-26 14:22:18 224

原创 TP6(jwt)token

thinkphp jwt auth composerhttps://github.com/QThans/jwt-authhttps://packagist.org/packages/thans/tp-jwt-authhttps://gitee.com/thans/jwt-authhttps://github.com/firebase/php-jwt

2020-11-02 16:24:00 1338

原创 tp6 跨域

$web = request()->header('Origin');//跨域请求设置header("Access-Control-Request-Method:GET,POST");header("Access-Control-Allow-Credentials:true");header("Access-Control-Allow-Origin:".$web);header("Access-Control-Allow-Headers:token,Content-Type, Author.

2020-10-30 09:30:06 1062

原创 tp6 前后端分离搭建基础

api宝塔 配置文件不动location / { if (!-e $request_filename){ rewrite ^(.*)$ /index.php?s=$1 last; break; }}前端 location / { proxy_http_version 1.1; proxy_set_header Connection "keep-alive"; proxy_set_header X-Rea

2020-10-26 17:38:06 1333

原创 centos安装( composer\yarn)

yum isntall -y gitcomposer// 由于某种原因,下载包会非常慢,所以需要修改镜像来加速,推荐阿里镜像。composer config -g repo.packagist composer https://mirrors.aliyun.com/composer//usr/bin/composer self-updatebash: yarn: command not foundnpm install -g yarn因为没安装yarn,安装一下就好了。

2020-10-26 10:52:45 165

原创 可视化调试工具({}[])

$parameters = array(‘batch_request_spec’ =>array (‘0’ =>array(‘relative_path’=>‘v1.3/campaigns/get?account_id=17931322’,)),);

2020-10-23 10:25:12 156

原创 微擎ajax

require_once IA_ROOT.'/addons/xiaoka_sell/inc/web/address.php'; function kkk() { var caturl = "{php echo $_W['siteroot'].'web/'.substr($this->createWebUrl('luo'),2)}"+"&rad="+Math.random(); $.ajax({ type: 'POST',.

2020-10-20 17:03:01 228

原创 批量转换文件夹下面所有文件的后缀名(jpg转png)

在自己需要转换的文件下新建一个文本,随便起名,然后加上以下代码:最后保存修改文本的后缀名为bat。双击运行就可以了。原来命名为*.会自动确认为没有后缀名啊……我还以为会变成*.这种多出一个点的呢ren *jpg *.@echo offset DestPath=F:\ORLfor /r %DestPath% %%i in (.) do (echo %%icd %%iren *.jpg *.png)pause...

2020-09-19 14:30:05 326

原创 Chrome与chromedriver.exe的版本对应

Chrome与chromedriver.exe的版本对应查看本地安装的谷歌浏览器chrome://version/下载地址1:http://npm.taobao.org/mirrors/chromedriver/http://npm.taobao.org/mirrors/chromedriver/84.0.4147.30/

2020-09-05 16:38:02 824

原创 python mongodb

Navicat 12 for MongoDB不要在安装 PyCharm 的 mongo 插件了

2020-09-05 14:29:00 94

原创 PHP-获取上周一周的日期

$start1 = date("Y-m-d", strtotime('monday last week'));$end1 = date("Y-m-d", strtotime('monday this week - 1 days'));$start2 = date("Y-m-d", strtotime('monday -3 week'));$end2 = date("Y-m-d", strtotime('monday -2 week - 1 days'));$start3 = date(.

2020-08-28 11:50:14 1293

原创 小程序 解析WXSS

wxaParse/css.js /page-framevv.js

2020-08-09 14:47:04 174

原创 centos 运行golang程序

编译go build test.go后台运行的命令nohup ./程序名 & nohup ./test &程序没安装包go get github.com/tidwall/gjsongo run xx.go

2020-08-05 11:56:03 1857

原创 PHP根据登录Cookie请求接口获取数据插入数据库

PHP根据登录Cookie请求接口获取数据插入数据库<?php// RUL http://休息休息吧/app/index.php?i=44&c=entry&rid=1&do=luo&m=xiaoka_xiaoshuo$url_a = "https://嘻嘻嘻嘻嘻嘻嘻/backend/wx_articles/api_get_titles?type=2&classify=1&gender=3&keyword=&wx_arti

2020-07-30 11:22:28 601

原创 微擎安装模块文件 manifest.xml

<!--定义模块的基本设置属性--><application setting="true"> <name><![CDATA[文章评论]]></name> <identifie><![CDATA[lm_comment]]></identifie> <version><![CDATA[0.1]]></version> <type>&lt

2020-07-20 14:16:56 514

原创 微擎PHP多条件搜索

$condition ='where 1=1';if($_GPC['authorizer_nickname']){ $gname = trim($_GPC['authorizer_nickname']); $condition .=" and authorizer_nickname like '%{$gname}%'";}if(!empty($_GPC['type'])){ $type = trim($_GPC['type']); $condition.=" and.

2020-07-15 16:11:58 364

原创 checkbox

{loop $gzhList $row} <label> <input type="checkbox" name="select[]" {php echo in_checkbox($poster['gzh_list'],$row['id'])} value="{$row['id']}">{$row['authorizer_nickname']} &nbsp;</label> {/loop} $p...

2020-07-02 17:16:47 236

原创 微擎代码美化

https://tool.lu/php/

2020-05-15 16:16:20 234

原创 aardio桌面软件(获取系统信息)

import console;console.log("程序开始执行");var file = io.open(io._exedir+"result.txt","w");f = io.popen("systeminfo","r");str = f.read(-1);f.close();for line in string.lines(str){ if(string.find(line,string.fromto("安装日期",95001,0),0)) {

2020-05-11 17:07:21 983

原创 腾讯地图位置

腾讯地图位置2html<style type="text/css"> .ismap .maps { height: 380px; width: 550px; overflow: hidden; border: 1px solid #E4E4E4; }</style> <...

2020-04-03 12:13:58 1371

原创 fsockopen(使用)

https http443 80//signaure 加密方式$signaure = sha1($token.$timestamp.$client_id.$nonceStr);$data['token'] = $token;$data['nonce'] = $nonceStr;$data['timestamp'] = $timestamp;$data['client_id']...

2020-03-17 16:47:28 409

原创 微信公众号{"errcode":41002,"errmsg":"appid missing"}

Array ( [appid] => wx4e1a7d31cef2c476 ){“appid”:“wx4e1a7d31cef2c476”}那为什么post提交还是没有传值给到微信服务器了,竟然原因是没有json加密再传过去。$account_api = WeAccount::create();$token = $account_api->getAccessToken();$...

2020-03-11 12:10:20 15384

原创 四种PHP异步执行的常用方式

1.使用Ajax 与 img 标记2.使用popen3.使用curl4.使用fsockopen

2019-12-10 17:47:19 166

原创 [微擎]多系统共用accesstoken

多系统共用accesstoken当一个公众号或者小程序接入多个系统时,由于微信接口的限制,会导致accesstoken调用次数超出有效范围,故微擎系统提供了下面的接口,供其他系统调用。URL请求方式: GEThttp://域名/api/accesstoken.php?type=TYPE&appid=APPID&secret=SECRET返回正常情况下,会返回下述JS...

2019-11-27 16:48:27 2309

原创 composer

执行以下命令进行名称空间的更新:composer dumpautoload 开发板composer require easyswoole/ormdev-master

2019-11-27 11:02:40 88

原创 如何在csdn搜索自己的文章

必应 https://cn.bing.com/输入关键字 site:blog.csdn.net/luogan129

2019-11-27 09:34:10 356

原创 微擎后台数据分页

前端页面 直接一个变量 {$pager} 放到最后的位置,自动生成分页//定义页码$pindex = max(1, intval($_GPC['page']));//定义记录数$psize = 30;//排序与每页多少条记录$limit = " ORDER BY id DESC LIMIT " . ($pindex -1) * $psize . ", {$psize}";//...

2019-11-25 12:05:45 403

原创 微擎分享朋友圈(jssdk)

<script> // wx.config({debug:jssdkconfig.debug,appId:jssdkconfig.appId,timestamp:jssdkconfig.timestamp,nonceStr:jssdkconfig.nonceStr,signature:jssdkconfig.signature,jsApiList:jssdkconfig.jsApiL...

2019-11-22 11:31:55 533

原创 判断微信系统

// ***** ***** 后退跳转 is_backward_link( "" ); // ----- ----- [ 后退跳转 ] function is_backward_link( backward_link ) { if( backward_link === '' ) { return cons...

2019-11-13 10:34:53 103

原创 php excel导出下载

public function dowebexportlist(){ global $_W, $_GPC; set_time_limit(0); header("Content-type:application/vnd.ms-excel"); header("Content-Disposition:fi...

2019-11-08 18:00:20 410

原创 centos 7 curl 编译安装

wget https://github.com/curl/curl/releases/download/curl-7_63_0/curl-7.63.0.tar.xztar xvJf curl-7.63.0.tar.xzcd curl-7.63.0./configuremake && make installln -s -f /usr/local/bin/curl /usr...

2019-11-01 17:17:41 1332

原创 phpstorm 2019.2

修改hosts文件 现在许多方法都被封杀了,现在使用的是修改hosts文件的方法。1、进入hosts文件中:C:\Windows\System32\drivers\etc\hosts2、将“0.0.0.0 account.jetbrains.com”添加到hosts文件中注意:添加只有重新打开hosts文件进行确认之后在进行下一步操作。YZVR7WDLV8-eyJsaWNlbnNl...

2019-10-21 09:51:28 2181 1

原创 数据库查询的二维数组转化成字符串

var all_daihao = ['https://mp.weixin.qq.com/s/Il8dsit','https://mp.weixin.qq.com/s/X'] ;PHP 将二维数组转化成字符串$sql2 = 'select gzurl from ims_dream_wx_wxgz where status =1 and '. 'groups=' .$groups ;$r...

2019-10-17 10:17:24 427

原创 linux切换默认php版本(宝塔)

删除链接rm -f /usr/bin/phpln -sf /www/server/php/71/bin/php /usr/bin/php查看ls -l /www/server/php/73/bin/phpls -l /usr/bin/php

2019-09-20 10:58:42 2030

原创 TP5伪静态

RewriteRule ^(.*)$ index.php?s=1[QSA,PT,L]RewriteRule(.∗)1 [QSA,PT,L]RewriteRule ^(.*)1[QSA,PT,L]RewriteRule(.∗) index.php/$1 [QSA,PT,L]<IfModule mod_rewrite.c>Options +FollowSymlinksRewrit...

2019-09-05 14:50:18 989

原创 mitmproxy

检查是否安装成功pip3 --versionpython3 --version下面是安装mitmprox步骤下载mitproxy源代码wget https://github.com/mitmproxy/mitmproxy/archive/v4.0.3.zip解压unzip mitproxy-4.0.3.zip确认python3.6版本以上的命令是python3,不然根据具体情况...

2019-08-29 17:32:50 128

转载 Linux CentOS 7.6安装python3.7以及pip19

本文链接:https://blog.csdn.net/qq_39680564/article/details/90519461pip3 install mitmproxy

2019-08-29 16:34:49 432

thinkphp学习资料大全

thinkphp学习资料大全

2016-01-19

SQL注入攻击与防御.pdf

SQL注入攻击与防御.pdf

2016-01-19

《安全参考》HACKCTO-201503-27

《安全参考》HACKCTO-201503-27

2015-03-29

jQuery集合

jQuery集合

2015-03-28

移动应用UI设计模式.pdf )

移动应用UI设计模式.pdf

2015-03-25

BackTrack中文指南v10 密码:neuron.pdf )

BackTrack中文指南v10 密码:neuron.pdf

2015-03-25

pyqt5_python_Gui入门教程.docx )

pyqt5_python_Gui入门教程.docx

2015-03-25

黑客防线》2014年第5期杂志

黑客防线》2014年第5期杂志.pdf 黑客防线》2014年第5期杂志.pdf

2015-03-25

扫描器 ntcascn10

NTscan变态扫描器 非常好哟个 黑客相关 / 免费版 大家试试

2013-02-04

空空如也

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

TA关注的人

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