# First we'll clone iPXE
$ git clone git://git.ipxe.org/ipxe.git
# Go into the src directory of the cloned git repo
$ cd ipxe/src
# Compile the UEFI iPXE executable
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
stern -n rook-ceph mgr* | |
stern -n rook-ceph --max-log-requests 100 . | |
stern -n rook-ceph rook-ceph-osd-prepare* | |
stern '.*' --condition ready=false |
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
mpv --no-video --audio-device=/dev/dsp | |
pacmd list-sinks | grep -B 1 'name: <tunnel' | |
pacmd set-default-sink 2 | |
alsa-info output | |
http://alsa-project.org/db/?f=ec63c66f3a1fb8683407c92d5f9ecf20f251c4d8 |
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
journalctl -u <unit> | |
journalctl -u <unit> -f --no-hostname | |
# view the system journal logs for the current boot session | |
journalctl -b | |
journalctl -u ufw.service -f | |
journalctl --vacuum-time=2d | |
journalctl --vacuum-time=600s |
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
# when deletion of Kubernetes resource is getting stuck, solve it the bad way | |
kubectl patch configmap/mymap \ | |
--type json \ | |
--patch='[ { "op": "remove", "path": "/metadata/finalizers" } ]' | |
# | |
kubectl patch ns/longhorn-system -p '{"metadata":{"finalizers":[]}}' --type=merge |
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
ipfs resolve /ipns/ipld.io | |
ipfs repo ls | |
ipfs refs local | wc -l | |
ipfs pin add /ipns/torrent-paradise.ml | |
ipfs bitswap wantlist |
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
strace --trace=file,network,process -f -o /tmp/log |
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
# disable suspend.target | |
sudo systemctl mask sleep.target suspend.target hibernate.target hybrid-sleep.target | |
# check suspend daemon status | |
sudo systemctl status sleep.target suspend.target hibernate.target hybrid-sleep.target |
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
adb root | |
adb sideload | |
adb shell ps | |
adb shell top | |
adb shell getprop | |
adb shell setprop |
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
Email Provider Criteria | |
Email is a notoriously insecure protocol which is generally recommended | |
against for critical communications, particularly if exposed meta-data | |
is part of your threat model. | |
In any of all mentioned provider cases, the provider offers end-to-end encrypted only between users of the same solution. Only PGP is a universal way of sending encrypted emails to anyone, but unfortunately not enough people know how to use this. Zero knowledge encryption means key must be stored on the user’s device otherwise it’s not protected against state-sponsored criminals. Of course, this doesn’t mean they couldn’t give the government plain text messages — just that it would require them to actively attack the user in order steal the required password, up to now they haven’t done it, and most probable will not do so in the foreseeable future. It also means the provider is unable to recover (decrypt) data if password is lost. Tutanota explains that if they were requested to hand over inboxes (keeping in mi |
NewerOlder