Skip to content

Instantly share code, notes, and snippets.

View KeigoAlexTanaka's full-sized avatar
Coding away

Keigo KeigoAlexTanaka

Coding away
View GitHub Profile
KeigoAlexTanaka /
Last active May 24, 2023 12:53 — forked from steven2358/
FFmpeg cheat sheet
KeigoAlexTanaka /
Last active November 13, 2019 16:27
DMG ffmpeg cheat sheet

#Get integrated loudness of one file

ffmpeg -nostats -i input.mp4 -filter_complex ebur128 -f null - > log.txt 2>&1

#Get integrated loudness of all files with extenstions that start with "m" within a directory

for i in .m;
do echo "${i%.*}" >> log.txt &&
ffmpeg -nostats -i "$i" -filter_complex ebur128 -f null - 2>&1 |
grep "I:" | tail -1 | awk '{print $1, $2, $3}' >> log.txt; \

KeigoAlexTanaka /
Created March 25, 2019 15:10 — forked from magicznyleszek/
CSS Selectors Cheatsheet

CSS Selectors Cheatsheet

Element selectors

Element -- selects all h2 elements on the page

h2 {
    foo: bar;
<!DOCTYPE html>
<meta charset="utf-8">
<meta name="viewport" content="width=device-width">
<title>JS Bin</title>
<h1>Hey There!</h1>
<p>This is our interactive code editor</p>