Skip to content

Instantly share code, notes, and snippets.

View JeffersonBledsoe's full-sized avatar

Jefferson Bledsoe JeffersonBledsoe

View GitHub Profile
@JeffersonBledsoe
JeffersonBledsoe / gist:a0b8b5c4266c6291ef3cda27d43306e0
Created May 19, 2022 12:44
Fix for postgres database when using experimental VirtioFS with Docker
docker compose run --rm db bash -c 'chown -R postgres $PGDATA/*'
@JeffersonBledsoe
JeffersonBledsoe / file.css
Created March 18, 2022 14:01
Trick to lighten/ darken a background colour that is IE compatible
/* Change `0.15` to adjust the effect. Closer to 1 will apply the effect more. Change to black to darken */
.item:focus,
.item:hover {
background-image: linear-gradient(
rgba(var(--white-rgb), 0.15),
rgba(var(--white-rgb), 0.15)
);
}