Skip to content

Instantly share code, notes, and snippets.

View Oxyd76's full-sized avatar
📰
Writing article

Vadim "Oxyd" Priluzkiy Oxyd76

📰
Writing article
View GitHub Profile
@lbvf50mobile
lbvf50mobile / wrapper.sh
Last active September 13, 2021 18:45
Bash wrapper for @eifgr
#!/usr/bin/env bash
# Help for @eifgr at Sunday September 2021.09.12.
# Usage: echo 'abc def ghi' | xargs -0 ./wrapper.sh > output.txt
# cat input.txt | xargs -0 ./wrapper.sh > output.txt
# Do not forget to set execution right for the script.
# chmod u+x wrapper.sh
HEADER='{{#inline "content" }}'
@protrolium
protrolium / ffmpeg.md
Last active April 8, 2024 11:49
ffmpeg guide

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

You can get the list of installed codecs with:

@mattm7n
mattm7n / gist:1405067
Created November 29, 2011 14:54
Monitor DHCP traffic with tcpdump
# Monitoring on interface eth0
tcpdump -i eth0 -n port 67 and port 68