笔记
jio本小子
纪录片导演
展开
-
随身wifi刷机
运行刷机脚本途中按任意键继续,多按几次。运行flash.bat。原创 2024-02-05 13:15:39 · 899 阅读 · 0 评论 -
nginx反向代理
代理在网络中使用是比较常见的,比如我们说的最多的就是翻墙软件,比如s s、蓝deng等这些大家常用的软件,他们就是能改代理大家访问国内无法访问的一些国外网站,比如face*book、YouTub *e等网站。其原理也比较简单:1)用户将请求发给代理服务器2)代理服务器代用户去访问数据3)代理服务器将数据给用户正常没有代理情况上网代理服务器场景代理服务器扮演的就是一个中间人的角色。代理分为正向代理和反向代理两种类型:正向代理:代理用户访问其他网站,比如ss,蓝灯。原创 2024-01-05 17:06:08 · 584 阅读 · 0 评论 -
探讨几种在CentOS 7上实现文件上传的方法
最近服务器过期了,把之前服务器的数据库都备份了下来,现在准备迁移各种服务,这就涉及到文件传输。之前用得多的都是xshell里的xtp来传,校园网禁用了ssh协议,还有一大堆乱七八糟的协议,我一般用的代理方法或者使用其他网络方法,内网穿透啥的。现在开辟几条新方法。原创 2023-12-01 03:05:09 · 3243 阅读 · 0 评论 -
vscode中的神级html插件
VSCODE上的神级插件Html play原创 2022-11-18 17:13:21 · 1691 阅读 · 0 评论 -
mysql入门练习
MySQL入门原创 2022-11-16 15:16:14 · 442 阅读 · 0 评论 -
mysql经典案例带解析(你没见过的全新版本)55题
mysql练习60多道题原创 2022-11-15 23:03:50 · 614 阅读 · 0 评论 -
mysql常用命令
mysql笔记原创 2022-11-15 11:01:09 · 212 阅读 · 0 评论 -
adb动画速度命令
开启1.25倍速度ADB SHELLadb shellsettings put global window_animation_scale 1.25settings put global transition_animation_scale 1.25settings put global animator_duration_scale 1.25还原settings get global window_animation_scale settings get global transiti原创 2022-03-24 02:45:37 · 3572 阅读 · 0 评论 -
ERROR: Could not find a version that satisfies the requirement *** (from versions: none) ERROR:
提示:找不到模块解决办法先到网上把需要的库下载下来再安装库ctrl+f查找需要的库下载到本地原创 2022-01-24 09:03:46 · 1082 阅读 · 0 评论 -
python 3自动发邮件2022
刚刚看了一下python发邮件的文章,发现之前的模块改名了,以前的好多方法都不适用了…教程开始首先安装模块PS M:\pythonProject> pip install smtplibERROR: Could not find a version that satisfies the requirement smtplib (from versions: none)ERROR: No matching distribution found for smtplib如果提示找不到模块建议原创 2022-01-24 09:01:42 · 347 阅读 · 1 评论 -
You are using pip version 9.0.3, however version 18.1 is available. You should consider upgrading vi
跟新PIP库python -m pip install --upgrade pip原创 2022-01-23 09:07:21 · 224 阅读 · 0 评论 -
使用pip install 时报错:“Fatal error in launcher: Unable to create process using ‘....”
我的是因为安装了python的多个版本where pip查看到了好几个解决办法删掉,只留一个或者设置环境变量原创 2022-01-22 22:59:54 · 519 阅读 · 0 评论 -
安卓adb显秒命令
adb shell settings put secure clock_seconds 1原创 2022-01-22 21:53:31 · 2885 阅读 · 0 评论 -
sony z5p卸载垃圾程序脚本
刚刚找手柄翻出来了Z5P,插上电发现还能用adb shellpm uninstall -k --user 0 jp.co.fsi.fs1segpm uninstall -k --user 0 jp.dmapnavi.navi02pm uninstall -k --user 0 com.sony.drbd.reader.other.jppm uninstall -k --user 0 com.rsupport.rs.activity.nttpm uninstall -k --user 0 com.原创 2022-01-22 21:26:42 · 1978 阅读 · 0 评论 -
centos删除文件最后一行
sed -i '$d' 1.txt 删除1.txt文件的最后一行原创 2022-01-21 10:49:00 · 867 阅读 · 0 评论 -
centos(linux)查看文本最后几行命令
centos(linux)查看文本最后几行命令准备写个挨个读取文本内邮箱账号并且每间隔一分钟发一条邮件的脚本(一次发太多会被判定为辣鸡邮件)爬虫爬下了几千个邮箱,学校同学的,现在给他们发放假通知…直接上命令tail -n 1 kxj.txt查看kxj.txt里的最后一行...原创 2022-01-21 10:41:02 · 1249 阅读 · 0 评论 -
linux查看文件个数命令
准备写一个脚本判断目录下文件个数,如果有新增,自动发邮箱提示我需要用到查看目录下文件个数的命令ls -l |grep "^-"|wc -l 不详细结束该命令查看当前目录下文件个数ls -l |grep “^-”|wc -l查看当前目录下,所以文件个数,包括当前目录下子文件夹中的所以文件。ls -lR|grep “^-”|wc -l查看当前目录下文件夹的个数ls -lR|grep “^d”|wc -l...原创 2022-01-09 03:02:28 · 5146 阅读 · 0 评论 -
dos以时间命名文件
我超,就是这个,坑了我好几分钟.dt是我们的变量,把文件的名字设置为时间set dt=%date:~0,4%-%date:~5,2%-%date:~8,2%-%time:~0,2%-%time:~3,2%curl ipv4.icanhazip.com >> D:\Program\%dt%.txt <nul原创 2022-01-09 02:14:31 · 580 阅读 · 0 评论 -
centos计划任务定时执行脚本
centos定时执行shell脚本任务原创 2022-01-08 12:55:10 · 3052 阅读 · 0 评论 -
windows不换行写入文本
我要记录自己的IP并且上传到linux服务器,每天都定时发机器的公网IP到我的邮箱,但是windows上的换行符会出现在vi编辑器中导致出现一大堆^M ,我现在准备把时间和ip写在同一行之前写的脚本是这样Date /T >> iplog.txt time /t >> iplog.txtcurl ipv4.icanhazip.com >> iplog.txt 输出的结果是分行的像这样2021/10/31 周日 03:3112.12.23.18320原创 2022-01-08 02:57:31 · 531 阅读 · 0 评论 -
windows获取当前日期时间命令
set dt=%date:~0,4%-%date:~5,2%-%date:~8,2%-%time:~0,2%:%time:~3,2%:%time:~6,2%echo %dt%不用设置变量直接输出也行原创 2022-01-08 02:06:12 · 2495 阅读 · 0 评论 -
centos给返回值赋值
原本的返回是这样的[root@centos]# cat 1.txt ssssssssssssssssssssddddddddddddddddd例如把cat 1.txt的返回值赋值给text1[root@-centos ]# text1=$(cat 1.txt)[root@centos ]# echo $text1ssssssssssssssssssssddddddddddddddddd原创 2022-01-08 01:43:00 · 1211 阅读 · 0 评论 -
adb 获取GPS信息命令
代码很简单不过会输出很长一段接近400行adb shell dumpsys location可以写进文本方便查看adb shell dumpsys location > D:\gps\gps.txt文本内容也多不好查看建议用type命令查看关键内容type D:\gps\gps.txt | findstr location=Location[networktype D:\gps\gps.txt findstr location=Location[gps这是里面包含经纬度的信息原创 2022-01-08 00:55:52 · 2677 阅读 · 0 评论 -
centos7自动发邮件
1.安装mailxyum install mailx -y2.编辑配置文件主要是登录邮箱这里以QQ为例vi /etc/mail.rc 里面写入set from=232326683@qq.com# qq邮箱或者其他邮箱 set smtp=smtp.qq.com # smtp地址 set smtp-auth-user=23原创 2022-01-07 03:41:29 · 763 阅读 · 0 评论 -
windows自动发送文件到FTP服务器脚本
家里有公网IP但是是动态的导致IP可能几天就变动一次这就有点麻烦。当然也有很多也试过很多方案比如用zerotier做内网穿透做备选方案或者路由器设置花生壳绑定域名当然如果每天能自动发把IP发到我的邮箱就更好了,之前想过用VBS自动发邮件,但是因为不够刺激我就拒绝了。现在的方案:1.利用BAT脚本自动把公网IP的值获取下来存到文本里Date /T >> C:\iplog.txttime /t >> C:\iplog.txtcurl ipv4.icanhazip.com &原创 2022-01-07 02:43:25 · 2524 阅读 · 0 评论 -
夏普SHV41 卸载应用 ADB 卸载脚本
夏普SHV41 卸载应用 ADB 卸载脚本刚刚重新恢复出厂设置顺便写了个脚本,干净又卫生链接:https://www.lanzouw.com/i0gunx4dn2f脚本echo 用户应用adb shell pm uninstall -k --user 0 jp.co.sharp.android.sharpdatabackupadb shell pm uninstall -k --user 0 com.kddi.android.auemailadb shell p原创 2021-12-02 00:57:39 · 1259 阅读 · 2 评论 -
CentOS.7系统搭建PPTP
CentOS.7系统PPTP安装手册内网IP:10.18.1.24 网卡ens33系统centos7 2009账号名:user 密码:1234561、查看是否支持PPTP服务[root@ZHUJI]# modprobe ppp-compress-18 && echo yesyes[root@ZHUJI]# cat /dev/pppcat: /dev/ppp: 没有那个设备或地址2、关闭firewalld防火墙和安装需要的包#停止和禁用firewalld[roo原创 2021-10-27 22:16:13 · 2564 阅读 · 1 评论 -
FTP配置文件说明大全
FTP配置文件说明大全转载 2021-06-05 13:25:41 · 112 阅读 · 0 评论 -
在校园内用普通电脑搭建linux服务器
在校园内用普通电脑搭建linux服务器怎么搭建一个在全校都能访问的服务器?不想在电脑上装linux系统,怎么搭建一个全校都能访问的服务器咧?用VMware+windows端口转发就可以解决具体教程:准备:centos7镜像,VMware,一个windos系统(这里以windos10为例)1.先用VMware安装centos虚拟机,注意:这里要用NAT模式,这样能连上主机2.安装好以后配置网卡文件,重启网络。默认的网卡在/etc/sysconfig/network-scripts/目录下,原创 2021-03-06 17:06:45 · 1174 阅读 · 0 评论 -
xhell连接linux
使用xshell连接Linux服务器1.查看ip[root@localhost xtn]# ifconfig 或者[root@localhost xtn]# ip addr2.安装xshell,先安装环境然后点绿化,安装后可以使用输入ip,用户名密码进行连接原创 2021-03-06 16:38:31 · 72 阅读 · 0 评论 -
centos7安装配置vnc,实现远程访问
centos7安装并且配置vnc**准备:**一台centos虚拟机(需要安装图形界面没有安装的可以安装一下),vnc安装包1.安装vnc的相关程序[root@localhost /]# yum -y install vnc *vnc-server*2.复制文件进入文件夹/lib/systemd/system/复制文件vncserver@.service到/etc/systemd/system/目录下[root@localhost /]# cd /lib/systemd/system/[roo原创 2021-03-06 14:41:04 · 1092 阅读 · 0 评论