Cambiar fácilmente entre versiones de php en nuestro Ubuntu

Si queremos abreviar el cambio de nuestra versión de php-cli de nuestro Ubuntu podemos ejecutar el siguiente comando: sudo update-alternatives --config php Con: php -v veríamos que versión estamos utilizando. Si queremos…

Continuar leyendoCambiar fácilmente entre versiones de php en nuestro Ubuntu

Adjuntar pdf en Mailable

<?php namespace App\Mail; use Illuminate\Bus\Queueable; use Illuminate\Mail\Mailable; use Illuminate\Queue\SerializesModels; class HistoriaClinicaMail extends Mailable { use Queueable, SerializesModels; public $subject = 'HISTORIA CLÍNICA DEL PACIENTE'; public $historia_clinica; public $pdf; /** *…

Continuar leyendoAdjuntar pdf en Mailable

Non-static method Barryvdh\DomPDF\PDF::loadView() should not be called statically – Laravel >= 5.8

Si en Laravel estamos usando la maravillosa librería para crear PDF’s que de: https://github.com/barryvdh/laravel-dompdf y haciendo la prueba que nos dice: $pdf = PDF::loadView('pdf.invoice', $data); return $pdf->download('invoice.pdf'); Obtenemos este error: Non-static method…

Continuar leyendoNon-static method Barryvdh\DomPDF\PDF::loadView() should not be called statically – Laravel >= 5.8

Protegido: USB Multiboot

  • Autor de la entrada:
  • Categoría de la entrada:GNU/Linux

Descargamos y descomprimimos VENTOY $ wget https://github.com/ventoy/Ventoy/releases/download/v1.0.30/ventoy-1.0.30-linux.tar.gz $ tar -xvf ventoy-1.0.30-linux.tar.gz Identificamos pendrive $ lsblk NAME MAJ:MIN RM SIZE RO TYPE MOUNTPOINTsda 8:0 0 477G 0 disk├─sda1 8:1 0 60G…

Continuar leyendoProtegido: USB Multiboot