Skip to content

Instantly share code, notes, and snippets.

View stevemclaugh's full-sized avatar

Steve McLaughlin stevemclaugh

View GitHub Profile

Command Line Setup Steps for macOS

Launch Terminal in macOS, located at /Applications/Utilities/Terminal.app

If your current account doesn't have admin privileges, switch users by entering the following command (substituting the username of the admin account). Press return and enter your password at the prompt.

su your_admin_name

If you don't remember your admin username, the following command will list the users on your system. >

Common youtube-dl commands

Download highest-quality copy of a video to the current directory:

youtube-dl http://some/video

Download video and convert to MP4 (also supports flv, ogg, webm, mkv, avi):

@stevemclaugh
stevemclaugh / FFmpeg_with_mp3_support_macOS.md
Last active April 4, 2024 16:06
Instructions for installing the command-line media conversion program FFmpeg with MP3 support on macOS.

Install FFmpeg with MP3 support on macOS

Initial Setup

If Homebrew is already installed, skip to "Install FFmpeg" below.

Launch Terminal in macOS, located at /Applications/Utilities/Terminal.app. To install a bundle of command-line tools provided by Apple, paste the following line into the terminal window and press return. When prompted, click "Install," then "Agree."

xcode-select --install
@stevemclaugh
stevemclaugh / Lightweight Speech to Text with PocketSphinx.ipynb
Created December 20, 2016 05:17
Simple, fast, reasonably accurate speech-to-text processing for audio recordings of speech.
Loading
Sorry, something went wrong. Reload?
Sorry, we cannot display this file.
Sorry, this file is invalid so it cannot be displayed.
@stevemclaugh
stevemclaugh / Extract_MFCCs.ipynb
Last active April 12, 2024 19:49
Using LibRosa to extract MFCCs from audio and visualize the results
Loading
Sorry, something went wrong. Reload?
Sorry, we cannot display this file.
Sorry, this file is invalid so it cannot be displayed.