Skip to content

Instantly share code, notes, and snippets.

View florianorineveu's full-sized avatar
🛰️
Refactor some things

Florian "Ori" Neveu florianorineveu

🛰️
Refactor some things
View GitHub Profile
@Th3Whit3Wolf
Th3Whit3Wolf / arch_sec_install.sh
Last active June 28, 2024 06:13
Install arch on btrfs(w/ swapfile) on luks with rEFInd bootloader
#!/bin/bash
# 0 - SSH
# This isn't necessary but if you ssh into the computer all the other steps are copy and paste
# Set a password for root
passwd
# Get network access
iwctl
"""
@lyrixx
lyrixx / test.php
Last active July 18, 2024 09:51
Symfony Playgound with its Container and a custom configuration
<?php
use App\Kernel;
require __DIR__.'/vendor/autoload_runtime.php';
use Symfony\Component\Console\Output\StreamOutput;
use Symfony\Component\DependencyInjection\Compiler\CompilerPassInterface;
use Symfony\Component\DependencyInjection\ContainerBuilder;
@florianorineveu
florianorineveu / truncate.php
Created January 11, 2023 12:41
PHP Doctrine ORM - Proper truncate table with association/relation
<?php
use Doctrine\DBAL\Connection;
use Doctrine\DBAL\Platforms\AbstractPlatform;
function truncateTable(
Connection $connection,
AbstractPlatform $databasePlatform,
string $entityName
): void
@florianorineveu
florianorineveu / arch_sec_install.sh
Created March 27, 2024 00:11 — forked from Th3Whit3Wolf/arch_sec_install.sh
Install arch on btrfs(w/ swapfile) on luks with rEFInd bootloader
#!/bin/bash
# 0 - SSH
# This isn't necessary but if you ssh into the computer all the other steps are copy and paste
# Set a password for root
passwd
# Get network access
iwctl
"""