MD5: 59bab8f71f8c096cd3f72cd73851515d
Rename it to: Sublime Text
Make it executable with: chmod u+x Sublime\ Text
| #!/bin/bash | |
| CYAN="$(tput bold; tput setaf 6)" | |
| RESET="$(tput sgr0)" | |
| clear | |
| if command -v python3 > /dev/null 2>&1; then | |
| if [ $(python3 -c "print('ye')") = "ye" ]; then | |
| clear |
| #!/usr/bin/env swift | |
| // | |
| // REPL.swift | |
| // | |
| // Created by nuomi1 on 8/5/18. | |
| // Copyright © 2018年 nuomi1. All rights reserved. | |
| // | |
| import Foundation |
| #!/usr/bin/env bash | |
| #=========================================================================== | |
| # Works only with the official image available in the Mac App Store. | |
| # Make sure you download the official installer before running this script. | |
| #=========================================================================== | |
| # Change this at your desire. Sometimes this works out of the box, sometimes not. | |
| # Default size: ~13.5 GB | |
| DISK_SIZE="13000m" |
| #!/usr/bin/env bash | |
| #=========================================================================== | |
| # Works only with the official image available in the Mac App Store. | |
| # Make sure you download the official installer before running this script. | |
| #=========================================================================== | |
| hdiutil create -o /tmp/Catalina.cdr -size 9000m -layout SPUD -fs HFS+J | |
| hdiutil attach /tmp/Catalina.cdr.dmg -noverify -mountpoint /Volumes/install_build | |
| sudo /Applications/Install\ macOS\ Catalina.app/Contents/Resources/createinstallmedia --volume /Volumes/install_build --nointeraction | |
| hdiutil detach "/Volumes/Install macOS Catalina" |
| 10.3 (Panther): | |
| https://swscan.apple.com/scanningpoints/scanningpointX.xml | |
| 10.4 (Tiger): | |
| https://swscan.apple.com/content/catalogs/index.sucatalog | |
| https://swscan.apple.com/content/catalogs/index-1.sucatalog | |
| 10.5 (Leopard): | |
| https://swscan.apple.com/content/catalogs/others/index-leopard.merged-1.sucatalog |
| —– BEGIN LICENSE —– | |
| Michael Barnes | |
| Single User License | |
| EA7E-821385 | |
| 8A353C41 872A0D5C DF9B2950 AFF6F667 | |
| C458EA6D 8EA3C286 98D1D650 131A97AB | |
| AA919AEC EF20E143 B361B1E7 4C8B7F04 | |
| B085E65E 2F5F5360 8489D422 FB8FC1AA | |
| 93F6323C FD7F7544 3F39C318 D95E6480 | |
| FCCC7561 8A4A1741 68FA4223 ADCEDE07 |
To pupils: all binaries can be downloaded http://pan.baidu.com/s/1ntCChyp
After overwriting, maybe need to run chmod +x /path/to/sublime_text. For linux default installation, need to add sudo.
For programmers:
| // Use Gists to store code you would like to remember later on | |
| console.log(window); // log the "window" object to the console |