- 博客(13)
- 资源 (1)
- 收藏
- 关注
原创 电脑控制手机发短信,shell send sms,adb,shellms,python,adb字数限制
最近需要用群发变量短信因短信平台不支持链接变量,且数量不大所以用打算用手机发送。
2024-09-13 16:45:18 212
原创 利用frp、3proxy、Proxifier,外网访问内网服务
利用frp、3proxy、Proxifier,外网访问内网服务背景介绍原来的情况如下图后来,需要在外网用这个客户端访问内网服务器。而程序员已经离职…因内网服务器本身没有外网连接,所以需要另一台,可以访问外网又可以访问内网的电脑,做一下内网穿透和代理。东拼西凑,最后成为这么一个东西逻辑如下,PC-1 需要访问 PC-0(111.111.111.11:8888)(程序写死不能修改),因为PC-0在内网中,想要访问内网就需要,先访问PC-4(222.222.222.22:9001)这frp的服务端
2021-07-08 11:45:57 1784
原创 树莓派4b 安装配置vsftpd服务
树莓派4b 安装配置vsftpd服务虽然onedrive很方便,但是容量太小了。两个移动硬盘带身上也很不方便。个人云的那些系统有点麻烦。所以…1、启用ssl。据说ftp登录时明文不安全,所以:sudo sh -c 'openssl req -new -x509 -nodes -out vsftpd.pem -keyout vsftpd.pem'sudo cp vsftpd.pem /et...
2020-04-11 11:48:48 601
原创 树莓派4b部署 samba 遇到的问题
树莓派4b部署 samba 遇到的问题一、硬件问题之前有一个树莓派3b,在samba共享的时候,看视频很卡。经过排查,发现是网线的问题,之前用的网线是不知道从哪儿捡回来的线。换了根网线之后,用iperf3,测试网速直接从100mbps 升到300mbps。于是直接网购了几条超6类线。二、smb.config 设置问题。安装过程不再赘述。iperf3测试速度在940mbps。但是samb...
2020-04-08 13:49:20 4090 4
原创 python selenum学习笔记(一) 登录bilibil
@[TOC](python selenum学习笔记(一) 登录bilibil)利用selenum模拟浏览器操作登录bilibili之前学习网站内容抓取的时候,一般都是get方法,获取response,主要是对HTML内的元素进行抓取。要获得与js代码交互之后的内容不是很方便。利用 selenum 来进行一些交互操作就很便利了。目前学习中。代码及思路一、首先启动selenum的浏览器模拟...
2020-03-31 10:44:50 491
原创 python学习笔记之pyinstaller、tkinter、subprocess与win32api
python学习笔记之pyinstaller、tkinter、subprocess与win32api首先用pyinstaller打包应用程序还是很爽的。但是随着使用深入,遇到一些问题。tkinter设置窗口图标后产生的问题root.iconbitmap('fullpath/myicon.ico')如果设置了窗口图标的时候需要用绝对路径。否则打包之后会找不到图标文件。使用subproce...
2019-08-02 12:39:40 555
原创 微信小程序 BLE 开发笔记(1)
微信小程序开发记录BLE背景知识ble是低功耗蓝牙设备,特点是省电、传输效率低。比如手环、腕表、无线耳机等。1、设备提供多个service,每个service有一个uuid,这个uuid有一定的统一命名。2、每个service下,有一个或多个characteristic。3、每个characteristic,提供read、write、notify 、indicate 等功能中的一个或多个...
2019-07-25 17:46:01 749
原创 python学习笔记 tkinter界面、后台同步问题
问题1:tkinter的事件运行时间长,界面卡住无响应的问题。问题解析,tkinter的运行是一个死循环。from tkinter import *root = Tk()root.mainloop()这个循环开始后,只有我们设置的事件中断。但如果,设置了一个按钮,绑定一个函数,这个函数执行的时间需要5秒钟。那么这个root.mainloop()的循环就要暂停5秒,在界面上看上去就是卡住...
2019-07-07 21:17:23 1831 1
原创 python学习笔记之 Django,UWSGI,NGINX部署遇到的问题
Django,UWSGI,NGINX部署的几个问题1、Django 需要 sqlite3 版本升级的问题。https://blog.csdn.net/sunt2018/article/details/90712063wget https://www.sqlite.org/2019/sqlite-autoconf-3280000.tar.gztar -zxvf sqlite-autoconf...
2019-07-07 20:09:44 114
原创 python学习笔记1,家里的服务器实现 动态dns
python 动态dns因为某些需要,需要访问家里的服务器,但家里联通网络的外网ip一直在换。所以需要动态dns。1、获取主机外网的真实IP地址。www.trackip.net这个网站可以返回IP,很方便。import requests url = r'http://www.trackip.net/ip' r = requests.get(url) txt = r.text但是出...
2019-07-07 19:33:55 276
原创 raspberrypi,安装使用gphoto2,控制单反相机
raspberrypi,安装使用gphoto2,控制单反相机1.raspberrypi 更新源有两个文件/etc/apt/sources.list/etc/apt/sources.list.d/raspi.list具体修改看参考链接参考链接http://mirrors.ustc.edu.cn/help/archive.raspberrypi.org.htmlhttps://mir...
2018-12-17 10:20:24 3173
c___s_t_d_i_n_t_._h_____c(C语言 库文件)
2019-06-26
空空如也
TA创建的收藏夹 TA关注的收藏夹
TA关注的人