Skip to content

Instantly share code, notes, and snippets.

@jazio
jazio / docker-compose.yml.md
Last active April 3, 2025 08:19
My platform: install commands, docker-compose.yml, aliases and more.

Cloning platform sites inside AWS Cloud9

Create your docker-compose.yml

version: '3'
services:
  web:
    image: fpfis/httpd-php-dev:8.1
    working_dir: /var/www/html
@jazio
jazio / rockylinux.md
Last active December 17, 2023 21:32
Rocky Linux Server Droplet Configuration

ROCKY LINUX SERVER CONFIGURATION CHECKLIST

Rocky Linux https://rockylinux.org/ (from Community Enterprise Operating System) Rocky Linux is an open-source enterprise operating system designed to be 100% bug-for-bug compatible with Red Hat Enterprise Linux®. It is under intensive development by the community.

Set Up an Alternative Superadmin

@jmolivas
jmolivas / DefaultController.php
Last active August 20, 2022 18:57
Drupal 8 example: How to render a Twig template and load a CSS file from a Controller
<?php
namespace Drupal\acme\Controller;
use Drupal\Core\Controller\ControllerBase;
class DefaultController extends ControllerBase
{
/**