View docker-compose.yml
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
networks: | |
dev: | |
driver: bridge | |
attachable: true | |
services: | |
mysql: | |
command: --default-authentication-plugin=mysql_native_password | |
image: mysql:latest | |
expose: |
View gist:34c1c4a6b497b2dabde05af737455cc5
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
ffmpeg -i "unstoppable_feat_micah_ariss.mp4" "unstoppable_feat_micah_ariss.flac" |
View 4k 60fps to 720p 60fps
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
ffmpeg -i "Aly-Fila-Tomorrowland-Belgium-2019-W1-360p.mp4" -vn -c:a copy "Aly-Fila-Tomorrowland-Belgium-2019-W1.mp4" |
View gist:5e5b3bae02fd327d998172464e371afc
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
systemctl status |
View gist:4f265108b8ca0024f89f919ea1e0fdf4
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
ffmpeg -i videoplayback.mp4 -c:a copy -map 0:1 out.mp4 |
View gist:79425d76106271fc6e48082e7801efdd
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
ffmpeg -y -ss 0 -i video.mp4 -i video2.mp4 -filter_complex '[0:v]concat=n=1:v=1:a=0 [v]; [1:a]concat=n=1:v=0:a=1 [a]' -map '[v]' -map '[a]' -codec:v libx264 -pix_fmt yuv420p -preset fast -strict -2 -t 736 result.mp4 |
View gist:249ecfb48a1860393909cf39626736c6
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
ffmpeg -f lavfi -i amovie=Chen_style_Taiji_Chen_Yu_application_2.mp4,volumedetect -f null /dev/null |
View gist:bfe1088609de35a13ab0ce98f5c7c154
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
(function(d) { | |
var wf = d.createElement('script'), s = d.scripts[0]; | |
wf.src = 'https://ajax.googleapis.com/ajax/libs/webfont/1.6.26/webfont.js'; | |
wf.async = true; | |
s.parentNode.insertBefore(wf, s); | |
})(document); |
View gist:7437eff46b7c84ac972974c6757e150e
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
#!/usr/bin/env ruby | |
# encoding: utf-8 | |
# frozen_string_literal: true | |
require 'benchmark' | |
require 'pg' | |
conn = PG.connect host: '127.0.0.1', dbname: 'dbname', user: 'root', password: 'root' | |
# conn = PG.connect host: '127.0.0.1', dbname: 'dbname', user: 'postgres', password: 'postgres', port: 12548 # container |
View gist:ff23e57a5399daff43ed805fa0e4ad14
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
filter_index = vm.filters.indexOf filter |
NewerOlder