This is a work in progress, proceed with caution
- Install Proxmox 6.X iso I selected 2 drives in Raid 1 mirror
- Console/SSH into Proxmox
- nano /etc/apt/sources.list
| FROM plexinc/pms-docker:1.22.3.4523-d0ce30438 | |
| RUN apt-get update && \ | |
| apt-get install -y software-properties-common && \ | |
| add-apt-repository ppa:oibaf/graphics-drivers -y && \ | |
| apt-get update && \ | |
| apt-get install -y \ | |
| vainfo \ | |
| mesa-va-drivers \ | |
| mesa-vdpau-drivers \ |
| <?php // copy everything after this line | |
| Artisan::command('identify-duplicates', function () { | |
| $duplicates = []; | |
| $shouldFixDuplicates = $this->confirm('Should Duplicate IDs be replaced with fresh IDs?'); | |
| $items = collect(\Illuminate\Support\Facades\File::allFiles(__DIR__.'/../content')) | |
| ->filter(function ($file) { | |
| return $file->isFile(); | |
| }) |
| captainVersion: 4 | |
| services: | |
| $$cap_appname-db: | |
| image: mysql:5.7.32 | |
| restart: always | |
| environment: | |
| MYSQL_ROOT_PASSWORD: $$cap_db_root_password | |
| MYSQL_DATABASE: ninja | |
| MYSQL_USER: invoiceninja |
| name: Tests (PHP) | |
| on: [push] | |
| jobs: | |
| tests: | |
| name: Run tests | |
| runs-on: ubuntu-latest | |
| steps: | |
| - uses: actions/checkout@v1 |
I have tried this setup and although it works and may be good for ceratin circumstances I would advise using ubuntu as the base with docker, docker-compose, and portainer. https://gist.github.com/mow4cash/626275e095f7f90898944a85d66b3be6
Link to my docker run file https://gist.github.com/mow4cash/6a25343cdeb0cd115f263dea0a3b623d
youtube-dl is a handy little command-line utility that, with the right command, automagically downloads videos from Youtube as well as other platforms such as Vimeo, Lynda.com, BBC, CNN etc..(Full list of supported websites)
Kindly proceed to youtube-dl's Github repo for detailed installation instructions for your respective OS
In case of an error, make sure you have Python 2.6, 2.7 or 3.2+ installed as youtube-dl needs it to run.
| <?php | |
| // Example usage in a model: | |
| class ExampleModel extends Model | |
| { | |
| use HasUuid; | |
| protected $primaryKey = 'uuid'; |