Skip to content

Instantly share code, notes, and snippets.

@SavageCore
SavageCore / 1-readme.md
Last active June 9, 2024 19:02 — forked from cdleveille/Install⁄Update Xone
Install or update xone driver for Steam Deck (desktop shortcut and bash script)

Enjoying this script? Consider buying me a beer/coffee!

ko-fi

First time setting up your Deck? You may enjoy my setup guide. It'll get you started on Emulation.

Improvements

Main changes at initial release versus cdleveille's original script:

  • Added zenity for a basic "GUI"
@EliFuzz
EliFuzz / Hexagonal Architecture.svg
Created October 8, 2023 17:59
Hexagonal Architecture.svg
Sorry, something went wrong. Reload?
Sorry, we cannot display this file.
Sorry, this file is invalid so it cannot be displayed.

Comment savoir si le joueur est premium ou crack et comprendre pourquoi il est impossible de le savoir avec un spigot 🔮

✨ Actuellement à l'heure d'aujourd'hui plusieurs personnes n'ont pas de compte minecraft pour diverses raisons mais souhaite jouer sur les serveurs, mais comment nous développeurs pouvons faire la différence entre un joueur crack et premium ?

On va commencer par comprendre comment fonctionne le protocol minecraft.

Un packet est struturé de la manière suivante:

Field Name Notes
lenght taille du packet id + data
@ross-newman
ross-newman / QEMU PPC Setup for Debian
Last active June 9, 2024 18:51
Building PPC Linux code using QEMU on Ubuntu 18.04 LTS
#!/bin/bash
echo "Building Debina 10 QEMU instance..."
wget https://cdimage.debian.org/cdimage/ports/10.0/powerpc/iso-cd/debian-10.0-powerpc-NETINST-1.iso
sudo apt install qemu
# Create new disk for install
qemu-img create -f qcow2 debian10.qcow2 2000M
# Boot the install image
qemu-system-ppc -L pc-bios -boot d -M mac99 -m 1024 -net nic,model=sungem -net user -hda debian10.qcow2 -cdrom ./debian-10.0-powerpc-NETINST-1.iso -g 1024x768x8
# Run the image
qemu-system-ppc -L pc-bios -boot c -prom-env "boot-device=hd:,\yaboot" -prom-env "boot-args=conf=hd:,\yaboot.conf" \
@nstarke
nstarke / qemu-debian-powerpc32.md
Created May 31, 2017 23:58
Create Debian PowerPC32 VM Under QEMU

Create Debian PowerPC32 VM Under QEMU

I have a collection of QEMU VMs for different CPU Architectures. In an attempt to fill in some gaps on architectures I lacked VMs for, I decided to spin up a PowerPC32 VM under QEMU. I chose Debian-PowerPC as the OS.

Gathering Resources

Install the prerequisite PowerPC packages:

# apt-get install qemu-system-ppc openbios-ppc
@Klerith
Klerith / docker-compose.yml
Last active June 9, 2024 18:50
PostgreSQL + PgAdmin
version: '3'
services:
myDB:
image: postgres:15.3
container_name: my-database
restart: always
ports:
- 5432:5432
environment:
{
"HTTP":{
"PORT":{
"Equatorial-Guinea":{
"8080":"102.164.252.150"
},
"China":{
"8080":"117.144.175.195"
},
"China_2":{
@timothyham
timothyham / ipv6guide.md
Last active June 9, 2024 18:49
A Short IPv6 Guide for Home IPv4 Admins

A Short IPv6 Guide for Home IPv4 Admins

This guide is for homelab admins who understand IPv4s well but find setting up IPv6 hard or annoying because things work differently. In some ways, managing an IPv6 network can be simpler than IPv4, one just needs to learn some new concepts and discard some old ones.

Let’s begin.

First of all, there are some concepts that one must unlearn from ipv4:

Concept 1

/*
* robotMaze.js
*
* The blue key is inside a labyrinth, and extracting
* it will not be easy.
*
* It's a good thing that you're a AI expert, or
* we would have to leave empty-handed.
*/