Skip to content

Instantly share code, notes, and snippets.

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

William Gérald Blondel wblondel

🏠
Working from home
View GitHub Profile
@phortuin
phortuin / signing-git-commits.md
Last active May 5, 2024 12:33
Set up a GPG key for signing Git commits on MacOS (M1)

Based on this blogpost.

To sign Git commits, you need a gpg key. GPG stands for GNU Privacy Guard and is the de facto implementation of the OpenPGP message format. PGP stands for ‘Pretty Good Privacy’ and is a standard to sign and encrypt messages.

Setting up

Install with Homebrew:

$ brew install gpg
@victornpb
victornpb / deleteDiscordMessages.js
Last active April 16, 2024 09:32
Delete all your messages from DM or Channel in Discord
/*
This file is now hosted here:
https://github.com/victornpb/undiscord
*/
@nicolasazrak
nicolasazrak / README.md
Last active January 12, 2024 21:24
Graph process memory

Usage ./graph.sh

It requires having gnuplot installed

import requests
import json
import os
folderName = 'Photos'
urlFindUser = 'http://iconosquare.com/controller_nl.php?action=nlGetMethod&method=findUsername&value={0}&max_id=false'
urlGetPhotos = 'http://iconosquare.com/controller_nl.php?action=getPhotoUserPublic&user_id={0}&max_id={1}'
import sys
import random
import pygame as pg
MAP_SIZE = 20, 10
TILE_SIZE = 50, 50
CHANCE_OF_SAME = 0.75
TEXTURES = ["water", "dirt", "grass", "coal"]
@ramiabraham
ramiabraham / rom_suffix_codes.md
Last active April 27, 2024 13:28
Video game rom suffix codes (decoded)

Video game rom codes

You wouldn't download a car...


Primary rom codes

Probably what you're looking for

  • [a] Alternate (alternate version of the game, usually trying a different output method)
  • [p] Pirate