Skip to content

Instantly share code, notes, and snippets.

View d3turnes's full-sized avatar

d3turnes d3turnes

View GitHub Profile
@jofese
jofese / roundcube_error.txt
Last active January 14, 2020 14:39
pasos para la solucion de coneccion con la base de datos en roundcube webmail.
a) Solucion al error :RoundCube: DATABASE ERROR: CONNECTION FAILED!
Este error surge luego de instalar VestaCP y acceder a webmail.
La Solucion corresponde:
- ir a /var/lib/roundcube/debian-db.php
- ahi veremos el pass de usuario roundcube, copiamos ese pass.
- nos vamos a mysql:
1. ingresamos con usuario root: mysql -u root
2. creamos base de datos "roundcube"
3. ingresamos en la base de datos "roundcube"
@peterbrinck
peterbrinck / Laravel on VestaCP.md
Last active July 2, 2023 14:49
Laravel web templates for VestaCP

I'm not using this or VestaCP anymore, so I can't confirm if still working or not.

I've made a new web template to make Laravel work easily on VestaCP, and so I wouldn't have to change my Laravel installation, if I ever wanted to deploy it elsewhere.

Each file should be put in /usr/local/vesta/data/templates/web/apache2

Then, when you edit your domain/site, you can change the web template to Laravel and just upload your whole project into public_html

@luiscelismx
luiscelismx / elimina_acentos.php
Created February 28, 2014 22:10
Función en PHP para eliminar los acentos en una cadena de texto.
<?php
/*
-- =============================================
-- Author: Luis Antonio Celis Molina
-- Create date: 20/03/2010
-- Description: Limpia cadena y regresa sin acentos
-- Parametros: @text string con la variable a limpiar
-- =============================================
*/