Posts by Tag

til

Git: Dynamic identity

less than 1 minute read

A great example of when to use the gitconfig includeif directive

Git: Stash tips

1 minute read

Annotate or summarize your stashes, and more

Git: Snapshot

less than 1 minute read

Using the git stash save command

Git: LFS Track

less than 1 minute read

Adding a new type of large file to your repository

Git: LFS Pull

less than 1 minute read

Addressing git checkout fails

Git: LFS Prune

1 minute read

Tidying up your local git LFS cache

Git: LFS Clone

less than 1 minute read

How LFS integrates with git

Pandas: Options

less than 1 minute read

The get_option, reset_option, and set_option functions.

Pandas: Speed up merges

less than 1 minute read

Specify the key column of the merge as the index of your dataframes, then join instead of merge

SQL: UNION v UNION ALL

less than 1 minute read

UNION removes duplicate records, whereas UNION ALL does not

Jupyter: High-res plots

less than 1 minute read

Via the InlineBackend.figure_format configuration option

Mac: Emoji

less than 1 minute read

The characters palette

Python: Private variables

less than 1 minute read

Follow the convention of putting two underscores at the beginning of the variable’s name

Python: Lambdas as lexical closures

less than 1 minute read

A function that remembers the values from the enclosing lexical scope even when the program flow is no longer in that scope

Nix: SSH pipes

less than 1 minute read

Execute half your command locally and half remotely

Tmux: List Sessions

less than 1 minute read

Using the ls or list-sessions command

PSQL: Sleeping

less than 1 minute read

Using the pg_sleep function

Back to top ↑