Skip to content

Instantly share code, notes, and snippets.

@cfobel
cfobel / README.md
Created June 8, 2018 11:45
pyinsane2 Windows build
@cfobel
cfobel / DropBot capacitance updates.ipynb
Last active July 4, 2018 17:03
DropBot capacitance updates
Loading
Sorry, something went wrong. Reload?
Sorry, we cannot display this file.
Sorry, this file is invalid so it cannot be displayed.
@cfobel
cfobel / MicroDrop - routes table format.ipynb
Last active September 4, 2019 17:25
MicroDrop step routes table format
Loading
Sorry, something went wrong. Reload?
Sorry, we cannot display this file.
Sorry, this file is invalid so it cannot be displayed.
@cfobel
cfobel / .gitconfig
Last active November 27, 2019 17:00
Bash config
[user]
name = "Christian Fobel"
email = "[email protected]"
editor = vim
[alias]
lg = log --graph --pretty=format:'%Cred%h%Creset - [%an] %s %Cgreen(%cr)%Creset %d' --abbrev-commit --date=relative
tree = log --graph --decorate --pretty=oneline --abbrev-commit
[color]
<style>
body { margin: 1em 2em }
h1 { text-decoration : underline }
div { border: 10px solid; background: #ddd }
@page { margin: 2.5cm; }
header {
position: fixed;
top: -2.5cm;
left: -2.5cm;
@cfobel
cfobel / zshell-dev-bootstrap.sh
Created May 29, 2025 14:43
Zsh dev shell bootstrap
#!/usr/bin/env zsh
# Zsh bootstrap script
# See: https://chatgpt.com/share/67206e10-24f8-800c-9b0e-cfc4998e4960
# Function to append or create file based on user confirmation
update_file() {
local file=$1
local content=$2
if [ -e "$file" ]; then