Skip to content

Instantly share code, notes, and snippets.

View ShadowBelmolve's full-sized avatar

Renan Tomal Fernandes ShadowBelmolve

View GitHub Profile
@levelsio
levelsio / gist:5bc87fd1b1ffbf4a705047bebd9b4790
Last active June 11, 2025 20:57
Secret of Monkey Island: Amsterdam (by @levelsio) or how to create your own ChatGPT image+text-based adventure game
# 2023-11-27 MIT LICENSE
Here's the open source version of my ChatGPT game MonkeyIslandAmsterdam.com.
It's an unofficial image+text-based adventure game edition of Monkey Island in Amsterdam, my home town.
Please use it however you want. It'd be nice to see more ChatGPT-based games appear from this. If you get inspired by it, please link back to my X https://x.com/levelsio or this Gist so more people can do the same!
Send me your ChatGPT text adventure game on X, I'd love to try it!
@lukasnellen
lukasnellen / README.md
Last active May 15, 2025 22:41
Connect host and VM when using MACVTAP instead of TAP interfaces

Connect host and VM when using a MACVTAP interface

NB: The following is only of interest if you want to share the host network with your virtual machine. The most common way this gets implemented is by setting up a bridge which includes the physical interface. Using a [MACVTAP] inerface is suposed to be more efficient, since it avoids the additional bridge in the network setup.

In this gist, we extend the information provided in the documenation on linux virtual interfaces.

In the following, we assume you host interface is eth0. IP addresses used:

  • host: 198.51.100.50/24
  • virtual machine: 198.51.100.198/24
  • default gateway: 198.51.100.254
@leonardortlima
leonardortlima / mercosul_brasil_plate_regex.md
Last active May 15, 2023 12:57
Regex for Mercosul plate - brazilian version

(?=(?:.*[0-9]){3})(?=(?:.*[A-Z]){4})([A-Z0-9]){6}([0-9])

The plate must have:

  • Four letters
  • Three numbers
  • Characters don't have a fixed position, except for the last one, that must be a number.

Adapted from https://stackoverflow.com/a/29834536

@machty
machty / new-router-examples.md
Last active April 16, 2020 22:03
How to do cool stuff with the new Router API