Skip to content

Instantly share code, notes, and snippets.

View yppdr's full-sized avatar
🦄
♡╰̩̩̩̩̩̍̍●̩̩̩̩̩̩̩̻̍̍̍̍̍̍̍̊ᴗ̩̩̩̩̩̩̩̩̩̩̪̺̍̍̍̍̍̍̍̍̍̍̆̑●̩̩̩̩̩̩̩̻̍̍̍̍̍̍̍̊╯̩̩̩̩̩̍̍̍̍̍♡

Yannis Piot pilot yppdr

🦄
♡╰̩̩̩̩̩̍̍●̩̩̩̩̩̩̩̻̍̍̍̍̍̍̍̊ᴗ̩̩̩̩̩̩̩̩̩̩̪̺̍̍̍̍̍̍̍̍̍̍̆̑●̩̩̩̩̩̩̩̻̍̍̍̍̍̍̍̊╯̩̩̩̩̩̍̍̍̍̍♡
View GitHub Profile
@yppdr
yppdr / BDLinux.md
Created December 10, 2025 21:24 — forked from ObserverOfTime/BDLinux.md
Install BetterDiscord on Linux

Install BetterDiscord on Linux

This Gist contains simple instructions on how to install, update, and uninstall BetterDiscord on Linux.

For more thorough documentation, take a look at betterdiscordctl's README.

Do NOT submit issues here as I don't check the comments. You should submit them here instead.

#!/usr/bin/env bash
source <(curl -fsSL https://raw.githubusercontent.com/community-scripts/ProxmoxVE/main/misc/build.func)
APP="NPMplus"
var_tags="${var_tags:-proxy}"
var_cpu="${var_cpu:-2}"
var_ram="${var_ram:-1024}"
var_disk="${var_disk:-4}"
var_os="${var_os:-debian}"
var_version="${var_version:-12}"
import QRCode from "qrcode";
import * as crypto from "crypto";
// ==================
// Config
// ==================
const CARD_NUMBER = "V00XXXXXX"; // Code de la carte abo ou carte virtu
const DEVICE_ID = "zzzzzz-zzzzzz-zzzzzz-zzzzzz-zzzzzz"; // ID du tell sur l'app
const GUID = "2L8";
<title></title>
<!-- general meta data -->
<meta charset="UTF-8">
<meta name="viewport" content="width=device-width, initial-scale=1">
<meta name=robots content="index,follow">
<meta name="description" content="SHORT_DESCRIPTION">
<meta name="keywords" content="">
<meta name="author" content="NAME">
<link rel="canonical" href="URL">
<meta name="subject" content="WEBSITE PAGE SUBJECT">
<!DOCTYPE html>
<html lang="fr">
<head>
<meta charset="UTF-8">
<meta name="viewport" content="width=device-width, initial-scale=1.0">
<title>KiwiNetwork - Page Web par défaut</title>
<style>
body {
@yppdr
yppdr / remove-popup.sh
Created June 24, 2023 22:02
Désactiver le message You do not have valid subscription
#! /bin/bash
# Patch du fichier JS
sed -i.bak "s/.data.status.toLowerCase() !== 'active') {/.data.status.toLowerCase() !== 'active') { orig_cmd\(\); } else if ( false ) {/" /usr/share/javascript/proxmox-widget-toolkit/proxmoxlib.js
# Restart PVE Web
systemctl restart pveproxy.service
# Restart PBS Web
systemctl restart proxmox-backup-proxy.service
<!DOCTYPE html>
<html lang="en">
<head>
<meta charset="utf-8">
<meta name="viewport" content="width=device-width, initial-scale=1">
<title>Service Unavailable</title>
<style>
/*! normalize.css v8.0.1 | MIT License | github.com/necolas/normalize.css */html{line-height:1.15;-webkit-text-size-adjust:100%}body{margin:0}a{background-color:transparent}code{font-family:monospace,monospace;font-size:1em}[hidden]{display:none}html{font-family:system-ui,-apple-system,BlinkMacSystemFont,Segoe UI,Roboto,Helvetica Neue,Arial,Noto Sans,sans-serif,Apple Color Emoji,Segoe UI Emoji,Segoe UI Symbol,Noto Color Emoji;line-height:1.5}*,:after,:before{box-sizing:border-box;border:0 solid #e2e8f0}a{color:inherit;text-decoration:inherit}code{font-family:Menlo,Monaco,Consolas,Liberation Mono,Courier New,monospace}svg,video{display:block;vertical-align:middle}video{max-width:100%;height:auto}.bg-white{--bg-opacity:1;background-color:#fff;background-color:rgba(255,255,255,var(--bg-opaci
#!/bin/bash
# Remove old local.cfg
if [ -e "/Applications/GLPI-Agent/etc/conf.d/local.cfg" ]; then
echo "Removing local.cfg"
rm -fv "/Applications/GLPI-Agent/etc/conf.d/local.cfg"
fi
# Create local.cfg
# Show the file in Finder with this command line : open "/Applications/GLPI-Agent/etc/conf.d/"
@yppdr
yppdr / AUTO WIN
Last active August 16, 2023 21:38
POWERSHEL ADMIN
slmgr /dlv
dism /online /get-currentedition
dism /online /set-edition:ServerStandard /productKey:VDYBN-27WPP-V4HQT-9VMD4-VMK7H /accepteula
CMD ADMIN
cscript //nologo slmgr.vbs /upk
cscript //nologo slmgr.vbs /ipk N69G4-B89J2-4G8F4-WWYCC-J464C
cscript //nologo slmgr.vbs /skms 192.168.0.226:1688
cscript //nologo slmgr.vbs /ato
@yppdr
yppdr / VSCode fun
Created March 13, 2021 15:52
Mes extentions / fonts / themes pour VSCode
Extentions :
- Material Icon Theme : https://marketplace.visualstudio.com/items?itemName=PKief.material-icon-theme
- phpfmt - PHP formatter : https://marketplace.visualstudio.com/items?itemName=kokororin.vscode-phpfmt
- HTML CSS Support : https://marketplace.visualstudio.com/items?itemName=ecmel.vscode-html-css
- PHP IntelliSense : https://marketplace.visualstudio.com/items?itemName=felixfbecker.php-intellisense
- Autoprefixer : https://marketplace.visualstudio.com/items?itemName=mrmlnc.vscode-autoprefixer
- HTML Snippets : https://marketplace.visualstudio.com/items?itemName=abusaidm.html-snippets
- Docker Extension Pack : https://marketplace.visualstudio.com/items?itemName=formulahendry.docker-extension-pack