Skip to content

Instantly share code, notes, and snippets.

View Stanislas-Poisson's full-sized avatar
🤓
En recherche d'un poste remote Senior Fullstack Ingenieur

Stanislas Poisson Stanislas-Poisson

🤓
En recherche d'un poste remote Senior Fullstack Ingenieur
View GitHub Profile
@Stanislas-Poisson
Stanislas-Poisson / README.md
Last active May 5, 2026 07:36
TamperMonkey StimData

Tampermonkey Scripts – STIMDATA Toolkit

Collection de scripts Tampermonkey destinés à améliorer la productivité sur les outils internes STIMDATA.

Ces scripts ajoutent des fonctionnalités autour de :

  • GitHub (suivi des Pull Requests)
  • StimTrack (améliorations UI et export rapide)

@Stanislas-Poisson
Stanislas-Poisson / Microsoft.PowerShell_profile.ps1
Last active May 1, 2026 14:48
Windows admin commands — Winget, PowerShell, Task Scheduler, Appx
# PowerShell Profile - Main Entry
# ================
# Winget Update Module
# ================
function maj {
param(
[switch]$all,
[switch]$force,
[switch]$verbose
# ~/.bashrc: executed by bash(1) for non-login shells.
# If not running interactively, don't do anything
case $- in
*i*) ;;
*) return;;
esac
# =====================
# HISTORY CONFIGURATION
{
"version": "15.2.2",
"vulnerabilities": [
{
"id": "4492ad67ffaee0fbba46d9cb5d6dc50bec619740bd1b6266aafa70b901ba7cbe",
"category": "sast",
"name": "Privilege Escalation Allowed",
"description": "Containers should not run with allowPrivilegeEscalation in order to prevent them from gaining more privileges than their parent process",
"cve": "kics_id:5572cc5e-1e4c-4113-92a6-7a8a3bd25e6d:41:0",
"severity": "Critical",
#!/bin/bash
################################################################################
# VPS Setup Script - Production Ready + Docker Optimization
################################################################################
# Author: StanislasP (https://github.com/Stanislas-Poisson)
# Version: 1.1.0
# Date: 2025-12-18
# Description: Complete VPS setup for Debian 12/13 with Docker,
# GitLab Runner, security hardening, monitoring,
# and AUTOMATIC DOCKER CLEANUP
@Stanislas-Poisson
Stanislas-Poisson / Tampermonkey-PFS-PR.js
Created September 5, 2025 07:36
Tampermonkey-PFS-PR.js
// ==UserScript==
// @name GitHub PR Filters - ParisFashionShops
// @namespace http://tampermonkey.net/
// @version 1.0.0
// @description Finder-style filters with URL persistence for ParisFashionShops PRs
// @author Stanislas Poisson <stanislas.poisson@parisfashionshops.com>
// @match https://github.com/ParisFashionShops/*/pulls*
// @grant none
// ==/UserScript==
@Stanislas-Poisson
Stanislas-Poisson / PHP_8.1_Full_Installation_Guide_for_Ubuntu_24.md
Created July 31, 2025 10:52
Install applications, php versions, docker... in Ubuntu 24

PHP 8.1 Full Installation Guide for Ubuntu 24

Ubuntu 24 comes with PHP 8.3+ by default. We need to add a repository to install PHP 8.1 for Laravel compatibility.

Add PHP Repository

sudo apt install -y software-properties-common
sudo add-apt-repository ppa:ondrej/php
sudo apt update
@Stanislas-Poisson
Stanislas-Poisson / MailTester.php
Last active January 12, 2025 13:41
MailTester for check if domain can receid email (dns mx) and if is forbidden
<?php
namespace App\Traits;
use App\Filters\ForbiddenDomains;
use Illuminate\Support\Facades\App;
trait MailTester
{
/**
@Stanislas-Poisson
Stanislas-Poisson / emojis.json
Created December 9, 2024 16:41
Here are all the emoji characters listed in Unicode emoji version 3.0 (as of Unicode version 9.0).
[
{
"emoji": "😀",
"codes": {
"decimal": ["&#128512;"],
"hexadecimal": ["&#x1F600;"]
},
"name": "grinning face"
},
{

Visual Studio Code - Extensions

Integrated

Visual Studio Code (aka: vscode) has a built-in feature for exporting all your extensions, and settings to your git* profil. Search with the command panel ctrl+shift+p for settings sync and use it.

Manual

If you can't or don't want to use the integrated (or want to passed the extensions list to another one) :

  • Unix:
    code --list-extensions | xargs -L 1 echo code --install-extension
  • Windows (PowerShell, e. g. using Visual Studio Code's integrated Terminal):