Skip to content

Instantly share code, notes, and snippets.

Works with cheese and chromium
Run in terminal:
LD_PRELOAD=/usr/lib/x86_64-linux-gnu/libv4l/v4l1compat.so anyapp
or preferred:
LD_PRELOAD=/usr/lib/x86_64-linux-gnu/libv4l/v4l2convert.so anyapp
@montvid
montvid / gist:72bf3885938eb8629504e36cadac5766
Last active December 12, 2020 01:04
Installing the SPICE Agent on Debian VM for Gnome Boxes
Installing the SPICE Agent on Debian
sudo apt install spice-vdagent
sudo systemctl enable spice-vdagent
sudo systemctl start spice-vdagent
@montvid
montvid / gist:5b5c145d36b8fd49b29f52dd67188867
Created December 12, 2020 01:06
Find drive name (real name) for /dev/sdb /dev/sdc
ls /dev/disk/by-id -ahl
@montvid
montvid / gist:ad343fbe78b8ac67b5e3da7550992e8a
Created December 12, 2020 01:07
Install grub on all hdds
dpkg-reconfigure grub-pc
@montvid
montvid / dns_over_tls_pubkey_value.md
Created January 26, 2021 20:38 — forked from normoes/dns_over_tls_pubkey_value.md
getting tls pubkey value for DNS over TLS certificates

Getting the tls pubkey for a DNS over TLS address

I added cloudflare-dns.com to my stubby.yml and couldn't find any information on the value of the tls_pubkey_pinset

tls_pubkey_pinset:
  - digest: "sha256"
    value: MISSING

Although I could find some examples, the value seemed to be wrong.

@montvid
montvid / gist:1a8877a2083d72af4fe44d06b48bde64
Last active February 23, 2021 16:51
Alfism & Dianism pg. 48
The doctrin of Alfism is confined to one prin- cipl, the law of " Continence except for procreation.”
Thoze who beleev in this doctrin may be divided into diferent classes. Sum beleev in it as a matter of duty, t o be enforced by precept and self-denial ; sum beleev in it as <a matter of riht, requiring no self denial. In this latter is included the doctrin of Diana, which may be defined to be the law of Sexual satisfaction from sexual contact.
In uther wurds, Dianism is Alfism as the rezult of sexual equilibration. This doctrin is founded upon the theory of dual functions; but that theory is not an esential part of it.
Any person who carries out the principl of continence except for procreation, whatever his motivs or ideas collected with it, is a practical Alf- ite. And any Alfite who seeks sexual companionship of greater or less intimacy, for the purpose of sexual equilibration as an aid to continence, is a practical Dianite.
Diana : a psycho-fyziological essay on sexual relations, for married men and w
It is held in the world, that the sexual organs have two distinct functions, viz., the urinary and the propagative. We affirm that they have three - the urinary, the propagative, and the amative, i. e., they are conductors, first of the urine, secondly of the semen, and thirdly of the social magnetism.
Sexual intercourse, pure and simple, is the conjunction of the organs of union, and the interchange of magnetic influences, or conversation of spirits, through the medium of that conjunction.
On the one hand, the seminal discharge can be voluntarily withheld in sexual connection; and on the other, it can be produced without sexual connection, as it is in masturbation. This latter fact demonstrates that the discharge of the semen and the pleasure connected with it is not essentially social, since it can be produced in solitude; it is a personal and not a dual affair. This, indeed, is evident from a physiological analysis of it. The pleasure of the act is not produced by contact and interchange of life with th
@montvid
montvid / gist:e9a6dc25beab16443d15c415b3695366
Created March 6, 2021 12:51
Disable Fx keys on keyboard
Disable Fx keys on keyboard
setxkbmap -option srvrkeys:none
Enable Fx keys on keyboard
setxkbmap -option ''
@montvid
montvid / gist:8a01ac72a598285675d18a4bf3d8134f
Created September 2, 2022 11:11
create usb to boot hdd
gdisk create gpt table
gdisk create bios partition 32mb
gdisk create efi partition 512mb
format efi partition vfat or proxmox-boot-tool format
grub-install efi partition or proxmox-boot-tool init
proxmox-boot-tool status