A list of useful commands for the FFmpeg command line tool.
Download FFmpeg: https://www.ffmpeg.org/download.html
Full documentation: https://www.ffmpeg.org/ffmpeg.html
| #!/bin/bash | |
| function echo_mem_stat () { | |
| mem_total="$(free | grep 'Mem:' | awk '{print $2}')" | |
| free_mem="$(free | grep 'Mem:' | awk '{print $7}')" | |
| mem_percentage=$(($free_mem * 100 / $mem_total)) | |
| swap_total="$(free | grep 'Swap:' | awk '{print $2}')" | |
| used_swap="$(free | grep 'Swap:' | awk '{print $3}')" | |
| swap_percentage=$(($used_swap * 100 / $swap_total)) | 
| # -*- coding: utf-8 -*- | |
| """ | |
| Sample client script for PNF Software's JEB2. | |
| More samples are available on our website and within the scripts/ folder. | |
| Refer to SCRIPTS.TXT for more information. | |
| """ | |
| # | |
| # TO-DO: set |DESTINATIONURL| below to be whatever you want e.g. www.google.com. Do not include "http(s)://" as a prefix. All matching requests will be sent to that url. Thanks @Meatballs__! | |
| # | |
| # Note this version requires Apache 2.4+ | |
| # | |
| # Save this file into something like /etc/apache2/redirect.rules. | |
| # Then in your site's apache conf file (in /etc/apache2/sites-avaiable/), put this statement somewhere near the bottom | |
| # | |
| # Include /etc/apache2/redirect.rules | |
| # | 
| #!/bin/bash | |
| docker ps --filter "label=com.docker.compose.project" -q | xargs docker inspect --format='{{index .Config.Labels "com.docker.compose.project"}}'| sort | uniq | 
| from json import loads as jsload | |
| from os import system | |
| from random import random | |
| from time import time | |
| from requests import get as request | |
| def resolve(sMid): | |
| filename = 'C400' + sMid + '.m4a' | 
| 阿里云镜像:http://mirrors.aliyun.com/ | |
| 网易开源镜像站:http://mirrors.163.com/ | |
| 搜狐开源镜像站:http://mirrors.sohu.com/ | |
| 北京交通大学开源镜像站:http://mirror.bjtu.edu.cn | |
| 兰州大学开源软件镜像站:http://mirror.lzu.edu.cn/ | |
| 厦门大学开源软件镜像站:http://mirrors.xmu.edu.cn/ | |
| 上海交通大学开源软件镜像站:http://ftp.sjtu.edu.cn/ | |
| 清华大学开源软件镜像站:http://mirrors.tuna.tsinghua.edu.cn/ | |
| 天津大学开源软件镜像站:http://mirror.tju.edu.cn/ | |
| 中国科学技术大学开源软件镜像站:http://mirrors.ustc.edu.cn/ | 
A list of useful commands for the FFmpeg command line tool.
Download FFmpeg: https://www.ffmpeg.org/download.html
Full documentation: https://www.ffmpeg.org/ffmpeg.html
I’m looking for any tips or tricks for making chrome headless mode less detectable. Here is what I’ve done so far:
Set my args as follows:
const run = (async () => {
    const args = [
        '--no-sandbox',
        '--disable-setuid-sandbox',
        '--disable-infobars',(by @_ashish_tiwari)
Version : 6.2
Heap size : 30 GB
core : 24
Memory : 128 GB
Client : PHP - 6.0
This script reads PascalVOC xml files, and converts them to YOLO txt files.
Note: This script was written and tested on Ubuntu. YMMV on other OS's.
Disclaimer: This code is a modified version of Joseph Redmon's voc_label.py