Skip to content

Instantly share code, notes, and snippets.

Avatar
🎯
Focusing

Yaroslav Surilov zhibirc

🎯
Focusing
View GitHub Profile
@jbrown123
jbrown123 / AccessGithubWithPuTTY.md
Created Jul 1, 2019
How to use PuTTY with github on Windows
View AccessGithubWithPuTTY.md

How to use PuTTY with github on Windows

To make things easier, we can tell git to use the PuTTY tools rather than the built in ssh client. The PuTTY tools include an identity manager and an SSH replacement.

Follow these four steps:

  1. Download and install PuTTY using the MSI installer package from the PuTTY download page. Alternately, you can just get the "PLink" and "Pageant" executables from the same page and save them somewhere in your path.

  2. Add a new user or system environment variable:

  • Press Windows+R and enter sysdm.cpl
View ffmpeg.md

ffmpeg

Converting Audio into Different Formats / Sample Rates

Minimal example: transcode from MP3 to WMA:
ffmpeg -i input.mp3 output.wma

You can get the list of supported formats with:
ffmpeg -formats

Convert WAV to MP3, mix down to mono (use 1 audio channel), set bit rate to 64 kbps and sample rate to 22050 Hz:

@seanbuscay
seanbuscay / git_create_orphan.sh
Created Jun 27, 2013
Create an orphan branch in a repo.
View git_create_orphan.sh
cd repository
git checkout --orphan orphan_name
git rm -rf .
rm '.gitignore'
echo "#Title of Readme" > README.md
git add README.md
git commit -a -m "Initial Commit"
git push origin orphan_name
You can’t perform that action at this time.