Skip to content

Instantly share code, notes, and snippets.

View Valyrox's full-sized avatar
🚀
Stryx Studios

Valentin Valyrox

🚀
Stryx Studios
View GitHub Profile
@nathan818fr
nathan818fr / haproxy.cfg
Last active November 18, 2025 10:15
Decoding the Minecraft handshake with HAProxy (protocol version, hostname, next-state) to choose which backend to use.
global
lua-load /path/to/haproxy_minecraft.lua
[...]
defaults
[...]
frontend mc_listener
bind *:25565
mode tcp
@t3easy
t3easy / .gitlab-ci.yml
Last active April 14, 2025 12:30
Build and deploy docker containers with GitLab CI
image: an-image-with-docker-and-docker-compose
variables:
DOCKER_TLS_VERIFY: "1"
DOCKER_CERT_PATH: ".docker"
before_script:
- mkdir -p $DOCKER_CERT_PATH
- echo "$DOCKER_CA" > $DOCKER_CERT_PATH/ca.pem
- echo "$DOCKER_CERT" > $DOCKER_CERT_PATH/cert.pem
@spacepatcher
spacepatcher / Breach Compilation (1.4 billion credentials) in Postgres.md
Last active December 16, 2025 16:27
Breach Compilation (1.4 billion credentials) in Postgres.md

What would you need:

Hardware requirements

@bkuhl
bkuhl / .gitlab-ci.yml
Last active May 22, 2025 07:33
How to use docker-compose in GitLab CI
# Using edge-git ensures we're always pulling the latest
# You can lock into a specific version using the *-git tags
# on https://hub.docker.com/_/docker/
image: docker:edge-git
services:
- docker:dind
# If you only need compose in a specific step definitely put this
# only in that step so it's not executed unnecessarily
before_script:
@0xjac
0xjac / private_fork.md
Last active December 29, 2025 15:42
Create a private fork of a public repository

The repository for the assignment is public and Github does not allow the creation of private forks for public repositories.

The correct way of creating a private frok by duplicating the repo is documented here.

For this assignment the commands are:

  1. Create a bare clone of the repository. (This is temporary and will be removed so just do it wherever.)

git clone --bare git@github.com:usi-systems/easytrace.git

@Eng3l
Eng3l / FileClient.java
Last active December 31, 2016 15:57 — forked from carl-olin/FileClient.java
Simple java file transfer
package client;
import java.io.DataOutputStream;
import java.io.FileInputStream;
import java.io.IOException;
import java.net.Socket;
public class FileClient {
private Socket s;
@alexisvisco
alexisvisco / GUIBuilder.java
Created August 17, 2016 20:28
Somes builders
package fr.kwizzy.deathdash.util;
/**
* Par Alexis le 04/05/2016.
*/
import java.util.ArrayList;
import java.util.HashMap;
import java.util.List;
package fr.hugo4715.crackedskywars.scoreboard;
import java.lang.reflect.Constructor;
import java.lang.reflect.Field;
import java.lang.reflect.InvocationTargetException;
import java.util.Collection;
import org.apache.commons.lang.Validate;
import org.bukkit.ChatColor;
import org.bukkit.entity.Player;
@parmentf
parmentf / GitCommitEmoji.md
Last active December 16, 2025 19:51
Git Commit message Emoji
@zyuiop
zyuiop / README.MD
Last active August 6, 2024 20:01
A simple tool to manage scoreboards in minecraft (lines up to 48 characters !). /

About

This class allow you to use a scoreboard as a sign in which you can write any text. It is designed to be used with a CraftBukkit server (or any similar variant). It uses fake teams to allow lines that are longer than usernames.

Other versions