Skip to content

Instantly share code, notes, and snippets.

View bitpaint's full-sized avatar
connected

Bitpaint bitpaint

connected
View GitHub Profile
@bitpaint
bitpaint / repos_update.sh
Created March 18, 2022 13:27
Update all repos in a folder
ls | xargs -P10 -I{} git -C {} pull
@bitpaint
bitpaint / gourcescreenshoot.sh
Created January 6, 2022 23:00
Gource snapshots each year from ppm to png
#!/bin/sh
for (( i=1 ; ((i-5000)) ; i=(($i+365)) ))
do
today=`date +"%Y-%m-%d"`
stopday=`date -d -"$i"day +"%Y-%m-%d"`
echo $i
echo Current Date: ${today}
echo Stop Day: ${stopday}
@bitpaint
bitpaint / colorpatch.sh
Created December 23, 2021 14:09
Color patcher for Gource
# Add Custom hex color to Specific project
sed -i '/:[0-9]*$/ ! s/$/|FFFFFF/' log.txt
sed -i '/:[0-9]*$/ ! s/$/|000000/' log2.txt
// # Combine logs
// cat *.txt | sort -n > _combined.txt
@bitpaint
bitpaint / shellUI.txt
Created September 27, 2021 12:58
Shell menu Cheat Sheet
┌──────────────────────────────────────────────────────────────────────────┐
│ Table Heading │
├──────────────────┬──────────────────┬──────────────────┬─────────────────┤
│ first row (col1) │ with some │ and more │ even more │
│ │ information │ information │ │
├──────────────────┼──────────────────┼──────────────────┼─────────────────┤
│ second row │ with some │ and more │ even more │
│ (col1) │ information │ information │ │
│ │ (col2) │ (col3) │ │
└──────────────────┴──────────────────┴──────────────────┴─────────────────┘
@bitpaint
bitpaint / logmaker.sh
Last active September 19, 2021 22:42
Multiple log maker for Gource
# Log maker for Gource - by Bitpaint and BTCFUD
# Create properly named .txt logs from multiples repos
#
# _________________________________
# HOW TO USE:
#
# 1) Put all the repos you want to log inside a /repos folder
#
# -logmaker.sh (this file)
# -repos (folder)

Keybase proof

I hereby claim:

  • I am bitpaint on github.
  • I am bitpaint (https://keybase.io/bitpaint) on keybase.
  • I have a public key ASC87HmZyO6MVH0OF-TJzlSOfAwxTDxxtFTUvscmvnNfpQo

To claim this, I am signing this object: