Skip to content

Instantly share code, notes, and snippets.

View gaetandezeiraud's full-sized avatar
🏠
Working from home

Gaëtan Dezeiraud gaetandezeiraud

🏠
Working from home
View GitHub Profile
@noseratio
noseratio / remove-unwanted-windows11-apps.ps1
Last active April 13, 2024 04:57
Windows 11 autorun resident apps that I have to remove manually
# Teams 2.0 (no work account support yet)
winget uninstall MicrosoftTeams_8wekyb3d8bbwe
# Your Phone
winget uninstall Microsoft.YourPhone_8wekyb3d8bbwe
# Widgets (Web Experience Pack)
winget uninstall MicrosoftWindows.Client.WebExperience_cw5n1h2txyewy
# Cortana
@KevinBatdorf
KevinBatdorf / laravel-forge-deploy-nextjs.sh
Last active February 24, 2022 15:45
Config for running NextJS production app on Laravel Forge with WP backend
# Deploy script - change the site from default if needed, of course
SITE="/home/forge/default"
cd $SITE
git pull origin $FORGE_SITE_BRANCH
# npm ci
npm run build
pkill -f "node $SITE/node_modules/.bin/next start"
@felixkrohn
felixkrohn / Readme.md
Last active December 3, 2022 18:10
centos8 @ OVH/SoYouStart/Kimsufi

centos8 @ OVH/SoYouStart/Kimsufi

How to install CentOS 8 on OVH/SoYouStart/Kimsufi

  • connect to the OVH/SoYouStart/Kimsufi API and create a ipxe script under https://eu.api.kimsufi.com/console/#/me/ipxeScript#POST or equivalent, see centos8.ipxe below
  • boot your server from this netboot, and ping it to follow the process. If you can observe the webserver's logs you will se your server's IP pulling kernel and initrd with "iPXE" user agent, then it will start pinging, and retrieve the kickstart.cfg a bit later (with "curl" user agent). This is the moment when you could set your server back to "Boot from Hard Disk".
  • Also at this point you can connect to your server with SSH using the key/password set in the kickstart file. type tmux a to attach the install's tmux session and follow the progress. For debugging, check the logs in /tmp and those sent over syslog.

upstream documentation