Archivos: Code Snippets
Azuracast desatendido
mkdir -p /var/azuracast cd /var/azuracast curl -fsSL https://raw.githubusercontent.com/AzuraCast/AzuraCast/main/docker.sh > docker.sh chmod a+x docker.sh # To install the "Stable" release channel instead of "Rolling Release", uncomment this line: # yes ‘Y’ | ./docker.sh setup-release yes ” | ./docker.sh install Read more
Actualizar
cd /var/azuracast ./docker.sh update-self ./docker.sh update Read more
Descarga el script de utilidad de Docker:
curl -fsSL https://raw.githubusercontent.com/AzuraCast/AzuraCast/main/docker.sh > docker.sh chmod a+x docker.sh ./docker.sh install Read more
Crea un directorio para AzuraCast y navega a él:
mkdir -p /var/azuracast cd /var/azuracast Read more
Docker 3
http://localhost:8080/ Read more
docker 2
docker run -d -p 8080:80 nextcloud Read more
docker 1
docker pull nextcloud Read more
Laravel Symbol
<?php $url = ‘../storage/app/public’; $enlace = ‘storage’; symlink($url,$enlace); echo readlink($enlace); Read more
nextcloud.conf
Alias /nextcloud "/var/www/nextcloud/" <Directory /var/www/nextcloud/> Options +FollowSymlinks AllowOverride All <IfModule mod_dav.c> Dav off </IfModule> SetEnv HOME /var/www/nextcloud SetEnv HTTP_HOME /var/www/nextcloud </Directory> Read more
ejemplo hooks
import { Component, OnInit, DoCheck, OnDestroy } from ‘@angular/core’; @Component({ selector: ‘componente’, templateUrl: ‘./componente.component.html’ }) export class ComponenteComponent implements OnInit, DoCheck, OnDestroy { ngOnInit(){ console.log("OnInit ejecutado"); } ngDoCheck(){ console.log("DoCheck ejecutado"); } ngOnDestroy(){ console.log("OnDestroy ejecutado"); } } Read more