Skip to content

Instantly share code, notes, and snippets.

View Moanrisy's full-sized avatar
😈
bujo

Mohammad Anton Rizki Syahputra Moanrisy

😈
bujo
View GitHub Profile
@Moanrisy
Moanrisy / Convert m4b audiobook into mp3.sh
Created March 12, 2024 03:06
Convert m4b audiobook into mp3
#!/bin/bash
# Loop through all .m4b files in the current directory
for file in *.m4b; do
# Get the filename without extension
filename=$(basename -- "$file")
filename="${filename%.*}"
# Run ffmpeg command to convert .m4b to .mp3
ffmpeg -i "$file" -acodec libmp3lame -ar 22050 "${filename}.mp3"
@Moanrisy
Moanrisy / copyToFat32.sh
Created January 15, 2022 06:04 — forked from nabilfreeman/copyToFat32.sh
FAT32 File copier & splitter (works with Multiman)
#!/bin/bash
# Are you using Mac OS X?
# You need to install coreutils for this to work.
# try `brew install coreutils`
# or `sudo port install coreutils`
# set a part size that works with FAT32 drives
PART_SIZE=3999
# nice little intro
@Moanrisy
Moanrisy / README-Template.md
Created August 21, 2018 13:50 — forked from PurpleBooth/README-Template.md
A template to make good README.md

Project Title

One Paragraph of project description goes here

Getting Started

These instructions will get you a copy of the project up and running on your local machine for development and testing purposes. See deployment for notes on how to deploy the project on a live system.

Prerequisites