git merge repoLama/master --allow-unrelated-histories
One liner shell [script] of the day : #54 (merge file dan historinya dari repo github)
Netizen tercerahkan #3
Label:
baca-rasa-pikir-tulis
/
Comments: (0)
Being born is a blessing. Growing old is a privilege. Growing old together is a blessed privilege. Growing old together with your Soulmate is a privileged blessing.
--leapinghorse
Netizen tercerahkan #2
Label:
baca-rasa-pikir-tulis,
don't (really) dig this
/
Comments: (0)
Kalau semua tergantung pada satu orang, itu bukan kehebatan. Itu kelalaian.
--awpramono
Netizen Tercerahkan #1
Selama di dunia kebenaran dan ketidakbenaran bisa beda tipis. Kejahatan dan kebaikan sama2 memiliki pengikutnya karena punya alasannya sendiri2. Ikuti hati nurani lebih baik meskipun akan ada banyak yang memusuhi. --Yusup Iriyanto
One liner shell [script] of the day : #53 (audio track from one video, video track from another)
ffmpeg -i goodvideo.mp4 -i goodaudio.mp4 -map 0:v:0 -map 1:a:0 -c:v copy -c:a aac -strict experimental goodall.mp4
One liner shell [script] of the day : #52 (overlay separuh di video)
ffmpeg -i input.mp4 -loop 1 -i overlay_top.png -filter_complex "\
[0:v]trim=0:33,setpts=PTS-STARTPTS[v0]; \
[0:v]trim=33:1180,setpts=PTS-STARTPTS[v1]; \
[v0][1:v]overlay=0:0:shortest=1[ovl]; \
[ovl][v1]concat=n=2:v=1:a=0[outv]" -map "[outv]" -c:v libx264 -crf 18 -preset fast output.mp4
Dari detik 0 sampai 33, taruh overlay_top di separuh atas video, kemudian sisanya lempeng-lempeng saja. Ceritanya mau ngedit judul presentasi.
One liner shell [script] of the day : #51 (ngambil gambar asli dari PDF)
#!/usr/bin/bash
# usage ./pdfimages.sh output-dir pdf-file
mkdir -p "$1" && pdfimages -p -j "$2" "$1/tmp" && i=0; for img in "$1"/tmp-*; do [[ -f "$img" ]] || continue; p=$(basename "$img" | cut -d'-' -f2 | sed 's/^0*//'); printf -v pp "%03d" "$p"; printf -v nn "%03d" "$((i++))"; convert "$img" "$1/$pp-$nn.jpg"; done