Skip to content

Instantly share code, notes, and snippets.

View seefood's full-sized avatar

Ira Abramov seefood

View GitHub Profile
@seefood
seefood / CarrieOver.md
Last active January 18, 2025 14:37
ToDo list for moving the server, and the problems I resolved.

Lately I moved to a new VPS to get better bang for the buck, old machine is called Carrie, new maching is RBG. I have many different installations, and they each needed different handling.

sync over files

Using a naiive rsync between the two Debian machines I discovered the hard was that synching over /opt/docker-data (even while both docker and containerd were down) was not working because different versions use different storage metadata formats and such.

You can either export stopped containers, or commit them to images. You can export and import images,

@seefood
seefood / Useful Snippets.md
Last active February 25, 2024 09:45
commandline snippets

Docker

Clear dangling images to save space

docker rmi $(docker images --filter "dangling=true" -q --no-trunc)

More brutal (get rid of anythng not running! CAREFUL!)

docker system prune
@seefood
seefood / better-yt.md
Last active May 28, 2023 10:42
Clean up your youtube, and ads in general

I don't like ad-blockers

Why? Don't remember.

Seriously! I haven't used one in years so I forgot. I remember one used to crash my browser, another slowed it down and leaked memory, a third one turned out to get sponsors in exchange for spying after the users, I just stopped trusting them all together and then came out the EFF's privacy badger and solved both ads and privacy. Yes, it has no slick UI for adding ad sources from a page, but I get to select which URLs are blocked, or just blocked for cookies, etc.

@seefood
seefood / cheatsheet-SDmodels.md
Last active June 28, 2024 17:23
Cheatsheet for Stable Diffusion models

Cheatsheet for Stable Diffusion models

Common negative prompts

out of frame, duplicate, watermark, signature, text, ugly, morbid, mutated, deformed, blurry, bad anatomy, bad proportions, cloned face, disfigured, fused fingers, fused limbs, too many fingers, long neck,

Models

@-moz-document url-prefix("https://mastodon.social/web"), url-prefix("https://mastodon.xyz/web"), url-prefix("https://social.tchncs.de/web"), url-prefix("https://awoo.space/web"), url-prefix("https://icosahedron.website/web"), url-prefix("https://aleph.land/web"), url-prefix("https://maly.io/web"), url-prefix("https://witches.town/web"), url-prefix("https://tooot.im/web") {
// My personal look for tooot.im, Based on https://userstyles.org/styles/140852/mastodon-flat-dark-and-colourful
.button {
background-color: #d03010;
}
.button:hover,
.button:focus,
.button:active,
.button:disabled {
background-color: #E0401B;
@seefood
seefood / DotFiles_DevEnv.MD
Last active December 2, 2024 10:35
Development Env recommendations, my humble 2 cents.

TL;DR: This doc is aimed at power users (or power user wannabes like me) that want a few more life improving toys to improve their GNU/Unix/MacOS work environment work for them more conveniantly or at least with more bells, whistles and pazzaz (All of the above for me, thanks).

It starts with a section for developer, but see the section about dot-files below for more general environment recommendations.

Basic tools you want to know

@seefood
seefood / keybase.md
Created December 30, 2014 15:33
'Tiz Me!

Keybase proof

I hereby claim:

  • I am seefood on github.
  • I am ia42 (https://keybase.io/ia42) on keybase.
  • I have a public key whose fingerprint is 5A16 5A4F 0C7B B666 6838 809F 31CC 32CE F78F 3EE4

To claim this, I am signing this object: