scp openwrt-19.07.7-ar71xx-mikrotik-nand-64m-squashfs-sysupgrade.bin root@192.168.1.1:/tmp
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 | |
# Install_USB_Maker.sh | |
# Copyright (c) 2020 - 2023 Dayo Akanji | |
# - dakanji@users.sourceforge.net | |
# Portions Copyright (c) Jeff Geerling | |
# - https://github.com/geerlingguy/macos-virtualbox-vm/blob/master/LICENSE | |
# | |
# MIT License |
https://bostonenginerd.com/posts/tmobile-isp/
/etc/config/dhcp
file:
config dnsmasq
option domainneeded '1'
option localise_queries '1'
option rebind_localhost '1'
- Look at the git log:
git log -n 5 --oneline
- Pick up a
commit id
and reset:
git reset --hard 'commit id'
-
You can modify path display with any one of the following commands, which substitutes all occurrences of
:
with new lines\n
. -
sed
:
$ sed 's/:/\n/g' <<< "$PATH"
tr
:
$ tr ':' '\n' <<< "$PATH"
- Install
Macports
. - Install python dependencies:
sudo port install pkgconfig openssl zlib xz gdbm tcl tk +quartz sqlite3 sqlite3-tcl
- Install python:
GDBM_CFLAGS="-I$(dirname $(dirname $(which port)))/include" \
GDBM_LIBS="-L$(dirname $(dirname $(which port)))/lib -lgdbm" \
pyenv install 3.11.5
- Run the pkg.
At the first install screen in the menu bar click
File
-->Show Files
(Command + I
).
Another useful thing to do is look at the install log.
Window
--> Installer Log
(Command + L
)
- To determine where it puts files after the fact (the
pkg
is still relevant, but you may not have it anymore) use thelsbom
command. An example:
lsbom -f /var/db/receipts/com.growl.growl.pkg.bom
Removing the app does not completely uninstall that version of Python. You will need to remove the framework directories and their symbolic links.
Deleting the frameworks
sudo rm -rf /Library/Frameworks/Python.framework/Versions/[version number]
replacing [version number] with 3.10 in your case.
Removing symbolic links
To list the broken symbolic links.
ezntfs list
disk0s4: BOOTCAMP [350.2 GB] -- mounted: yes
sudo ezntfs disk0s4
Volume: BOOTCAMP [350.2 GB]
BOOTCAMP is already writable.