Skip to content

Instantly share code, notes, and snippets.

View qoopooh's full-sized avatar

Phuchit Kanjanakhan qoopooh

View GitHub Profile
#!/bin/bash
sudo apt-get update && sudo apt-get upgrade -y && sudo apt-get autoremove -y && sudo apt-get autoclean
@qoopooh
qoopooh / du-size.sh
Created August 31, 2022 02:28
Check disk usage in current folder
#!/bin/bash
du -hs * | sort -h > /tmp/du-size
cat /tmp/du-size
cp /tmp/du-size du-size
@qoopooh
qoopooh / grepr
Created August 31, 2022 02:37
Grep recurisve
#! /bin/sh
grep $1 * -R
@qoopooh
qoopooh / sd-git-pull.sh
Last active May 20, 2023 00:52
Pull all git repositories when we connect VPN
#!/bin/bash
# Pull all SD repositories
#
SD_PROJS=(
SDAndroidApp
YornameApp
android-screenshot
babel
certbot-service