Skip to content

Instantly share code, notes, and snippets.

View MisterBianco's full-sized avatar
🤖
I don't believe in ceilings.

Jacobsin MisterBianco

🤖
I don't believe in ceilings.
View GitHub Profile
@MisterBianco
MisterBianco / ci-code-change.sh
Created March 25, 2020 17:30
A simple command to check if any file with some filetypes were changed in the most recent commit in a specific directory.
git diff --name-only HEAD HEAD~1 | grep "^src/" | grep -E ".java$|.kt$|.go$|.py$|.yml$|.json$|Dockerfile$|.nim$"
@MisterBianco
MisterBianco / pumml.py
Created March 24, 2020 03:43
A python tool to update all repos under a given directory.
#!/usr/bin/env python3
#~*~ coding: utf-8 ~*~
import os
import git
import click
def pull(repo, dirx):
print("Path: " + dirx)