For BIOS/MBR Legacy system refer to here
Download the .iso file from Arch Linux Official Site.
For BIOS/MBR Legacy system refer to here
Download the .iso file from Arch Linux Official Site.
function parse_git_dirty { | |
[[ $(git status --porcelain 2> /dev/null) ]] && echo "*" | |
} | |
function parse_git_branch { | |
git branch --no-color 2> /dev/null | sed -e '/^[^*]/d' -e "s/* \(.*\)/ (\1$(parse_git_dirty))/" | |
} | |
PS1="\n\t \[\033[32m\]\w\[\033[33m\]\$(parse_git_branch)\[\033[00m\] $ " |
These instructions are based on this blogpost by Anton Semjonov and this video by Animortis Productions. Please follow the link if you want more details, they go into much more detail about each step, whereas this document is more focused on being a concise cheat sheet. Let's go.
Boot the Ubuntu installation medium. When asked, choose the "Try Ubuntu" option and open a terminal.
Switch to root, otherwise you'll have to type sudo
all the time:
sudo su -
#!/bin/bash | |
set -o errexit | |
set -o nounset | |
set -o pipefail | |
target="${1:-/opt/sublime_merge/sublime_merge}" | |
check_sha() { | |
local sha_valid |
# Generate a new pgp key: (better to use gpg2 instead of gpg in all below commands) | |
gpg --gen-key | |
# maybe you need some random work in your OS to generate a key. so run this command: `find ./* /home/username -type d | xargs grep some_random_string > /dev/null` | |
# check current keys: | |
gpg --list-secret-keys --keyid-format LONG | |
# See your gpg public key: | |
gpg --armor --export YOUR_KEY_ID | |
# YOUR_KEY_ID is the hash in front of `sec` in previous command. (for example sec 4096R/234FAA343232333 => key id is: 234FAA343232333) |
First, add the lines below in to /etc/hosts or C:\Windows\System32\drivers\etc\hosts | |
127.0.0.1 www.sublimetext.com | |
127.0.0.1 sublimetext.com | |
127.0.0.1 sublimehq.com | |
127.0.0.1 license.sublimehq.com | |
127.0.0.1 45.55.255.55 | |
127.0.0.1 45.55.41.223 | |
0.0.0.0 license.sublimehq.com | |
0.0.0.0 45.55.255.55 |