Download flutter
tar xvf flutter_linux_1.17.5-stable.tar.xz
| // generate list of random colors except blue rgb values until green is reached | |
| let colors = []; | |
| const numOfColors = 10; | |
| const unDesirableColor = (color) => { | |
| // if color is near blue or white return true | |
| const rgb = color.split(',').map((val) => { |
| #!/usr/bin/env python3 | |
| # coding: utf-8 | |
| import matplotlib | |
| import matplotlib.pyplot as plt | |
| import pandas as pd | |
| import squarify | |
| import platform | |
| # print versions |
| username='' #email | |
| password='' #password |
| # /usr/bin/env python | |
| # | |
| # Author: Red5d | |
| # | |
| # Description: Extract and run OCR on subtitles from a PGS-format .sup file. | |
| # | |
| # Example Usage: python sup2srt.py bd_subtitles.sup bd_subtitles.srt | |
| # | |
| # Dependencies: | |
| # - pytesseract |
| # Criando um script .sh para executar todos os comandos: | |
| #root@servidor:~# vi script.sh | |
| #root@servidor:~# chmod +x script.sh | |
| #root@servidor:~# ./script.sh | |
| apt-get update | |
| apt-get -y install autoconf automake build-essential git-core libass-dev libgpac-dev libsdl1.2-dev libtheora-dev libtool libvdpau-dev libvorbis-dev libx11-dev libxext-dev libxfixes-dev pkg-config texi2html zlib1g-dev libmp3lame-dev nasm gcc yasm && true | |
| mkdir ~/ffmpeg_sources | |
| cd ~/ffmpeg_sources | |
| git clone --depth 1 git://github.com/mstorsjo/fdk-aac.git |
| ffprobe -v quiet -print_format json -show_format -show_streams "lolwut.mp4" > "lolwut.mp4.json" |
| VBR="2500k" | |
| FPS="30" | |
| QUAL="veryfast" | |
| YOUTUBE_URL="rtmp://a.rtmp.youtube.com/live2" | |
| SOURCE="/tmp/Aot.mkv" | |
| KEY="" | |
| ffmpeg \ | |
| -stream_loop -1 -i "$SOURCE" -deinterlace \ |
| 1. Export existing app’s variables to config.txt | |
| heroku config -s -a existing-heroku-app > config.txt | |
| 2. Review and push to another app | |
| cat config.txt | tr '\n' ' ' | xargs heroku config:set -a new-heroku-app | |
| heroku container:login |
Download flutter
tar xvf flutter_linux_1.17.5-stable.tar.xz
| declare namespace node_geocoder { | |
| type Providers = | |
| 'freegeoip' | 'datasciencetoolkit' | | |
| 'locationiq' | 'mapquest' | 'openmapquest' | | |
| 'tomtom' | 'nominatimmapquest' | | |
| 'opencage' | 'geocodio' | | |
| 'yandex' | 'teleport' | 'pickpoint'; | |
| interface BaseOptions { |