Skip to content

Instantly share code, notes, and snippets.

View seefood's full-sized avatar

Ira Abramov seefood

View GitHub Profile
@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 / DevEnv.MD
Last active February 28, 2024 09:23
Development Env recommendations, my humble 2 cents.

Basic tools you want to know

We are managing our code versions with Git. It's like Subversion, Perforce and other VCS you may have worked with, but with a P2P twist. Although we work with a central server (bitbucket, github, gitlab and the like), it is just one of many types of workflows used in the industry, so here are some of the major points you need 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: