// jQuery
$(document).ready(function() {
// code
})
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
<?php | |
namespace App\Console\Commands; | |
use Elasticsearch\ClientBuilder; | |
use Illuminate\Console\Command; | |
class ElasticRecreateIndex extends Command | |
{ | |
/** |
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
#!/bin/bash | |
## Install FFMPEG GIT Ubuntu 16.04 64Bits | |
## http://www.linuxpro.com.br/2017/04/compile-ffmpeg-nvenc-ubuntu/ | |
## Pacote Compilado no GITHUB: https://github.com/jniltinho/oficinadotux | |
## Run as root (sudo su) | |
## Links | |
## http://ftp.eq.uc.pt/software/Linux/deb-multimedia/pool/main/v/vid.stab/ | |
## https://gist.github.com/Brainiarc7/4b49f463a08377530df6cecb8171306a | |
## https://developer.nvidia.com/ffmpeg |
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
<?php | |
/** | |
* Использование: | |
* $v = new VideoThumb($link); | |
* $v->getVideo(); //Ссылка на видео | |
* $v->getTitle(); //Название ролика | |
* $v->fetchImage($path) //Скачать самое большое превью ролика | |
* | |
* Прогнать тест: |