(Updated 2022-11-16 with suggestions from comments below, Twitter and Mastodon)
An incomplete list of people in the Python community to follow on Twitter and Mastodon.
With the risk that Twitter dies, I'd be sad to lose links to interesting people in the community, hence this list.
I would love you to comment below with links to people I've missed.
- Create the GPT partition table
$ parted /dev/sdX mklabel gpt
- Create the UEFI FAT32 partition (which will be
/dev/sdXY
)$ parted /dev/sdX mkpart esp fat32 1MiB 512MiB
$ parted /dev/sdX set 1 esp on
$ parted /dev/sdX set 1 boot on
$ mkfs.fat -F 32 -n UEFI /dev/sdXY
Note: I have moved this list to a proper repository. I'll leave this gist up, but it won't be updated. To submit an idea, open a PR on the repo.
Note that I have not tried all of these personally, and cannot and do not vouch for all of the tools listed here. In most cases, the descriptions here are copied directly from their code repos. Some may have been abandoned. Investigate before installing/using.
The ones I use regularly include: bat, dust, fd, fend, hyperfine, miniserve, ripgrep, just, cargo-audit and cargo-wipe.
With dataclasses Rich will essentially replace the dataclass __repr__
by inspecting the dataclass fields. It does this so it can know how to expand the dataclass on to multiple lines with indentation.
For example, here is a dataclass
@dataclass
class DC:
foo: str
bar: int
{ | |
"_pleroma_theme_version": 2, | |
"theme": { | |
"themeEngineVersion": 3, | |
"shadows": { | |
"panel": [ | |
{ | |
"color": "#000000", | |
"x": 0, | |
"y": "10", |
" Wez's VIM colors for Dark background | |
" vim:ts=2:sw=2:et: | |
hi clear | |
if exists("syntax on") | |
syntax reset | |
endif | |
let g:colors_name = "wez" | |
let &background="dark" |
#!/usr/bin/awk -f | |
# This program is a copy of guff, a plot device. https://github.com/silentbicycle/guff | |
# My copy here is written in awk instead of C, has no compelling benefit. | |
# Public domain. @thingskatedid | |
# Run as awk -v x=xyz ... or env variables for stuff? | |
# Assumptions: the data is evenly spaced along the x-axis | |
# TODO: moving average |
... | |
[alias] | |
# https://stackoverflow.com/questions/5188320/how-can-i-get-a-list-of-git-branches-ordered-by-most-recent-commit | |
br = for-each-ref --sort=committerdate refs/heads/ --format='%(HEAD) %(color:yellow)%(refname:short)%(color:reset) - %(color:red)%(objectname:short)%(color:reset) - %(contents:subject) - %(authorname) (%(color:green)%(committerdate:relative)%(color:reset))' |
import sys | |
from functools import reduce | |
N = 4 | |
VARS = 'abcd' | |
mult = lambda a, b: a * b | |
def showN(i): | |
if i == 1: |