博文

openwrt 6300V2 USB无法显示的问题

图片
lsusb and fdisk -l There's a method to turn USB power on which is probably not persistent. I hope this will help you. echo 0 > /sys/class/gpio/export echo out > /sys/class/gpio/gpio0/direction echo 1 > /sys/class/gpio/gpio0/value echo 0 > /sys/class/gpio/unexport At this time, you can add these code to /etc/rc.local for your convenience, which should be executed once the system init finished. But pay attention to the system upgrade which could overwrite this file. I will contribute a kernel patch in order to make this change persistent soon. You can mark this topic as [Solved] when your problem is solved. 燕兴图文广告 cnxiantao@qq.com

windown10开机背景好图收藏

 %UserProfile%\AppData\Local\Packages\Microsoft.Windows.ContentDeliveryManager_cw5n1h2txyewy\LocalState\Assets 目录下的文件改成JPG格式即可  

VPS DD LINUX

# Debian 与 Ubuntu apt-get install -y xz-utils openssl gawk file # CentOS 与 RedHat yum install -y xz openssl gawk file wget wget --no-check-certificate -qO InstallNET.sh 'https://moeclub.org/attachment/LinuxShell/InstallNET.sh' && chmod a+x InstallNET.sh # 安装 debian 11 64位  -p指定密码 bash InstallNET.sh -d 11 -v 64 -a -p 123456 --mirror 'http://mirrors.ustc.edu.cn/debian/' # 安装 debian 12 64位  -p指定密码 bash InstallNET.sh -d 12 -v 64 -a -p 123456 --mirror 'http://mirrors.ustc.edu.cn/debian/'

How to install WSL on Windows 10 Enterprise LTSC

  Then, open a  Powershell  console as Administrator and download the  .appx  of your preferred distro: Ubuntu 18.04 Ubuntu 18.04 ARM Ubuntu 16.04 Debian GNU/Linux Kali Linux OpenSUSE Leap 42 SUSE Linux Enterprise Server 12 Fedora Remix for WSL Invoke-WebRequest -Uri https://aka.ms/wsl-debian-gnulinux -OutFile Debian.appx -UseBasicParsing Add-AppxPackage .\Debian.appx

windows10 命令行 重置文件夹权限

管理员运行CMD icacls " 文件夹路径 " /reset /T /C

windows 创建存储池,不支持该请求 0x00000032

解决方法,用管理员身份运行  PowerShell  输入以下命令,先查看物理磁盘状态 PS C:\Windows\system32> Get-PhysicalDisk DeviceId FriendlyName         SerialNumber         MediaType   CanPool OperationalStatus HealthStatus Usage        Size -------- ------------         ------------         ---------   ------- ----------------- ------------ -----        ---- 2        WDC WD400BB-00JHA0   WD-WMAMC1388003      Unspecified False   OK                Healthy      Auto-Select ...GB 0        ST3808110AS          5LRDLM2E             Unspecified False   OK                Healthy      Auto-Select ...GB 1  ...

docker on debian 11

apt update apt install apt-transport-https ca-certificates curl gnupg2 software-properties-common curl -fsSL https://download.docker.com/linux/debian/gpg | apt-key add - add-apt-repository "deb [arch=amd64] https://download.docker.com/linux/debian $(lsb_release -cs) stable" apt update apt install docker-ce

WIN10 LTSBLTSC 恢复使用照片查看器打开图片

WIN10 LTSBLTSC 恢复使用照片查看器打开图片 @echo off&cd\&color 0a&cls echo 恢复Win10照片查看器 reg add "HKLM\SOFTWARE\Microsoft\Windows Photo Viewer\Capabilities\FileAssociations" /v ".jpg" /t REG_SZ /d PhotoViewer.FileAssoc.Tiff /f reg add "HKLM\SOFTWARE\Microsoft\Windows Photo Viewer\Capabilities\FileAssociations" /v ".jpeg" /t REG_SZ /d PhotoViewer.FileAssoc.Tiff /f reg add "HKLM\SOFTWARE\Microsoft\Windows Photo Viewer\Capabilities\FileAssociations" /v ".bmp" /t REG_SZ /d PhotoViewer.FileAssoc.Tiff /f reg add "HKLM\SOFTWARE\Microsoft\Windows Photo Viewer\Capabilities\FileAssociations" /v ".png" /t REG_SZ /d PhotoViewer.FileAssoc.Tiff /f reg add "HKLM\SOFTWARE\Microsoft\Windows Photo Viewer\Capabilities\FileAssociations" /v ".gif" /t REG_SZ /d PhotoViewer.FileAssoc.Tiff /f reg add "HKLM\SOFTWARE\Microsoft\Windows Photo Viewer\Capabilities\FileAssociations" /v ".ico" /t REG_S...

Install Shadowsocks-libev + simple-obfs on Ubuntu 16.04

Install shadowsocks-libev via Ubuntu PPA sudo apt-get install software-properties-common -y sudo add-apt-repository ppa:max-c-lv/shadowsocks-libev -y sudo apt-get update sudo apt install shadowsocks-libev Install  simple-obfs apt-get install --no-install-recommends build-essential autoconf libtool libssl-dev libpcre3-dev libev-dev asciidoc xmlto automake git clone https://github.com/shadowsocks/simple-obfs.git cd simple-obfs git submodule update --init --recursive ./autogen.sh ./configure && make make install Start  shadowsocks-libev  server systemctl enable shadowsocks-libev.service systemctl start shadowsocks-libev.service systemctl status shadowsocks-libev.service Install & enable BBR TCP congestion control apt install --install-recommends linux-generic-hwe-16.04 apt autoremove modprobe tcp_bbr echo " tcp_bbr " >> /etc/modules-load.d/modules.conf echo " net.core.default_qdisc=fq " >> /etc/sysctl.conf echo " net.ipv4.tcp_cong...