Create a directory for the configurations
mkdir -p /etc/X11/xorg.conf.d
get the identifier from x11-apps/xrandr
xrandr -q
Create a directory for the configurations
mkdir -p /etc/X11/xorg.conf.d
get the identifier from x11-apps/xrandr
xrandr -q
#!/bin/bash | |
for image_file in *.jpg; do | |
width=$(identify -format '%w' "$image_file") | |
height=$(identify -format '%h' "$image_file") | |
width_difference=$((height * 4/5 - width)) | |
bar_size=$((width_difference/2)) | |
echo "adding bar of size" $bar_size | |
convert $image_file -bordercolor black -border $((bar_size))x0 -quality 100 $image_file | |
echo "resizing from" $width "x" $height "to 1080x1350" | |
convert $image_file -resize 1080x1350 -quality 95 $image_file |
metadata
ffprobe input.mp4
(no export)
INPUT_VIDEO=input.mp4
(Shamelessly copied from the similar Michael Niedermayer page) | |
How can one explain the phenomenon that is Loren Merritt? Perhaps he is a superintelligent alien sent to observe us, who hacks on x264 and ffmpeg for amusement. It's also possible he's either a cybernetically enhanced human, or a wildly successful AI project. Either way, there must be great wisdom contained in his writing. Perhaps most of this is contained in code. But for laypeople, studying some of his quotes might provide some benefits. | |
I have tried to identify the most prototypical Loren quotes. A large fraction of his messages fall into one of the formats below. A few of the posts highlighted below are special and don't belong into any large category. | |
Here are a few top ranking candidates. IT IS VERY IMPERATIVE THAT YOU READ EACH AND EVERY LETTER OF EACH AND EVERY ONE. | |
Loren Merritt... | |
On Algorithms | |
On Broadcast and Media |
=====だから===== | |
~だけあって A45 | |
~からには/以上は I195 | |
~からして A199 | |
=====なのに===== | |
~にもかかわらず I257 | |
~にしては A697 | |
~わりに A697 | |
~といっても I474 |
Goals: Add links that are reasonable and good explanations of how stuff works. No hype and no vendor content if possible. Practical first-hand accounts and experience preferred (super rare at this point).
// https://math.stackexchange.com/questions/28905/expected-time-to-roll-all-1-through-6-on-a-die | |
// https://en.wikipedia.org/wiki/Coupon_collector%27s_problem | |
#include <iostream> | |
#include <random> | |
#include <set> | |
using namespace std; | |
int main() { | |
long double expected = 0.0L; |