Skip to content

Instantly share code, notes, and snippets.

View Deliaz's full-sized avatar

Denis Leonov Deliaz

View GitHub Profile
@bastman
bastman / docker-cleanup-resources.md
Created March 31, 2016 05:55
docker cleanup guide: containers, images, volumes, networks

Docker - How to cleanup (unused) resources

Once in a while, you may need to cleanup resources (containers, volumes, images, networks) ...

delete volumes

// see: https://github.com/chadoe/docker-cleanup-volumes

$ docker volume rm $(docker volume ls -qf dangling=true)

$ docker volume ls -qf dangling=true | xargs -r docker volume rm

@meain
meain / loading_messages.js
Last active July 26, 2025 20:33
Funny loading messages
export default [
"Reticulating splines...",
"Generating witty dialog...",
"Swapping time and space...",
"Spinning violently around the y-axis...",
"Tokenizing real life...",
"Bending the spoon...",
"Filtering morale...",
"Don't think of purple hippos...",
"We need a new fuse...",
@DimitryDushkin
DimitryDushkin / values.ts
Last active November 2, 2022 14:15
$Values from Flow in Typescript
type $Values<O extends object> = O[keyof O];
const obj = {
RU: 'ru',
EN: 'en',
} as const;
type vals = $Values<typeof obj>; // vals === 'ru' | 'en';