A simple bash shell script to update Laravel files and folders group permission with SELinux
cd /var/www/laravel| ## This is the config file for the stream ingest server | |
| # We accept the stream (from OBS, xsplit, etc) here | |
| # and turn it into a HLS stream (live video in fragments) | |
| # served through HTTP. Reason we use this is HLS is very | |
| # easy to serve using a Content Delivery Network (CDN) | |
| # closer to individual viewers | |
| # Generic guff. Run as the "nobody" user so if this service gets hacked | |
| # they can't do much else | |
| user nobody; |
| Muestra cómo la **estrategia de EE. UU. en el Esequibo** estuvo subordinada a su objetivo principal: **el control del futuro canal interoceánico**. | |
| ======================================================================== | |
| LINEA DE TIEMPO: ESEQUIBO Y LA HEGEMONIA DEL CANAL DE PANAMA (1850-1903) | |
| ======================================================================== | |
| 1850 - TRATADO CLAYTON-BULWER | |
| ------------------------------ | |
| Evento: EE. UU. y Gran Bretaña firman el Tratado Clayton-Bulwer. | |
| Contexto: Establece que CUALQUIER canal transoceánico construido en Centroamérica (incluyendo Nicaragua o Panamá) será de control conjunto (no-exclusivo) de ambas potencias. |
| cat /etc/letsencrypt/live/example.com/fullchain.pem /etc/letsencrypt/live/example.com/privkey.pem >/etc/cockpit/ws-certs.d/example.com.cert |
| @startuml | |
| title "Diagrama de Red" | |
| nwdiag { | |
| network Frontend { | |
| address = "x.x.x.0/32"; | |
| internal; | |
| backend [address = ".x"]; | |
| portal [address = ".x"]; | |
| // define group | |
| group IIS { |
| <?php | |
| namespace App\Enums; | |
| use Filament\Support\Contracts\HasColor; | |
| use Filament\Support\Contracts\HasIcon; | |
| use Filament\Support\Contracts\HasLabel; | |
| use Illuminate\Support\Facades\Log; | |
| enum Roles: int implements HasLabel, HasIcon, HasColor |
| $("form").on('submit', async function (evt) { | |
| evt.preventDefault(); | |
| const result =await basic.croppie('result', { type: 'base64', size: 'viewport'}); | |
| $('#base64_image').val(result); | |
| this.submit(); | |
| }); |
| cd dev/capsi | |
| git pull origin main -q | |
| git archive --format=tar.gz -o /tmp/capsi.tar.gz --prefix=./ main | |
| sudo rm -rf /var/www/capsi | |
| sudo mkdir /var/www/capsi | |
| cd /var/www/capsi | |
| sudo tar -xvf /tmp/capsi.tar.gz | |
| sudo usermod -a -G www-data ubuntu | |
| sudo chown -R ubuntu:www-data /var/www/capsi | |
| sudo find /var/www/capsi -type f -exec chmod 644 {} \; |
| <!DOCTYPE html> | |
| <html lang="{{ str_replace('_', '-', app()->getLocale()) }}"> | |
| <head> | |
| <meta charset="utf-8"> | |
| <meta name="viewport" content="width=device-width, initial-scale=1"> | |
| <meta name="csrf-token" content="{{ csrf_token() }}"> | |
| <title>{{ config('app.name', 'Laravel') }}</title> |
| <settings xmlns="http://maven.apache.org/SETTINGS/1.0.0" | |
| xmlns:xsi="http://www.w3.org/2001/XMLSchema-instance" | |
| xsi:schemaLocation="http://maven.apache.org/SETTINGS/1.0.0 https://maven.apache.org/xsd/settings-1.0.0.xsd"> | |
| <servers> | |
| <server> | |
| <id>TomcatServer</id> | |
| <username>admin</username> | |
| <password>password</password> | |
| </server> | |
| </servers> |