Skip to content

Instantly share code, notes, and snippets.

@lucasgrelaud
lucasgrelaud / Mikrotik.xml
Created October 22, 2023 15:57
Draw.io lib : Mikrotik (from help.mikrotik.com diagrams)
<mxlibrary>[
{
"xml": "&lt;mxGraphModel&gt;&lt;root&gt;&lt;mxCell id=\"0\"/&gt;&lt;mxCell id=\"1\" parent=\"0\"/&gt;&lt;mxCell id=\"2\" value=\"\" style=\"group;movable=1;resizable=1;rotatable=1;deletable=1;editable=1;locked=0;connectable=1;\" vertex=\"1\" connectable=\"0\" parent=\"1\"&gt;&lt;mxGeometry width=\"105\" height=\"39.5\" as=\"geometry\"/&gt;&lt;/mxCell&gt;&lt;mxCell id=\"3\" value=\"\" style=\"group;movable=1;resizable=1;rotatable=1;deletable=1;editable=1;locked=0;connectable=1;\" vertex=\"1\" connectable=\"0\" parent=\"2\"&gt;&lt;mxGeometry width=\"105\" height=\"39.5\" as=\"geometry\"/&gt;&lt;/mxCell&gt;&lt;mxCell id=\"4\" value=\"\" style=\"group;movable=1;resizable=1;rotatable=1;deletable=1;editable=1;locked=0;connectable=1;\" vertex=\"1\" connectable=\"0\" parent=\"3\"&gt;&lt;mxGeometry y=\"16\" width=\"105\" height=\"23.5\" as=\"geometry\"/&gt;&lt;/mxCell&gt;&lt;mxCell id=\"5\" value=\"\" style=\"rounded=1;whiteSpace=wrap;html=1;fillColor=#33404a;arcSize=10;strokeColor=none;movable=1;
@lucasgrelaud
lucasgrelaud / php-fpm-with-nginx-fedora33.md
Created January 2, 2021 11:31
Install PHP-FPM & Nginx Fedora 33

Install PHP-FPM & Nginx Fedora 33 (will need a proper writing)

Install Nginx & PHP-fpm

$: sudo dnf install nginx
$: sudo dnf install php-fpm php-cli

Configure PHP-FPM

  1. Create a user /w group for the application :
@lucasgrelaud
lucasgrelaud / postgresql-gssapi-freeipa.md
Last active March 14, 2024 14:08
Setup GSSAPI auth for Postgresql with FreeIPA

Draft (will need a proper wording)

Register the Server against freeIPA

  • Install FreeIPA client
  • enroll as client

Register the Postgresql service for the server

# Change to root account 
$: sudo su
@lucasgrelaud
lucasgrelaud / pfsense-ldap-freeipa.md
Last active April 7, 2024 00:00
pfSense configuration for FreeIPA 4.8.0

pfSense LDAP configuration for FreeIPA 4.8.0

This is a small guide on how to configure Netgate's pfSense firewall to use the FreeIPA LDAP service.

I. FreeIPA Configuration

I.1. Create a dedicated group

The first step is to create a user group in FreeIPA to manage which user can access the pfSense admin interface. You will be able to create some others groups later if you need to get different profiles on the pfSense admin interface (full admin, vpn admin, etc...).

@lucasgrelaud
lucasgrelaud / mkinitcpio.conf
Created October 29, 2020 09:40
X.org : MX150 + 2060 eGPU w/ external screen on arch
# vim:set ft=sh
# MODULES
# The following modules are loaded before any boot hooks are
# run. Advanced users may wish to specify all system modules
# in this array. For instance:
# MODULES=(piix ide_disk reiserfs)
MODULES=(crc32c-intel nvidia nvidia_modeset nvidia_uvm nvidia_drm)
# BINARIES
# This setting includes any additional binaries a given user may
@lucasgrelaud
lucasgrelaud / VHDL_boilter_plate.vhd
Last active March 29, 2020 13:25
Boilterplate for VHDL IP
-------------------------------------------------------------------------------
-- Title : Arithmetic Logic Unit
-- Project : PROCESSEUR MONO-CYCLE: SIMULATION VHDL
-------------------------------------------------------------------------------
-- File : arithmetic_logic_unit.vhd
-- Author : Lucas GRELAUD <grelaud@et.esiea.fr>
-- Company : ESIEA (Student)
-- Created : 2022-03-29
-- Standard : VHDL'93
-------------------------------------------------------------------------------