- Join TS Files
- Convert TS to MP4
- Download Online AES-128 Encrypted HLS video
- Convert Video to GIF
- Extract Audio and Convert it to MP3
- Burn Subtitles into Video
I set this to solve wss error transloadit/uppy#1075
server {
server_name uppy.xxxxx.com;
charset utf-8;
location / {
This file contains hidden or 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 "concat:01.mp3|02.mp3|03.mp3|04.mp3|05.mp3|06.mp3|07.mp3|08.mp3|09.mp3|10.mp3|11.mp3|12.mp3|13.mp3|14.mp3|15.mp3|16.mp3|17.mp3|" -acodec copy output.mp3 | |
| ffmpeg -loop 1 -i img.jpeg -i output.mp3 -shortest -acodec copy ubik.mp4 |
This file contains hidden or 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
| import uuid | |
| import datetime | |
| import json | |
| from typing import Callable, Dict, Iterable, List, Tuple | |
| import attr | |
| from pprint import pprint | |
| @attr.s | |
| class File: | |
| hash = attr.ib(default=attr.Factory(dict)) |
This file contains hidden or 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 bash | |
| # Documentation | |
| # https://docs.gitlab.com/ce/api/projects.html#list-projects | |
| NAMESPACE="YOUR_NAMESPACE" | |
| BASE_PATH="https://gitlab.example.com/" | |
| PROJECT_SEARCH_PARAM="" | |
| PROJECT_SELECTION="select(.namespace.name == \"$NAMESPACE\")" | |
| PROJECT_PROJECTION="{ "path": .path, "git": .ssh_url_to_repo }" |
This file contains hidden or 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
| git log --pretty=format:"%h %ad%x09%an%x09%s" --date=short --author=fortunto2 --after="2018-06-01" |
This file contains hidden or 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
| #!/bin/bash | |
| ls > list.txt | |
| while read i; do | |
| mv /from/"$i" /to_folder/ | |
| echo "$i" | |
| done <list.txt |
- https://kubernetes.io/docs/getting-started-guides/ubuntu/
- https://hackernoon.com/cluster-in-a-box-how-to-deploy-one-or-more-kubernetes-clusters-to-a-single-box-76ff3b8e92d7
sudo apt update
sudo apt install snapd
sudo snap install conjure-up --classic
Scaner https://github.com/scanner-research/scanner/blob/master/INSTALL.md
run manual
docker run -it --rm --name scanner scannerresearch/scanner:cpu /bin/bash
docker run -it --rm --name scanner -v /root/.scanner:/root/.scanner -v /root/scanner:/app scannerresearch/scanner:cpu /bin/bash
This file contains hidden or 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
| ###################################### | |
| # INSTALL OPENCV ON UBUNTU OR DEBIAN # | |
| ###################################### | |
| # | THIS SCRIPT IS TESTED CORRECTLY ON | | |
| # |----------------------------------------------------| | |
| # | OS | OpenCV | Test | Last test | | |
| # |----------------|--------------|------|-------------| | |
| # | Ubuntu 17.04 | OpenCV 3.4.1 | OK | 14 Mar 2018 | | |
| # | Debian 9.3 | OpenCV 3.4.0 | OK | 17 Feb 2018 | |