- first update firmware for your disk external box
- update your CrystalDiskInfo to 8.0.0
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
@echo off | |
set "path=%path%;%~dp0cwRsync_5.5.0_x86_Free\bin" | |
start cmd |
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
PROG=/usr/sbin/Pcap_DNSProxy | |
LOGTIME=$(date "+%Y-%m-%d %H:%M:%S") | |
if [ $(ps|grep ${PROG}|grep -v grep|wc -l) -ge 1 ]; then | |
echo "['$LOGTIME'] Pcap_DNSProxy is running, PID is $(pidof ${PROG##*/})" | |
else | |
echo "['$LOGTIME'] Pcap_DNSProxy is not running." | |
/etc/init.d/pcap-dnsproxy start | |
fi |
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
cmdkey /generic:git:https://github.com /user:PersonalAccessToken /pass:<TokenKey> | |
cmdkey /delete:git:https://github.com |
如果你已更新到最新版本的Android 10/11/12,则可能已经注意到Magisk存储库中的ViPER4Android不再起效。 不过你很幸运!如果按照此页面上的步骤进行操作,你将即刻在Android 10/11/12上运行ViPER4Android。 不过当心,你必须遵循以下步骤进行操作,否则必须从步骤1重新开始。
- 如果你有安装ViPER4Android和Audio Modification Library模块,请在Magisk Manager中卸载它们。然后重启设备。
从XDA Labs下载最新的[ViPER4Android FX apk][]。下载[Viper4AndroidFX 2.7][Zackptg5]模块。
- Use
curl
to get the JSON response for the latest release - Use
grep
to find the line containing file URL - Use
cut
andtr
to extract the URL - Use
wget
to download it
curl -s https://api.github.com/repos/jgm/pandoc/releases/latest \
| grep "browser_download_url.*deb" \
| cut -d : -f 2,3 \
| tr -d \" \
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
get_latest_release() { | |
curl --silent "https://api.github.com/repos/$1/releases/latest" | # Get latest release from GitHub api | |
grep '"tag_name":' | # Get tag line | |
sed -E 's/.*"([^"]+)".*/\1/' # Pluck JSON value | |
} | |
# Usage | |
# $ get_latest_release "creationix/nvm" | |
# v0.31.4 |
Windows To Go 与 典型的 Windows 安装的区别
- 本机磁碟不会自动联机
- 没有WinRE环境
Windows To Go 的部署过程可以参考我前面的文章
除了以上两个区别,Windows To Go 与传统 Windows 系统的差别在于两个注册表键值BootDriverFlags
和PortableOperatingSystem
- BootDriverFlags 用于控制硬件启动顺序,让系统能在USB介面上启动的最重要的控制项
- PortableOperatingSystem 用于控制系统是否允许进行更新
- 分区创建
select volume W
clean
convert mbr
create partition primary size 350
create partition primary
select partition 1