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
KeigoAlexTanaka / ffmpeg.md
Last active May 24, 2023 12:53 — forked from steven2358/ffmpeg.md
FFmpeg cheat sheet
@KeigoAlexTanaka
KeigoAlexTanaka / ffmpeg_dmg.md
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
KeigoAlexTanaka / css-selectors.md
Created March 25, 2019 15:10 — forked from magicznyleszek/css-selectors.md
CSS Selectors Cheatsheet

CSS Selectors Cheatsheet

Element selectors

Element -- selects all h2 elements on the page

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