powershell

Lately several people have been going over how they have their GO projects laid out, so I thought I’d join the group. I even went as far as created a powershell script to create the basic structure and initial files for a service/daemon based golang website. It ends up with the root folder where you store your shared objects, logging, and config, and then subfolders for different aspects of your project.
Read more →
So I’ve had a need lately to convert MOV audio files to MP3. At first I searched for self contained solutions online and everything looked and worked like carp-on-a-stick. So here’s what I came up with…use VLC, then I put it in a powershell script. Here’s the commandline for VLC to do the work: vlc -I dummy <INPUTFILE> ":sout=#transcode{acodec=mp3,ab=128,channels=6}:standard{access=file,mux=asf,dst=<OUTPUTFILE>}" vlc://quit Then I just wrapped this around a “gci” on an input folder and viola!
Read more →