npx npkill -f -s size -E ".config, .cache, .local, .nvm, .npm, .vscode"
Prepare by burning Linux on to a USB drive and booting in to it (on the computer that has the drive/s you want to access installed).
- Find the drive's path (something along the lines of
/dev/nvme0n1p3
):sudo fdisk -l
- Create a directory for mounting it:
sudo mkdir -p /mnt/drive
- Mount it:
sudo mount <drive_path> /mnt/drive
- Access it:
cd /mnt/drive
This file contains hidden or 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 { expo as appJson } from '../app.json'; | |
// @ts-ignore | |
const packageName: string = appJson.android.package ?? 'host.exp.exponent'; | |
// ^ Gets the apps package name, however if the `Expo Go` app is used it defaults to it's package name. |
This file contains hidden or 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
max_parallel_downloads=10 # Increases amount of concurrent pkg downloads (you can also try tweaking this option) | |
fastestmirror=True # Picks the fastest mirror | |
defaultyes=True # Makes the defualt option in `[y/N]` menus 'Y' instead of 'N' (so you don't have to type 'y' every time) |
This file contains hidden or 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
#!/bin/bash | |
check_sail_containers_status() { | |
# A bit of delay to not run the function too quickly: | |
sleep 2 | |
# Getting current container state: | |
local STATUS=$(sudo ./vendor/bin/sail ps | grep starting) | |
# Checking if they're healthy: |
NewerOlder