Skip to content

Instantly share code, notes, and snippets.

@denilsonsa
denilsonsa / README.md
Last active July 2, 2024 15:43
Python Mandelbrot fractal

Python Mandelbrot fractal

Trivial implementation of the Mandelbrot fractal written in pure Python. It outputs to the terminal using 24-bit ANSI escape codes, which is widely supported by many terminals.

No optimization was done to the code. It's supposed to be simple and straightforward.

There is a one-to-one mapping between each calculated point from the fractal and one output character. This results in a low-resolution image made of characters (instead of pixels),

@denilsonsa
denilsonsa / README.md
Last active June 18, 2024 21:30
Steam Community modals as links

Steam Community modals as links

Converts pseudo-links from Steam Community into real anchor tags. Advantages:

  • No JavaScript needed for opening Steam Community items. They are now plain links.
  • We can open them as a full page, instead of being constrained to the clunky modal dialog.
  • We can open them as a new tabs or as a new windows.
  • We can right-click to copy the link to each item.
  • We can click-and-drag the link.
  • We can open many items as background tabs (by middle-clicking on them) and let them load in the background, instead of forcing us to wait for them to load.
@denilsonsa
denilsonsa / README.md
Last active May 1, 2024 20:08
Steam Input controller layouts

Steam Input controller layouts

This Gist tries to collect the Steam Input controller layouts that I have created. (And possibly others I might have found online.)

Unfortunately, sharing layouts is painful due to lack of features on Valve's side. Thus, I'm creating this humble text file over here.

See also

Want to learn more about Steam Input?

@denilsonsa
denilsonsa / Guide.md
Last active June 25, 2024 22:30
How to add Windows-only non-Steam games to Steam Deck

How to add Windows-only non-Steam games to Steam Deck

This guide explains how to add a Windows-only game (or application) to Steam Deck. It also works for Steam running on Linux on any hardware (your laptop, your desktop, etc.). By following these instructions you can add any freeware and fan-game to your system. Of course, just be careful and don't download anything suspicious.

This guide was originally written as a comment to a YouTube video. However, YouTube comments are trash and are randomly silently dropped, so I'm rewriting it here. It's also easier to point people towards this guide.

Prerequisites

  • You know how to use the desktop mode.
  • You understand the concept of files and folders; and you know how to uncompress a ZIP file (or whatever format you have downloaded).
@denilsonsa
denilsonsa / !README.md
Last active May 1, 2024 11:42
Hero Fighters characters

Hero Fighters characters

Characters from Hero Fighter. Images extracted from the game data.

GitHub Gist isn't able to properly embed the images into the Markdown file. Please try viewing it somewhere else. (e.g. "Download ZIP" or "Clone via HTTPS")

If you are interested in the game, please see also the HF Empire fansite.

Title

@denilsonsa
denilsonsa / README.md
Last active May 1, 2024 11:34
KLettres images for SteamGridDB

KLettres images for SteamGridDB

This is an Inkscape multipage SVG file based on the klettres_kids.svg default theme for KLettres. I used this multipage SVG file to generate images for SteamGridDB.

Since multipage is a new concept specific to Inkscape, you have to use it to be able to view the multiple pages. A browser will only show the first page.

@denilsonsa
denilsonsa / AlignImagesAladdin.ipynb
Last active November 28, 2023 23:24
Stitching screenshots together to make a game level map
Loading
Sorry, something went wrong. Reload?
Sorry, we cannot display this file.
Sorry, this file is invalid so it cannot be displayed.
@denilsonsa
denilsonsa / README.md
Last active June 18, 2024 21:08
Bundle Helper Reborn
@denilsonsa
denilsonsa / diameter-chart-hand-adjusted.png
Last active October 21, 2022 10:08
Diameter chart T-shirt design, loving gift to my wife
diameter-chart-hand-adjusted.png
@denilsonsa
denilsonsa / StickyTerms.md
Last active October 7, 2021 23:11
Sticky Terms - word list

Sticky Terms - word list

[Sticky Terms][st] is a mobile game (available [on Android][and] and [on iOS][ios]) where you move and rotate pieces that were sliced up from certain words, trying to reconstruct said words. The game features 250 so-called "untranslatable" words.

Categories

The words are split in several categories:

  • 7 Fails
  • 7 Metaphors