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
| #!/usr/bin/env node | |
| /** | |
| * macos26-cleanup.js v3.3 | |
| * Precise interactive cleanup for macOS Tahoe 26+ | |
| * Targets what System Settings → Storage often leaves under "System Data". | |
| * | |
| * Key insight: System Data is mostly a remainder + APFS purgeable space | |
| * (local Time Machine snapshots). Ordinary du/fs walks miss it. | |
| * | |
| * v3.3: |
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 | |
| sudo rm -rf /private/var/folders/* |
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
| .\chia plots create -k 32 -n 1 -b 4608 -f 937002e26001ae222a7a0a7faf974cd5e348c3d565a0b2c55509811d62c599a5aa30fbcda52fb1e43bed773e622d60b8 -p 907d4027b050ffa1d0e7029393a9b375e3d5cb9eccf9c5b1a84ddb9124e4fe44e189fd78925a58a5c128fcda508adc1f -t C:\Chia\Temp -d C:\Chia -r 4 |
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
| sshfs oxyge@192.168.1.2:/X:/Backups /Backups | |
| dd if=/dev/sda bs=16M status=progress | xz -2 --block-size=16MiB > /Backups/dev-sda.xz | |
| mkdir /xxx | |
| mount -t cifs -o username=oxyge //192.168.1.2/Backups /xxx | |
| xz -d < /xxx/dev-sda.xz - | dd of=/dev/sda bs=16M status=progress | |
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
| sudo apt-get install wireshark libcap2-bin | |
| sudo groupadd wireshark | |
| sudo usermod -a -G wireshark $USER | |
| sudo chgrp wireshark /usr/bin/dumpcap | |
| sudo chmod 755 /usr/bin/dumpcap | |
| sudo setcap cap_net_raw,cap_net_admin=eip /usr/bin/dumpcap |
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
| function makePeerConnection() | |
| { | |
| var myPeerConnection = new RTCPeerConnection( | |
| { | |
| iceServers: [ | |
| /*{ | |
| urls: "turn:192.168.137.3:3478", | |
| username: "guest", | |
| credential: "*********" | |
| }*/ |