- You'll need to install OpenSSL to create and sign certificates.
- Linux:
sudo apt-get install openssl
- MacOS:
brew install openssl
- Linux:
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
# This script contains examples for converting media files between various encodings. | |
## Copy a media file with the same codec | |
ffmpeg -i input.mkv -c copy output.mp4 | |
## Combine a video and audio file into one file | |
ffmpeg -i video.mp4 -i audio.mp3 -c copy output.mkv | |
## Extract the audio from a video file | |
ffmpeg -i input.mp4 -q:a 0 -map a output.mp3 |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Show hidden characters
{ | |
"parserOptions": { | |
"ecmaVersion": 6, | |
"sourceType": "module" | |
}, | |
"env": { | |
"es6": true, | |
"node": true | |
}, |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
#!/bin/bash | |
sudo apt-get update | |
curl -sL https://deb.nodesource.com/setup_8.x | sudo -E bash - | |
sudo apt-get install -y nodejs | |
mkdir ~/.npm-packages | |
npm config set prefix ~/.npm-packages |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
# Path to Oh-My-Zsh installation | |
export ZSH=/Users/evanklein/.oh-my-zsh | |
# Plugins | |
plugins=(git) | |
source $ZSH/oh-my-zsh.sh | |
# Configure prompt | |
export ZSH_THEME_GIT_PROMPT_PREFIX="[git:" |