- Using a ready-to-use Ubuntu image
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
| # may be templated in the future | |
| network: | |
| version: 2 | |
| renderer: networkd | |
| ethernets: | |
| eth0: | |
| dhcp4: true | |
| optional: true |
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 | |
| # Author: Casper Pedersen (github.com/casperghst42) | |
| # License: GPL2 | |
| wget https://cloud.debian.org/images/cloud/bookworm/latest/debian-12-generic-amd64.qcow2 | |
| virt-customize -a debian-12-generic-amd64.qcow2 \ | |
| --install qemu-guest-agent \ | |
| --install resolvconf \ | |
| --install systemd-resolved \ | |
| --update \ |
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 | |
| # TODO: Remove pve-enterprise, add pve-no-subscription repo to sources.list(*) | |
| # Update packages, install essentials | |
| apt update | |
| apt install -y build-essential git zsh htop | |
| # Update Proxmox Appliance Manager (https://forum.proxmox.com/threads/no-turnkey-fresh-install-5-1-35.38199/) | |
| pveam update |
| title | date |
|---|---|
Подключение к Cloud.mail.ru с помощью WebDAV эмулятора в Убунту 20.04 |
2020-10-16 |
Инструкцию для Убунту 18.04 см. здесь.
Note: This is all almost full YouTube ID informations. Original owner goes to AgentOak, modified version by Martin Eesmaa.
See the credits and also special thanks in below.
Last updated: July 2024
Also known as itag or format codes and way back they could be specified with the fmt parameter (e.g. &fmt=22).
Depending on the age and/or popularity of the video, not all formats will be available.
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
| blocklist="/etc/powerdns/blocklist.lua" | |
| adservers=newDS() | |
| if io.open(blocklist, 'r') then | |
| adservers:add(dofile(blocklist)) | |
| end | |
| function preresolve(dq) | |
| if(not adservers:check(dq.qname) or (dq.qtype ~= pdns.A and dq.qtype ~= pdns.AAAA)) then | |
| return 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
| adservers=newDS() | |
| adservers:add(dofile("blocklist.lua")) | |
| -- optionally: adservers:add(dofile("trackers.lua")) | |
| filterset=newCAS() | |
| filterset:add(dofile("filtercustomers.lua")) | |
| function preresolve(dq) | |
| if(not adservers:check(dq.qname) or (dq.qtype ~= pdns.A and dq.qtype ~= pdns.AAAA)) then | |
| return 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
| # sqlite3 /etc/powerdns/powerdns.sqlite3 < /usr/share/doc/pdns-backend-sqlite3/schema.sqlite3.sql |