-
Windows + Ubuntu dual boot
Install Windows first (on the "left" side of the disk, keep any OS agnostic disk parititons in the middle and leave space for Ubuntu on "right side), then install Ubuntu - Windows - Create live USB using ISO with Rufus and install
- MacOS - comes installed
-
Linux - Ubuntu
Create live USB using ISO with Rufus (Windows) or Startup Disk Creator (Ubuntu), set up `/` and `/home` and swap spaces and install
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
{"lastUpload":"2022-08-27T11:31:09.388Z","extensionVersion":"v3.4.3"} |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
#!/usr/bin/env bash | |
# CUSTOM Aliases ##################### | |
# git | |
alias gco="git checkout" | |
alias ga="git add" | |
alias gunadd="git restore --staged" # Unstage path1 path2... | |
alias gcan="git commit --amend --no-edit" | |
alias gcm="git commit -m" |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
# ~/.gitconfig - the global config | |
[user] | |
name = Muhammad Sanjar Afaq | |
email = [email protected] | |
[includeIf "gitdir:~/volopay-work/"] | |
path = ~/volopay-work/.gitconfig | |
[core] | |
editor = code --wait |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
### EC2 restart | |
If your server is restarted, its public IPv4 address may change, in that case, | |
just update the `Route 53` type A record with the new address. |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
import unittest | |
class PlaneSeating: | |
def __init__(self, seat_block_column_n_row, number_of_passsengers): | |
self.seat_block_column_n_row = seat_block_column_n_row | |
self.number_of_passsengers = number_of_passsengers | |
# calculate number of seats of each type |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
# Context for exclusion | |
# 1. For excluding files, use .gitignore as hint. | |
# 2. Soft exclusion - Don't copy .gitignore blindly. IDE settings are still. | |
# .gitignore syntax - MEGAsync exclusion syntax | |
# 1. /dirName - dirName - directory exclusion | |
# 2. dir1/dir2 - */dir1/dir2 - MEGAsync is not consistent with exclusion syntax | |
# Tip - Delete all files to be excluded before settings the exclusion. | |
# Otherwise the excluded file will have a single stagnant instance in the cloud. |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
# Logs | |
logs | |
*.log | |
npm-debug.log* | |
yarn-debug.log* | |
yarn-error.log* | |
lerna-debug.log* | |
# Diagnostic reports (https://nodejs.org/api/report.html) | |
report.[0-9]*.[0-9]*.[0-9]*.[0-9]*.json |
OlderNewer