This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
#!/bin/bash | |
# On affiche les informations sur les modules NVMe | |
clear | |
echo | |
echo "Module NVME_TARGET de votre noyau :" | |
echo "===================================" | |
echo | |
cat /boot/config-`uname -r` | grep NVME_TARGET |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
#!/bin/bash | |
apt update && apt full-upgrade -y && apt autoremove -y | |
wget https://dl.min.io/server/minio/release/linux-amd64/minio | |
chmod +x minio | |
mv minio /usr/local/bin | |
useradd -r minio -s /sbin/nologin | |
chown minio:minio /usr/local/bin/minio |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
<# Script to install multiple applications in one command line through WinGet | |
You can modify bootstrapArray value and use "--bootstrap" argument to bootstrap a new machine | |
Don't forget to change ExecutionPolicy to execute this script | |
Set-ExecutionPolicy -ExecutionPolicy AllSigned -Scope CurrentUser #> | |
$bootstrapArray = @("vlc", "7zip", "cpu-z", "coretemp") | |
if ((New-Object Security.Principal.WindowsPrincipal([Security.Principal.WindowsIdentity]::GetCurrent())).IsInRole([Security.Principal.WindowsBuiltInRole]::Administrator)) | |
{ | |
if ($args[0] -ne "--bootstrap") { $bootstrapArray = $args } |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
# Use FIO to emulate the Apps Class A1 performance test. | |
# This isn't an exact benchmark as the card isn't in the state required by the | |
# specification, but is good enough as a sniff test. | |
# | |
[global] | |
ioengine=libaio | |
iodepth=4 | |
size=64m | |
direct=1 | |
end_fsync=1 |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
#!/usr/bin/python | |
# -*- coding: utf-8 -*- | |
import os | |
import csv | |
import time | |
delay = 2 | |
csv_file = "pi_soc_results.csv" |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
@ECHO OFF | |
TITLE Application initializer v0.1 | |
COLOR 0A | |
ECHO ### Installation de Chocolatey ### | |
@"%SystemRoot%\System32\WindowsPowerShell\v1.0\powershell.exe" -NoProfile -InputFormat None -ExecutionPolicy Bypass -Command "iex ((New-Object System.Net.WebClient).DownloadString('https://chocolatey.org/install.ps1'))" && SET "PATH=%PATH%;%ALLUSERSPROFILE%\chocolatey\bin" | |
refreshenv |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
<?xml version="1.0" encoding="utf-8"?> | |
<unattend xmlns="urn:schemas-microsoft-com:unattend"> | |
<settings pass="windowsPE"> | |
<component name="Microsoft-Windows-International-Core-WinPE" processorArchitecture="amd64" publicKeyToken="31bf3856ad364e35" language="neutral" versionScope="nonSxS" xmlns:wcm="http://schemas.microsoft.com/WMIConfig/2002/State" xmlns:xsi="http://www.w3.org/2001/XMLSchema-instance"> | |
<SetupUILanguage> | |
<UILanguage>fr-FR</UILanguage> | |
</SetupUILanguage> | |
<SystemLocale>fr-FR</SystemLocale> | |
<UILanguage>fr-FR</UILanguage> | |
<UILanguageFallback>fr-FR</UILanguageFallback> |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
DEFAULT menu.c32 | |
MENU TITLE Serveur d'installation PXE | |
TIMEOUT 300 | |
LABEL debian | |
MENU LABEL ^Debian 9.9 (Netboot) | |
LINUX memdisk | |
INITRD _iso/debian_9.9_netboot.iso | |
LABEL fedora30 |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
### Fichier de préconfiguration pour l'installation d'Ubuntu Desktop 19.04 (Disco Dingo) | |
### Intègre les éléments liés à Ubiquity mais principalement basé sur Debian Installer | |
### Template complet : https://help.ubuntu.com/lts/installation-guide/example-preseed.txt | |
### Guide officiel : https://help.ubuntu.com/lts/installation-guide/s390x/apbs04.html | |
########################################################## | |
### Paramètres Ubiquity uniquement pour Ubuntu Desktop ### | |
########################################################## | |
### Reprise du contenu d'Ubuntu.seed |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
### Fichier de préconfiguration pour l'installation de Debian 9.x (Stretch) | |
### Template complet : https://www.debian.org/releases/stable/example-preseed.txt | |
### Guide officiel : https://www.debian.org/releases/stable/i386/apbs04.html.fr | |
### Configuration du français comme langue d'installation | |
d-i debian-installer/locale string fr_FR | |
### Décommenter pour configurer chaque élément de manière distincte | |
### Peut être utile pour des combinaisons spécifiques | |
#d-i debian-installer/locale string fr_FR.UTF-8 |