Innovation-driven professional with diverse experience in developing and modernizing software applications.
- United States
-
18:26
(UTC -05:00) - https://www.linkedin.com/in/4cjanderson
- https://orcid.org/0009-0004-8519-6854
Highlights
- Pro
Pinned Loading
-
Git delete merged branches
Git delete merged branches 1#! /bin/bash2branchName=$(git remote show origin | sed -n '/HEAD branch/s/.*: //p')3git checkout "$branchName" \4| git branch --merged \5| grep -E --invert-match "(^\*|master|main|dev)" \
-
Git catch up current branch
Git catch up current branch 1#! /bin/bash2# checkout-pull-prune.sh3branchName=$(git remote show origin | sed -n '/HEAD branch/s/.*: //p')4git fetch origin "$branchName:$branchName"5git merge "$branchName" -
Git graph to HTML
Git graph to HTML 1#!/bin/bash2script -q -c "git --no-pager log --decorate --graph --format='%C(auto,#aa5500) %h %C(auto,#55ff55) (%an %GK %G?) %Creset %s %cr %C(auto,#ffff55) %d' --date=relative --all --remotes=* -n 100" ../graph.txt && \
3ansi2html < ../graph.txt > ../graph.html
-
-
-
upgrades brew packages and restarts ...
upgrades brew packages and restarts the services that were updated 1#! /usr/bin/env bash2brew upgrade | tee /tmp/brew.log3cat /tmp/brew.log | grep "brew services restart" | xargs -n 4 -L 1 -I {} sh -c "{}"
Something went wrong, please refresh the page to try again.
If the problem persists, check the GitHub status page or contact support.
If the problem persists, check the GitHub status page or contact support.



