Skip to content

Instantly share code, notes, and snippets.

View hbeni's full-sized avatar
😃

Hbeni hbeni

😃
View GitHub Profile
@hbeni
hbeni / git-branch-includes.sh
Created April 27, 2021 06:28
GIT command: show branches the current branch contains
#!/bin/bash
#
# Show which branches the current branch contains
#
current_branch=$(git branch |grep ^* |sed 's/^[*]*\s*//')
branches_file=$(mktemp)
git branch |sed 's/^[*]*\s*//' > $branches_file
while read branch; do
@hbeni
hbeni / ortophoto-fetch-bbox.pl
Last active January 14, 2021 08:54
FGFS photoscenery bulk download
Now lives here: https://github.com/nathanielwarner/flightgear-photoscenery/blob/master/create_bbox.pl