Minimal docker-compose to pull a bunch of images. With a docker-compose.yaml like the one below, just run:
docker-compose pull
Minimal docker-compose to pull a bunch of images. With a docker-compose.yaml like the one below, just run:
docker-compose pull
Homebrew 4.2.0 added .env support (2023-12-18
/etc/homebrew/brew.env
$HOMEBREW_PREFIX/etc/homebrew/brew.env
~/.homebrew/brew.env
I removed these exports from my dotfiles …
#!/usr/bin/env zsh | |
# Does the thing. | |
# "Zhu Li, do the thing!" | |
# https://avatar.fandom.com/wiki/Zhu_Li_Moon | |
# Make a .thing file to define what exactly that is. | |
if [[ -f .thing ]]; then ./.thing | |
elif [[ -f docker-compose.yml || -f docker-compose.yaml ]]; then docker-compose up | |
elif [[ -f main.py ]]; then uvicorn main:app --reload |
Video: The Zen of Svelte (Svelte Summit 2020)
<details>
is underused IMO, especially in docs & readme's.
Could there be an easy, sensible markdown syntax that would increase usage?
How it is --> how it could be?
Headers could be a natural way to set boundaries.
/* | |
Use with Tree Style Tab Firefox extension - styles Firefox to remove tab bar | |
sources: https://github.com/piroor/treestyletab/wiki/Code-snippets-for-custom-style-rules#auto-showhide-sidebar-by-mouseover-hover | |
https://gist.github.com/collinbarrett/45c90f7d427e08d69d32dfef402c86f6 | |
macOS: ~/Library/Application Support/Firefox/Profiles/<Your Firefox Profile>/chrome | |
Linux: /home/<Your Username>/.mozilla/firefox/<Your Firefox Profile>/chrome/; | |
Windows: C:\Users\<Your Username>\AppData\Roaming\Mozilla\Firefox\Profiles\<Your Firefox Profile>\chrome |
Get all values with a certain key from a list of dicts
set([x['key'] for x in list_of_dicts]
iTerm loads .scpt
AppleScript files from:
~/Library/Application Support/iTerm2/Scripts
Extract between quotes
"(.*?)"
… even if there are quotes within quotes
(["'])(?:(?=(\\?))\2.)*?\1