自定义博客皮肤VIP专享

*博客头图:

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

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

博客底图:

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

栏目图:

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

主标题颜色:

RGB颜色,例如:#AFAFAF

Hover:

RGB颜色,例如:#AFAFAF

副标题颜色:

RGB颜色,例如:#AFAFAF

自定义博客皮肤

-+
  • 博客(13)
  • 资源 (1)
  • 收藏
  • 关注

原创 电脑控制手机发短信,shell send sms,adb,shellms,python,adb字数限制

最近需要用群发变量短信因短信平台不支持链接变量,且数量不大所以用打算用手机发送。

2024-09-13 16:45:18 203

原创 netplan报错,可能是格式问题

netplan小坑

2022-07-18 17:12:16 1204 1

原创 树莓派安装emby,ipv6外网访问,个人家庭影院

树莓派安装emby,无ip4公网地址,用ipv6实现外网访问的操作记录

2022-06-29 17:06:17 5579

原创 利用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 1779

原创 树莓派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 599

原创 树莓派4b部署 samba 遇到的问题

树莓派4b部署 samba 遇到的问题一、硬件问题之前有一个树莓派3b,在samba共享的时候,看视频很卡。经过排查,发现是网线的问题,之前用的网线是不知道从哪儿捡回来的线。换了根网线之后,用iperf3,测试网速直接从100mbps 升到300mbps。于是直接网购了几条超6类线。二、smb.config 设置问题。安装过程不再赘述。iperf3测试速度在940mbps。但是samb...

2020-04-08 13:49:20 4080 4

原创 python selenum学习笔记(一) 登录bilibil

@[TOC](python selenum学习笔记(一) 登录bilibil)利用selenum模拟浏览器操作登录bilibili之前学习网站内容抓取的时候,一般都是get方法,获取response,主要是对HTML内的元素进行抓取。要获得与js代码交互之后的内容不是很方便。利用 selenum 来进行一些交互操作就很便利了。目前学习中。代码及思路一、首先启动selenum的浏览器模拟...

2020-03-31 10:44:50 488

原创 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 743

原创 python学习笔记 tkinter界面、后台同步问题

问题1:tkinter的事件运行时间长,界面卡住无响应的问题。问题解析,tkinter的运行是一个死循环。from tkinter import *root = Tk()root.mainloop()这个循环开始后,只有我们设置的事件中断。但如果,设置了一个按钮,绑定一个函数,这个函数执行的时间需要5秒钟。那么这个root.mainloop()的循环就要暂停5秒,在界面上看上去就是卡住...

2019-07-07 21:17:23 1828 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 3167

c___s_t_d_i_n_t_._h_____c(C语言 库文件)

听说这个有用 The following are typedefs of fundamental integral types or extended integral types. signed type unsigned type description intmax_t uintmax_t Integer type with the maximum width supported. int8_t uint8_t Integer type with a width of exactly 8, 16, 32, or 64 bits. For signed types, negative values are represented using 2's complement. No padding bits. Optional: These typedefs are not defined if no types with such characteristics exist.* int16_t uint16_t int32_t uint32_t int64_t uint64_t int_least8_t uint_least8_t Integer type with a minimum of 8, 16, 32, or 64 bits. No other integer type exists with lesser size and at least the specified width. int_least16_t uint_least16_t int_least32_t uint_least32_t int_least64_t uint_least64_t int_fast8_t uint_fast8_t Integer type with a minimum of 8, 16, 32, or 64 bits. At least as fast as any other integer type with at least the specified width. int_fast16_t uint_fast16_t int_fast32_t uint_fast32_t int_fast64_t uint_fast64_t intptr_t uintptr_t Integer type capable of holding a value converted from a void pointer and then be converted back to that type with a value that compares equal to the original pointer. Optional: These typedefs may not be defined in some library implementations.* Some of these typedefs may denote the same types. Therefore, function overloads should not rely on these being different. * Notice that some types are optional (and thus, with no portability guarantees). A particular library implementation may also define additional types with other widths supported by its system. In any case, if either the signed or the unsigned version is defined, both the signed and unsigned versions are defined.

2019-06-26

空空如也

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

TA关注的人

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