Skip to content

Instantly share code, notes, and snippets.

@burfo
burfo / WavToMp3.cmd
Created February 28, 2021 23:03
Windows CMD script to convert WAVs into MP3s
:: Drag and drop a WAV file onto this script to convert it into an MP3. Requires VLC to be installed.
set vlc="%PROGRAMFILES%\VideoLAN\VLC\vlc.exe"
set source=%~1
set dest="%~dpn1.mp3"
%vlc% -I dummy -vvv "%source%" --sout=#transcode{vcodec=none,acodec=mp3,ab=128,channels=2,samplerate=44100}:std{access=file{no-overwrite},mux=mp3,dst='%dest%'} vlc://quit
@burfo
burfo / GitRebaseForPullRequest.md
Last active January 15, 2017 03:17
How to rebase for a pull request

How to rebase for a pull request

  • Add a remote which points to the source which is upstream of the github fork.
>git remote add upstream https://github.com/thekroko/uthgard-herald
  • Update all remote references to their latest revisions
>git remote update