perloader

cmd 中文乱码解决 python中文执行错误解决

将CMD终端改为UTF-8格式 命令介绍: chcp 65001 #换成utf-8代码页 chcp 936 #换成默认的gbk chcp 437 #美国英语 运行regedit,打开注册表。 在HKEY_CURRENT_USER\Console\%SystemRoot%_system32_cmd.exe中找到CodePage。 双击打开CodePage,输入65001 没有就新建名为CodePage的Reg_DWORD,输入65001

.

Read more

php 跳转

header(“Location: http://google.com”);exit();  

.

Read more

ubuntu-19.04-x86_64更换源

/etc/apt/sources.list deb https://ubuntu.mirror.digitalpacific.com.au/archive/ disco main deb-src https://ubuntu.mirror.digitalpacific.com.au/archive/ disco main

.

Read more

重启远程主机的桌面以及剪切板

@echo off taskkill /f /im explorer.exe ping -n 5 127.0.0.1 > nul start explorer ping -n 5 127.0.0.1 > nul taskkill /f /t /im rdpclip.exe ping -n 5 127.0.0.1 > nul start C:\Windows\System32\rdpclip.exe ping -n 5 127.0.0.1 > nul @exit  

.

Read more

https://github.com/HaschekSolutions/pictshare https://getsharex.com/docs/custom-uploader https://github.com/WeebDev/lolisafe  

.

Read more

查看电脑保存过的所有密码

有几个win主机,RDP密码保存在windows的凭证管理器里面,忘了怎么办? Network Password Recovery https://www.nirsoft.net/utils/network_password_recovery.html 注意:64位的要下载对应版本才能查看。 x64

.

Read more

Windows Server 2016 两块硬盘组建raid1

打开Server manager,选择File and storage Services,选择Volumes,选择Disk,选择第二块硬盘Online.   打开Server manager,Tools菜单里选择Computer managerment,选择Disk managerment, 在第二块磁盘右键,选择转换为动态磁盘. 勾选disk 0和disk 1. 点OK,点转换 然后两块硬盘变成动态的标识。 点击硬盘0的每一个分区,分别add mirror 磁盘大要多等等,直到所有分区颜色变红色。大功告成。

.

Read more

反代网站出现 500 Internal Server Error

多半是磁盘满了,检查/usr/local/nginx/logs文件夹 du -h –max-depth=1 /usr/local/nginx/logs cat /dev/null > /usr/local/nginx/logs/access.log cat /dev/null > /usr/local/nginx/logs/error.log 可以在计划任务里面加入 3 3 * * * cat /dev/null > /usr/local/nginx/logs/access.log 5 3 * * * cat /dev/null > /usr/local/nginx/logs/error.log

.

Read more
xyz