Skip to content

Instantly share code, notes, and snippets.

View etherealxx's full-sized avatar
💭
still learning stuff

Etherealxx etherealxx

💭
still learning stuff
View GitHub Profile
@SethBling
SethBling / MarIO.lua
Created November 20, 2024 00:41 — forked from d12frosted/MarIO.lua
MarI/O by SethBling
-- MarI/O by SethBling
-- Feel free to use this code, but please do not redistribute it.
-- Intended for use with the BizHawk emulator and Super Mario World or Super Mario Bros. ROM.
if gameinfo.getromname() == "Super Mario World (USA)" then
Filename = "DP1.state"
ButtonNames = {
"A",
"B",
"X",
@misiewiczradoslaw
misiewiczradoslaw / README.md
Created September 18, 2024 08:52 — forked from jamiephan/README.md
A script to automatically add ALL items to your account in quixel

Script to add all items from quixel

As quixel is being removed, all items are free to aquire. This script is to automate the process to add items to your account (As of writing, a total of 18874 items)

Note: This script only tested in the latest version of Chrome.

How to use

  1. Copy the script from below (run.js)
  2. Login into https://quixel.com
@stkptr
stkptr / modext.md
Last active May 14, 2025 00:52
Overview of Godot modules and GDExtension

Extending Godot: Modules and Extensions

Godot is an extensible open source game engine. Typically the custom GDScript language is used to develop games and tools with the engine, but Godot supports two methods for extending the engine using C and C++ (and Rust, etc. through bindings).

Modules are integrated as core parts of the engine. Most of Godot is implemented as modules. GDScript for instance is a module. Modules are typically statically compiled into the engine, meaning that the core of Godot and all of

@reduz
reduz / GPU_driven_renderer.md
Last active June 1, 2025 20:02
GPU Driven Renderer for Godot 4.x

GPU Driven renderer design for Godot 4.x

Goals:

The main goal is to implement a GPU driven renderer for Godot 4.x. This is a renderer that happens entirely on GPU (no CPU Dispatches during opaque pass).

Additionally, this is a renderer that relies exclusively on raytracing (and a base raster pass aided by raytracing).

It is important to make a note that we dont want to implement a GPU driven renderer similar to that of AAA/Unreal, as example.

During the past days, this great article by Sam Pruden has been making the rounds around the gamedev community. While the article provides an in-depth analysis, its a bit easy to miss the point and exert the wrong conclusions from it. As such, and in many cases, users unfamiliar with Godot internals have used it points such as following:

  • Godot C# support is inefficient
  • Godot API and binding system is designed around GDScript
  • Godot is not production ready

In this brief article, I will shed a bit more light about how the Godot binding system works and some detail on the Godot

@arfan
arfan / jadwalsholat
Last active October 25, 2023 21:16
jadwal sholat command line using python and curl with api from myquran, hard coded jakarta city
#!/bin/python
import json
import subprocess
from datetime import datetime
now = datetime.now()
current_date = now.strftime("%Y/%m/%d")
jakarta_city_code = "1301"
result = subprocess.run(["curl", f"https://api.myquran.com/v1/sholat/jadwal/{jakarta_city_code}/{current_date}"],
@RoeiRubach
RoeiRubach / Unity Android Support
Last active June 30, 2025 06:07
[Unity Android Support] How to delete and reinstall Unity Android Support #HowTo
1. Restart the PC
2. Go to:
C:\Program Files\Unity\Hub\Editor\2019.2.6f1\Editor\Data\PlaybackEngines\
(this example is for 2019.2.6f1 but you can choose any other)
3. You will find there a folder "AndroidPlayer". Delete that AndroidPlayer folder.
You will need to be a User with Admin rights, and this is probably why Unity fails on uninstall, it has no permission to delete the folder.
@qzm
qzm / aria2.conf
Last active August 12, 2025 14:16
Best aria2 Config
### Basic ###
# The directory to store the downloaded file.
dir=${HOME}/Downloads
# Downloads the URIs listed in FILE.
input-file=${HOME}/.aria2/aria2.session
# Save error/unfinished downloads to FILE on exit.
save-session=${HOME}/.aria2/aria2.session
# Save error/unfinished downloads to a file specified by --save-session option every SEC seconds. If 0 is given, file will be saved only when aria2 exits. Default: 0
save-session-interval=60
# Set the maximum number of parallel downloads for every queue item. See also the --split option. Default: 5
@treuille
treuille / pagination.py
Created October 2, 2019 19:05
Answer: A simple paginator in Streamlit
import streamlit as st
import numpy as np
def paginator(label, items, items_per_page=10, on_sidebar=True):
"""Lets the user paginate a set of items.
Parameters
----------
label : str
The label to display over the pagination widget.
@mcrd25
mcrd25 / untrackfiles_git.md
Last active June 14, 2025 21:19
How to untrack a file that has already been committed to repo after adding to .gitignore

How to Untrack a File That Has Been Committed

It is IMPORTANT to note that you MUST COMMIT ALL PREVIOUS CHANGES BEFOE CONTINUING

  1. Remove everything from Local Repo git rm -r --cached . or if you are untracking a specific file(s) git rm -r --cached name_of_file

  2. Add back all untracked files you need