Skip to content

Instantly share code, notes, and snippets.

View thepoppingone's full-sized avatar
🎯
Focusing

Poh Peng Wang thepoppingone

🎯
Focusing
View GitHub Profile
@thepoppingone
thepoppingone / check-outdated.sh
Last active March 11, 2019 10:39
Check for npm and pip modules outdated
#!/bin/bash
# Author: Wang Poh Peng
# Showing pip or npm outdate and last updated time
GREEN='\033[0;32m'
CYAN='\033[0;36m'
NC='\033[0m' # No Color
echo ""
echo "--------------------------------------------------------"
@thepoppingone
thepoppingone / README.md
Last active March 20, 2019 09:38
hats-vm script for VBManage of vms and usb devices

Setup

  1. Unzip the package if you download the file from Github

  2. chmod +x the hats-vm.sh file to make it executable

  3. ./hats-vm.sh to start

Follow the instructions in the shell output to control the VMs via command line.

@thepoppingone
thepoppingone / m3u8streamffmpegdl.sh
Last active February 27, 2023 14:32
Download m3u8 playlist with ffmpeg - step by step download script (ffmpeg binary required)
#!/bin/sh
# Author : Wang Poh Peng
# Description : Use FFMPEG to download videos into mkv or mp4 format
RED='\033[1;31m'
NC='\033[0m' # No Color
GREEN='\033[0;32m'
CYAN='\033[0;36m'