# reset
- Create backup (if sda is your booting disk)
$ dd if=/dev/sda of=bootsector.img bs=512 count=1
Python Next generation of the python high-level scripting language
Depends On expat bzip2 gdbm openssl libffi zlib
Computer Information: | |
Manufacturer: Unknown | |
Model: Unknown | |
Form Factor: Desktop | |
No Touch Input Detected | |
Processor Information: | |
CPU Vendor: GenuineIntel | |
CPU Brand: Intel(R) Core(TM) i7-3770K CPU @ 3.50GHz | |
CPU Family: 0x6 |
Computer Information: | |
Manufacturer: Unknown | |
Model: Unknown | |
Form Factor: Desktop | |
No Touch Input Detected | |
Processor Information: | |
CPU Vendor: AuthenticAMD | |
CPU Brand: AMD Ryzen 7 3700X 8-Core Processor | |
CPU Family: 0x17 |
// For more information about this list, see: https://pgl.yoyo.org/adservers/ | |
// ---- | |
// last updated: Wed, 10 Feb 2021 18:16:46 GMT | |
// entries: 3571 | |
// format: bindconfig | |
// credits: Peter Lowe - [email protected] - https://pgl.yoyo.org/ | |
// this URL: https://pgl.yoyo.org/as/serverlist.php?hostformat=bindconfig&showintro=0&mimetype=plaintext | |
// other formats: https://pgl.yoyo.org/adservers/formats.php | |
// policy: https://pgl.yoyo.org/adservers/policy.php |
Few months ago, I've made a similar work but I wanted something a little more easier to manage. Please have a look at here for my previous work.
This time, I'm gonna do pretty much the same thing but using Pi-hole as base then modify it to include unbound
and stubby
.
This way, I can use the power of Pi-hole with some additional security layers:
unbound
)stubby
)Make sure the if
value is correct! If doing this over SSH then open a TMUX session first... or else...
dd if=/dev/YOUR-DEVICE conv=sync,noerror bs=64K | gzip -c > /home/portaj/macbook.img.gz
NOTE: You might not want to compress the image. It just means you have to uncompress it later to mount it. If you're planning to access the data soon, or frequently, don't compress it.
Save it in the same directory as the compressed image so later on if you decide you want to mount or extract data from the image you can see the partition structure without having to decompress the whole image. There might be some other ways to mount a compressed image.
## Make a handy json file to automatically install the needed packages for Radarr to run | |
echo '{"pkgs":["libunwind","icu","libinotify","openssl","mediainfo","sqlite3","ca_root_nss","libiconv","nano","curl","wget"]}' > /tmp/pkg.json | |
## Create the jail using that json file we created earlier. | |
## I use 12.2-RELEASE as it's the most recent at the time of writing. | |
## Replace <IP>, <MASK> and <GATEWAY> with your own. | |
iocage create -n "radarr" -p /tmp/pkg.json -r 12.2-RELEASE ip4_addr="vnet0|<IP>/<MASK>" defaultrouter="<GATEWAY>" vnet="on" allow_mlock="1" allow_raw_sockets="1" boot="on" | |
## Delete the now useless file we created at the beginning. | |
rm /tmp/pkg.json |
This explains how to build mesa from source, and how to use the custom built mesa to run some apps and games, without needing to replace the mesa libraries that your operating system runs on.
Let's assume that you are using an x86_64 system.
10-Bit H.264 | |
For all those who haven’t heard of it already, here’s a quick rundown about the | |
newest trend in making our encodes unplayable on even more systems: So-called | |
high-bit-depth H.264. So, why another format, and what makes this stuff | |
different from what you know already? | |
First off: What is bit depth? | |
In short, bit depth is the level of precision that’s available for storing color | |
information. The encodes you’re used to have a precision of 8 bits (256 levels) |