Skip to content

Instantly share code, notes, and snippets.

View clarencetw's full-sized avatar
🏠
Working from home

Clarence clarencetw

🏠
Working from home
View GitHub Profile
@clarencetw
clarencetw / README.md
Created January 27, 2023 17:45 — forked from gjreasoner/README.md
Expand Ubuntu 20 Proxmox Disk
# Resize the file system in UI, under VM -> Hardware -> Click on the disk to resize, click "Resize disk" button

# Confirm increase in disk space (1TB in my case)
$ lsblk
NAME                      MAJ:MIN RM  SIZE RO TYPE MOUNTPOINT
sda                         8:0    0    1T  0 disk
├─sda1                      8:1    0    1M  0 part
├─sda2                      8:2    0    1G  0 part /boot
└─sda3                      8:3    0    1T  0 part
@clarencetw
clarencetw / tv-changer-for-mac.py
Last active July 6, 2023 17:35 — forked from zhenhappy/tv-changer-for-mac.py
TV changer for Mac
#!/usr/bin/env python
# -*- coding: utf-8 -*-
import os
import platform
import random
import re
import string
import sys
@clarencetw
clarencetw / MacFileRemoverForSVN
Created April 2, 2016 01:12 — forked from cillosis/MacFileRemoverForSVN
Remove ._. and .DS_* files from folder on Mac OS X
find . -type f \( -iname "._*" \) -exec svn delete {} \;
find . -type f \( -iname ".DS_*" \) -exec svn delete {} \;