DD安装操作系统

MoeClub 022a629788 Update README.MD hace 2 años
AnyConnect e7aec1c52c Update vlmcsd.service hace 2 años
Applications 762336cd66 Update README.MD hace 5 años
Aria2 698d49d3cd Add files via upload hace 3 años
AriaNgGUI 78c15add12 Add files via upload hace 4 años
Charles 9f1761ee02 Update README.MD hace 3 años
Clearn 6702c228a7 Create logs.sh hace 5 años
Deluge 4a6d47716b Update deluge.sh hace 4 años
Dictionary e887ebe4ab Delete README.MD hace 5 años
Edge 927b51f52d Update README.MD hace 5 años
Firefox 112c41c74c Delete README.MD hace 3 años
Navicat 02daf33136 Update navicat14.sh hace 2 años
Note 1172025737 Update README.MD hace 5 años
OneDrive b1dd3fca67 Create README.MD hace 5 años
Oracle ce6f4b8df4 Update README.MD hace 2 años
SecureCRT.SecureFX 1e54905687 Update Default.ini hace 3 años
SoftEther dbdaec7fd6 Delete NM34_x64.exe hace 3 años
SpeedTest b4060ebc61 Update install.sh hace 3 años
UltraEdit 4e8f91115f Add files via upload hace 2 años
ffmpeg 08fdd2e1f2 Update media.sh hace 5 años
hping 2e465bb821 Add files via upload hace 5 años
qBittorrent 12e081cb9d Update qBittorrent.conf hace 2 años
stunnel 022a629788 Update README.MD hace 2 años
win32loader e1ee893018 Delete README.MD hace 4 años
115.user.js a5fecfb6d0 Add files via upload hace 3 años
BBR.sh 518000c92d Create BBR.sh hace 3 años
BlockOTA.mobileconfig 46737768e6 Add files via upload hace 5 años
InstallNET.Legacy.sh f48fa14f3c Rename InstallNET.sh to InstallNET.Legacy.sh hace 4 años
InstallNET.sh 831e378278 Update InstallNET.sh hace 3 años
LinuxInit.sh acee59f093 Update LinuxInit.sh hace 2 años
MacInitial.sh 6859aac6c9 Update MacInitial.sh hace 4 años
MacOS.sh 931a99a342 Add files via upload hace 2 años
ORACLE.MD 7b25f4587a Update ORACLE.MD hace 3 años
OracleAction.py d189d48b19 Add files via upload hace 4 años
README.md 4a54e5b50f Update README.md hace 2 años
TGStreamer.py cabbce6af0 Add files via upload hace 2 años
aria2c.conf afa3444544 Create aria2c.conf hace 4 años
binlist.csv.zip ad9944d426 Add files via upload hace 4 años
device.json 099291f847 Add files via upload hace 4 años
docker.sh a9e5170b4c Update docker.sh hace 3 años
php.sh 27ff2990bf Update php.sh hace 3 años
rand.sh 5343387394 Update rand.sh hace 4 años
sqlite3.py 430045f083 Update sqlite3.py hace 3 años
wget.sh 6bcef9f23e Update wget.sh hace 3 años
win32loader.bat 42ba0a76d8 Add files via upload hace 4 años

README.md

Note

MacOS

###

sudo xattr -r -d com.apple.quarantine </File/To/Path>

Uncheck "Reopen windows when logging back in" by defaults

defaults write com.apple.loginwindow TALLogoutSavesState -bool FALSE

Diasble other account

defaults write com.apple.loginwindow SHOWOTHERUSERS_MANAGED -bool FALSE

Clear system update red notice

defaults delete com.apple.systempreferences AttentionPrefBundleIDs && killall Dock

Clear App Store Update Notification

defaults write /Library/Preferences/com.apple.AppStore.plist DisableSoftwareUpdateNotifications -bool TRUE
defaults write com.apple.appstored.plist BadgeCount 0 && killall Dock

System update notice

# disable
sudo chmod 644 /System/Library/PrivateFrameworks/SoftwareUpdate.framework/Versions/A/Resources/SoftwareUpdateNotificationManager.app/Contents/MacOS/SoftwareUpdateNotificationManager

# enable
sudo chmod 751 /System/Library/PrivateFrameworks/SoftwareUpdate.framework/Versions/A/Resources/SoftwareUpdateNotificationManager.app/Contents/MacOS/SoftwareUpdateNotificationManager

MacOS System & App Store

# check
/usr/libexec/nsurlsessiond

# notice
/System/Library/PrivateFrameworks/SoftwareUpdate.framework/Versions/A/Resources/SoftwareUpdateNotificationManager.app/Contents/MacOS/SoftwareUpdateNotificationManager

# download
/System/Library/PrivateFrameworks/MobileSoftwareUpdate.framework/Support/softwareupdated

Delete system file

# Disbale SIP (command + r)
csrutil disable
csrutil authenticated-root disable

# Mount '/' as write
sudo mount -uw /

# Do something
sudo cd "/Volumes/$(ls -1 /Volumes|head -n1)"
sudo rm -rf /System/Applications/TV.app
sudo rm -rf /System/Applications/News.app
sudo rm -rf /System/Applications/Home.app
sudo rm -rf /System/Applications/Books.app
sudo rm -rf /System/Applications/Chess.app
sudo rm -rf /System/Applications/Podcasts.app
sudo rm -rf /System/Applications/Stocks.app
sudo rm -rf /System/Applications/Music.app

# Enable SIP
csrutil enable
csrutil authenticated-root enable

Modify user name and folder

  • Create a user as Administrator, like "temp".
  • Login "temp".
  • Change user name and folder.
  • Disable SIP.
  • Use sudo mv <OldFolder> <NewFolder> to rename folder.
  • Enable SIP.
  • Login.
  • Delete user "temp".

7z with MacOS

curl -sSL "https://www.7-zip.org/a/7z2107-mac.tar.xz" |tar -C /tmp -zxv 7zz && sudo mv /tmp/7zz /usr/local/bin/7z && sudo chmod a+x /usr/local/bin/7z