Skip to content

Instantly share code, notes, and snippets.

@voaii
voaii / better-font-smoothing.css
Created June 5, 2023 10:58 — forked from hsleonis/better-font-smoothing.css
Better font smoothing in cross browser
html {
/* Adjust font size */
font-size: 100%;
-webkit-text-size-adjust: 100%;
/* Font varient */
font-variant-ligatures: none;
-webkit-font-variant-ligatures: none;
/* Smoothing */
text-rendering: optimizeLegibility;
-moz-osx-font-smoothing: grayscale;
:root {
--body-bg-color: #1c1d21!important;
--border-color: #2b2c33;
--body-bg-color-light: #292a30;
--window-bg-color: #1c1d21;
--body-color-muted: #b6b6b6;
}
@media (min-width: 480px) {
#chat .from {
nano ~/.zshrc
alias thelounge="docker exec --user node -it thelounge thelounge"
source ~/.zshrc
thelounge install thelounge-theme-ianon
cd ~
mkdir thelounge
nano thelounge/docker-compose.yml
version: '2'
services:
thelounge:
image: ghcr.io/thelounge/thelounge:4.3.1
container_name: thelounge
ports:
- "9000:9000"
@import url('https://ianon.app/static/styles/apollostage_sunset/style.css');
/****************/
/* TEXTS COLORS */
/****************/
h1 a,
h2 a,
h3 a,
h4 a,
h5 a,

KeePass Auto-Type on iTerm2/zsh/Tmux

This is a very quick tutorial on how to auto-type passwords from KeePassXC to a CLI application. The document is mostly for myself to remember how to do it, but feel free to add your comments and improvements.

Context

I use KeePassXC as my main password manager. About a couple of months ago I discovered I don't need to copy passwords from KeepassXC via clipboard. I found out about the Auto-Type feature in the KeepassXC User Guide. According to the user guide, Auto-Type "acts like a virtual keyboard to populate data from your entries directly into the corresponding websites or applications that you use".

This is great for websites since I don't need any browser plugin. Instead I just press CTRL-Option-A (in my case) and let the user and password fields be auto-completed using KeepassXC. in order to do this correctly, you can configure a Window-Association. This is usually the title of a website as f