Skip to content

Instantly share code, notes, and snippets.

@tomhicks
tomhicks / plink-plonk.js
Last active March 18, 2024 02:23
Listen to your web pages
@kva1966
kva1966 / metadata.yml
Created September 16, 2019 08:47
Pandoc Metadata
---
# Fonts
# General Fonts -- URW Palladio L, URW Chancery L, Reminga Pro
# To find proper names, use fc-list (Font Config)
# E.g. Reminga has the following:
# $ fc-list | grep -i reminga
# (look at fc-cache if fc-list does not return anything)
# /home/xxx/.fonts/FF Reminga Pro/FontFont - RemingaPro.otf: Reminga Pro:style=Regular
# /home/xxx/.fonts/FF Reminga Pro/FontFont - RemingaPro-MediumIta.otf: Reminga Pro,RemingaPro\-MediumIta:style=Medium Italic,Regular

AI Setup

NVIDIA CUDA on Linux

The instructions below are for Debian. I run LMDE3 with Cinnamon, and I found using the latest CUDA and NVIDIA drivers broke Cinnamon, causing it to run in fall-back mode. This is still not working - the roll-back steps are given below.

  1. Check that you've got an NVIDIA device lspci | grep -i nvidia
  2. Verify your device supports CUDA
  3. Ensure your drivers are loaded - if not run sudo apt-get install nvidia-driver nvidia-smi
  4. Determine your driver version using nvidia-smi (in my case 390.87)
@0XDE57
0XDE57 / config.md
Last active May 30, 2024 19:04
Firefox about:config privacy settings

ABOUT

about:config settings to harden the Firefox browser. Privacy and performance enhancements.
To change these settings type 'about:config' in the url bar. Then search the setting you would like to change and modify the value. Some settings may break certain websites from functioning and rendering normally. Some settings may also make firefox unstable. I am not liable for any damages/loss of data.

Not all these changes are necessary and will be dependent upon your usage and hardware. Do some research on settings if you don't understand what they do. These settings are best combined with your standard privacy extensions (HTTPS Everywhere No longer required: Enable HTTPS-Only Mode, NoScript/Request Policy, uBlock origin, agent spoofing, Privacy Badger etc), and all plugins set to "Ask To Activate".

@staltz
staltz / introrx.md
Last active June 6, 2024 03:19
The introduction to Reactive Programming you've been missing