上一页 1 2 3 4 5 6 7 8 9 ··· 97 下一页
摘要: python获取图片中某个像素的坐标 模糊查询 from PIL import Image def zhaose(pic,r1,g1,b1): img = Image.open(pic) pixels = img.load() width, height = img.size xy={}; xy[' 阅读全文
posted @ 2022-08-16 00:01 newmiracle宇宙 阅读(1324) 评论(0) 推荐(0) 编辑
摘要: -- 测试协程 local thread = require('thread') --处理协程的错误 local thread_id = thread.create(function() nLog('2再运行协程') nLog('这里触发了就会继续切换到主线程 不会因为延迟堵塞') msleep(3 阅读全文
posted @ 2022-08-14 10:14 newmiracle宇宙 阅读(214) 评论(0) 推荐(0) 编辑
摘要: local dituxylist={{x=2,y=2},{x=3,y=3}} print(dituxylist[1].x); 对象 数组 阅读全文
posted @ 2022-08-11 12:51 newmiracle宇宙 阅读(15) 评论(0) 推荐(0) 编辑
摘要: 触摸精灵教程1 1 先注册账号 这里需要注意有2个账号!! 1个是开发平台的 1个是手机上的安卓触摸精灵的账号 2个不一样的 2个账号注册好 然后进入开发平台 绑定安卓触摸精灵的账号就可以了 3 雷电模拟器 要设置桥接模式 网络设置下 就好 4 打开TS studio编辑 main.lua 写个di 阅读全文
posted @ 2022-08-08 21:02 newmiracle宇宙 阅读(193) 评论(0) 推荐(0) 编辑
摘要: PHP list输出key value的方法 <?php $ss=array(); $ss['xx']=3; $ss['yy']=4; list($xx,$yy)=array_values($ss); print_r($xx); ?> 阅读全文
posted @ 2022-07-28 21:03 newmiracle宇宙 阅读(120) 评论(0) 推荐(0) 编辑
摘要: PHP创建临时cookie的方法 cookie('aaaaaaaa', 'xxxxxxxxxxxx', ''); 不设置时间就可以了 接下来自己实现session cookie都是服务端创建 返回到浏览器保存的 然后浏览器每次请求都带这个cookie 服务端可以用redis 一临时cookie为ke 阅读全文
posted @ 2022-07-17 16:31 newmiracle宇宙 阅读(47) 评论(0) 推荐(0) 编辑
摘要: 给别的域名添加cookie的方法 自己弄个本地服务器 然后设置顶级域名对应的二级域名 就行了 二级域名可以设置顶级域名的cookie 阅读全文
posted @ 2022-07-16 13:55 newmiracle宇宙 阅读(377) 评论(0) 推荐(0) 编辑
摘要: pixijs mask 注意的问题 黑色 透明都不是显示的 其他颜色都是显示的区域 阅读全文
posted @ 2022-07-05 13:58 newmiracle宇宙 阅读(143) 评论(0) 推荐(0) 编辑
摘要: 百里守约100%瞬狙 from pykeyboard import PyKeyboard import time k = PyKeyboard() k.press_key(k.space) k.release_key(k.space) time.sleep(0.5); k.press_key('w' 阅读全文
posted @ 2022-06-15 00:29 newmiracle宇宙 阅读(141) 评论(0) 推荐(0) 编辑
摘要: import os import sys from PIL import Image from PIL import ImageDraw import keyboard import pyautogui import time import math import pyautogui as pag 阅读全文
posted @ 2022-06-13 19:35 newmiracle宇宙 阅读(39) 评论(0) 推荐(0) 编辑
上一页 1 2 3 4 5 6 7 8 9 ··· 97 下一页