Skip to content

Latest commit

 

History

125 Commits

Folders and files

NameName
Last commit message
Last commit date
 
 
 
 
 
 
 
 

Repository files navigation

Some Script

#GCP in qwiklabs.com
https://git.io/JUJgX
gcloud compute instances create hdh --machine-type e2-small --zone us-east1-b --boot-disk-size 200

#transmission
curl -L https://git.io/fhjPW | bash

#nginx for ubuntu
add-apt-repository ppa:nginx/stable

#xrdp_0.9.4-1 for xenial
add-apt-repository ppa:hermlnx/xrdp
#firefox-esr for ubuntu
add-apt-repository ppa:mozillateam/ppa -y && apt update && apt install firefox-esr
#chromium in Docker
https://dl.google.com/linux/direct/google-chrome-stable_current_amd64.deb
https://github.com/Hibbiki/chromium-win32/releases
chromium-browser --disable-dev-shm-usage --no-sandbox --disable-gpu

#qBittorrent Stable
sudo add-apt-repository ppa:qbittorrent-team/qbittorrent-stable
apt-get update && apt-get -y install qbittorrent-nox
qbittorrent-nox

#一键安装开启原版BBR
curl -sL https://github.com/teddysun/across/raw/master/bbr.sh | bash
wget -N https://gitlab.com/fscarmen/warp/-/raw/main/menu.sh && bash menu.sh
wget https://github.com/qwegg/dd/raw/master/Linux_reinstall/InstallNET.sh
SW=/var/swapfile && fallocate -l 1g $SW && chmod 600 $SW && mkswap $SW && swapon $SW
echo "$SW none swap sw 0 0" >> /etc/fstab

#释放磁盘保留空间
tune2fs -m 1 /dev/sda1

#docker模拟云手机

apt install linux-modules-extra-`uname -r`
modprobe binder_linux devices="binder,hwbinder,vndbinder"
modprobe ashmem_linux
docker run -itd --rm --memory-swappiness=0   --privileged \
      -v /root/data:/data -p 35555:5555   redroid/redroid:11.0.0-latest \
      androidboot.redroid_dpi=240 redroid.gpu.mode=guest

About

Some Script

Resources

Stars

0 stars

Watchers

0 watching

Forks

Packages

Used by

Contributors

Languages