| Blog | https://memcpy.io |
| Blog | https://memcpy.io |
@Ajax turned me onto the idea of fetching gitlab merge requests into your local git repo in order to search them.
I've found this super helpful for working with open source projects, and figured this may come in handy for other people too.
I added GitHub support and ported his script to a git alias.
Adam Jackson created the script add-gitlab-merge-requests.sh which is the basis of this workflow. git pr The idea is to provide local access to all of the PRs that exist upstream. This both provides a better general overview of which PRs that have been pulled into the branch you're working on, but also enables you to search the contents of all PRs. This function automagically detects if your remote is hosted on GitHub or GitLab and makes the necessary adjustments to work on either platform. [alias] mr = pr pr = "!f() { \ REMOTES=$(git remote); \ REMOTE=\"origin\"; \ case \"$REMOTES\" in \ *upstream*) \ REMOTE=\"upstream\"; \ ;; \ esac; \ ORIGIN=${1:-${REMOTE}}; \ URL=$(git remote get-url ${ORIGIN}); \ \ case \"$URL\" in \ *gitlab*) \ REMOTE_EXT="mr" \ REMOTE_PATH="merge-requests" \ ;; \ *github*) \ REMOTE_EXT="pr" \ REMOTE_PATH="pull" \ ;; \ esac …
Overnight, #Israeli settlers took over Palestinian land in Nablus & declared it a settlement. Just like that!
When the Israeli police came to evacuate the outpost, Israel's Security & Finance Ministers, Ben-Gvir & Smotrich, rushed to defend the settlers & stop the evacuation!🧵
🐦🔗: https://twitter.com/muhammadshehad2/status/1616468113213587459
“Overnight, #Israeli settlers took over Palestinian land in Nablus & declared it a settlement. Just like that! When the Israeli police came to evacuate the outpost, Israel's Security & Finance Ministers, Ben-Gvir & Smotrich, rushed to defend the settlers & stop the evacuation!🧵”
I spent some time rebuilding an old industrial GDR lamp.
It's a VEB Wittenberg 25.1, with the paint removed from the aluminium castings.
These things are ~200Eur and worth every cent, they're built to be serviced and I can't imagine any newly produced lamp to have the same high quality parts at anything close to that price.
It did take maybe 20hrs to rebuild though. Lots of grinding old paint. Rebuilding it from fluorescent tubes to LED wires.