You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
{{ message }}
Instantly share code, notes, and snippets.
💭
Hacking
Tobias Oetiker
oetiker
💭
Hacking
Creating Open Source since 1994 and still loving it.
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
replace all href attribute values with http://xxx/x.x
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
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
How to create a bootable disk image that works with bios and uefi
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
With Authy EOLing the desktop App, migrating your Data may suddenly have become rather urgent.
Here are some instructions, heavily influenced by information found on this gist
NOTE that libreoffice is a huge software package and thus highly vulnerable. I would certainly not recommend this setup for a public gitea instance where arbitrary users can upload documents!
Gitea can use external renderers to transform any file into html and then display this html. This aproach is nice, but it tends to get into trouble when the file you want to display has graphically complex content.
Libreoffice can convert quite a lot of filetypes to html, but the results are not all that convincing when it comes to graphical content.
So we use a different aproach. Use libreoffice to convert the file to pdf and then use pdftocairo to turn the files to svg and combine the svgs into a html file for gitea to display.
GNU Guix is a cutting-edge package manager and operating system distribution built on the principles of software freedom. With Guix, you gain unparalleled control over your system, from the ability to customize packages to effortlessly rolling back system updates if something goes wrong.
ThinLinc is a powerful remote desktop solution for Linux systems, providing secure, efficient, and user-friendly access to centralized Linux environments from anywhere.
Unfortunately Cendio, the company behind ThinLinc insists on NOT makeing their client software available under an open source license. So for the time being there are no official GNU Guix packages for the non-free/binary ThinLinc Client.
Here is how you can run still run the ThinLinc client on GNU Guix:
Protecting a Proxmox VM from being killed by the OOM Killer
Protecting a Proxmox VM from the OOM Killer
VMs tend to occupy a lot of memory, but they are normally also the official denizens of a server. So if memory gets tight
we rather have the oom killer kill the new kid on the block (some process which has suddenly started using more ram) instead of
the regular VM crowd.
Obviously bad things will happen if the oom killer is not able to free enough memory to make your machine happy again, but with this you at least have some control over who gets killed.
If you want to copy a zfs fileset from location a to b you can use the zfs send and zfs receive mechanism.
Theoretically very simple, but if the fileset is hirarchical and there are snapshots and you want to be able
To resume the copy process, some help may be needed.
The zfs send helper script looks at the zfs filesets actually present in the locations you indicate
and it gives you the commands you need to do the actual copying. The script runs zfs but only to investigate
it does not do any actual copying.