Instantly share code, notes, and snippets.
chriswayg /Install Tails in Hard Disk
CreatedJuly 30, 2022 08:31 — forked fromcrashangelbr/Install Tails in Hard Disk
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
| https://www.reddit.com/r/tailswiki/wiki/index/internal-hd-install | |
| 1) boot from DVD/USB and set a password, then open a terminal | |
| a) sudo gedit /usr/lib/python2.7/dist-packages/tails_installer/creator.py | |
| -> search for "Only pay attention to USB and SDIO devices" | |
| -> comment out next 7 lines (until and including "continue") by prepending a "#" (a changing font color means you did it right) | |
| b) sudo /usr/bin/python -tt /usr/lib/tails_installer/tails-installer -u -n --clone -P -m -x | |
| -> choose your hdd and create the Tails device | |
| c) mount "Tails" partition from just created device/drive using Applications | Utilities | Disks | |
| d) gedit /media/amnesia/Tails/syslinux/live*.cfg |
chriswayg /README.md
Last activeFebruary 25, 2024 02:41 — forked fromnicerobot/README.md
Modified macOS uninstall script for packaged install of node.js fromhttps://stackoverflow.com/a/9287292/23056chriswayg /Python-30sec-install.md
Last activeAugust 28, 2021 07:34
Install Python on macOS in 30 seconds - Oneliner that downloads, installs and activates Python 2.7 or 3.x from Python.orgchriswayg /Python-conda-30sec-install.md
Last activeJuly 17, 2020 06:43
Install conda Python on macOS in 30 seconds - Oneliner that downloads, installs and activates Miniconda Python 2.7 or 3.xchriswayg /CC-Offline-Package-Generator.md
Last activeJuly 7, 2020 15:05 — forked fromjorisguex/ccdl.command
CC Offline Package Generator v0.1.2 (macOS only)chriswayg /pythonlister.sh
Last activeApril 2, 2025 05:23
Find and list most installed Python versions on a macOS system 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 | |
| set -o errexit | |
| # pythonlister version 0.3 | |
| # License: MIT - (c) 2020 ChrisWayg | |
| # Run the script directly | |
| # /bin/bash -c "$(curl -fsSL https://gist.githubusercontent.com/chriswayg/ee97606a4dc93a4cdacff90915d5d1e5/raw/pythonlister.sh)" | |
| # Download, install with sudo in /usr/local/ and run the script | |
| # f=/usr/local/bin/pythonlister; sudo mkdir -p /usr/local/bin && sudo curl -sSLo $f https://gist.githubusercontent.com/chriswayg/ee97606a4dc93a4cdacff90915d5d1e5/raw/pythonlister.sh && sudo chmod +x $f && pythonlister |
chriswayg /gist:e0dabe3a260891e575c8fc2f20506a06
Last activeJune 26, 2020 04:54 — forked fromjim80net/gist:0095d0c576713dfaf3d9
Make yosemite iso- Fromhttps://discussions.apple.com/thread/6619535 by tywebb13
If you prefer to make a bootable dvd, you can do it this way:
After downloading the full Yosemite installer app from the Mac App Store, run these 14 commands in Terminal to create a Yosemite.iso file and then burn it to a dual layer DVD with Disk Utility. You may then boot up from it by holding the option key down and then install Yosemite.
- This worked on Mojave in 2020-06
- Location of archived installer:
/Volumes/MEDIA_DB4/macOS Installers 2019/Install OS X Yosemite.app
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 | |
| # mount APFS partition example | |
| # sudo mkdir -pv /media/macos && sudo apfs-fuse -o allow_other /dev/sda2 /media/macos | |
| sudo apt-get -y install build-essential libfuse3-3 libfuse-dev libicu-dev libbz2-dev cmake clang libattr1-dev libz-dev libfuse3-dev | |
| mkdir -pv /home/grml/build | |
| cd /home/grml/build |
chriswayg /macserial-grml.sh
Last activeJanuary 6, 2020 18:17
Compile macserial on grml using build-linux.tool 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 | |
| sudo apt-get -y install build-essential | |
| mkdir -pv /home/grml/build | |
| cd /home/grml/build | |
| git clone https://github.com/chriswayg/MacInfoPkg.git | |
| cd /home/grml/build/MacInfoPkg/macserial/ | |
| ./build-linux.tool |
chriswayg /show_openbsd_filesets.sh
CreatedSeptember 12, 2019 07:27
Display a list of file sets which have been installed by the OpenBSD installer 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/sh | |
| set -e | |
| # This script displays a list file sets which have been installed by the OpenBSD installer. | |
| # It only checks one typical file per file set, as well as checking for the (renamed) bsd.mp kernel. | |
| printf"\nInstalled OpenBSD file sets:\n" | |
| [[-f /bsd.sp ]]&&printf"[X] bsd\n" | |
| [[-f /bsd ]]&& [[-f /bsd.mp ]]&&printf"[X] bsd\n" | |
| [[-f /bsd.mp ]]&&printf"[X] bsd.mp\n" |
NewerOlder
