Solución al error: 'SSL resources not loading' o 'QSslSocket: cannot resolve'
sudo apt-get install libssl1.0-dev
Solución al error: 'SSL resources not loading' o 'QSslSocket: cannot resolve'
sudo apt-get install libssl1.0-dev
<?php | |
/** | |
* Genera slug para el producto. | |
* | |
* @author María Paulina Ramírez Vásquez <maria.paulina.r.v@gmail.com> | |
* @param string $descripcion Descripción del producto. | |
* | |
* @return string | |
*/ |
<form> | |
<textarea name="contenido" style="display: none;"></textarea> | |
</form> | |
<div id="editor-codigo" style="height: 500px; width: 100%"></div> | |
<script> | |
var editor = ace.edit("editor-codigo"); | |
editor.setTheme("ace/theme/monokai"); | |
editor.session.setMode("ace/mode/html"); | |
editor.session.setMode("ace/mode/css"); | |
/*** Instalar supervisor ***/ | |
sudo apt-get install supervisor | |
/*** Configurar en: /etc/supervisor/conf.d ***/ | |
[program:laravel-worker] | |
process_name=%(program_name)s_%(process_num)02d | |
command=php /home/forge/app.com/artisan queue:work sqs --sleep=3 --tries=3 | |
autostart=true | |
autorestart=true | |
user=forge |
<?php | |
Mail::to('email@prueba.com') | |
->bcc( | |
[ | |
'email1@email.com', | |
'email2@email.com', | |
'email3@email.com' | |
], | |
[ | |
'Nombre 1', |
sudo chgrp -R www-data storage bootstrap/cache | |
sudo chmod -R ug+rwx storage bootstrap/cache |
<?php | |
$imagenes = array('foto1.jpg', 'foto2.jpg'); | |
$i = 0; | |
$img_canvas = Image::canvas(1800, 1800); | |
foreach($imagenes as $img) { | |
if($img) { | |
$path = public_path($img); | |
switch($i) { | |
case 0: | |
$img_canvas->insert($path, 'left'); |
if(typeof variable != "undefined") { | |
console.log("Variable no existe"); | |
} |
git add . | |
git reset -- archivo |
sudo killall nodejs | |
sudo forever start --minUptime 1000 --spinSleepTime 1000 aplicacion-node.js |