Skip to content

Instantly share code, notes, and snippets.

View jtibbertsma's full-sized avatar
🌪️
Yo

Joseph Tibbertsma jtibbertsma

🌪️
Yo
View GitHub Profile
@jtibbertsma
jtibbertsma / p.sh
Created November 22, 2025 23:30
Launch a Python repl with whatever libraries you want
# p – launch an IPython REPL under uvx
# p → <default version> + ipython
# p sympy numpy → <default version> + ipython + sympy + numpy
# p -v 3.12 pandas → 3.12 + ipython + pandas
# p --version=3.14a1t → 3.14a1t + ipython
p() {
local python_version="3.13t" # default when user doesn't specify one
local with_flags=()
# -------- parse options --------
@jtibbertsma
jtibbertsma / actions.js
Last active December 28, 2020 06:23
react-native-navigation redux middleware example
import { createAction } from 'redux-actions';
import {
NAVIGATION_PUSH,
NAVIGATION_POP,
NAVIGATION_RESET_TO,
NAVIGATION_POP_TO_ROOT
} from './actions';
export const push = createAction(NAVIGATION_PUSH);
export const pop = createAction(NAVIGATION_POP);