Skip to content

Instantly share code, notes, and snippets.

View PixelyIon's full-sized avatar
🎯
Working on Cassia

Mark Collins PixelyIon

🎯
Working on Cassia
View GitHub Profile
@bylaws
bylaws / 1.md
Last active March 20, 2024 18:40
Qualcomm Vulkan Driver qgl_config.txt Format

Info

Qualcomm Vulkan drivers on Android store their internal settings in a config file located in /data/{vendor, misc}/gpu/qgl_config.txt. This format is completely undocumented by Qualcomm however it contains many settings that can be useful for developers. Detailed documentation on it can be found below however it should be noted that selinux needs to be disabled for apps running in the Android sandbox to access this file.

Syntax

; is a comment
key{=, \n, \r}value assigns a setting value (all are treated in the same way)

On <SDM845, key is the human-readable setting name but on SDM845 or greater key can also be the hash of the setting name, to enable support for the older behaviour the line 0x0=0x8675309 can be added to the top of the file.

Keys

@PixelyIon
PixelyIon / ROMs.md
Last active June 16, 2018 16:42
This is a list of all ROMs and Consoles available on Gym Retro

Supported Consoles

  • Atari2600
  • Genesis

Supported ROMs

Atari2600

Adventure-Atari2600

  • Start

AirRaid-Atari2600

  • Start

Alien-Atari2600

@PixelyIon
PixelyIon / esy_ctl_openai_retro.py
Last active May 24, 2018 12:26
This provides easy to use interface for the actionspace.
class esy_ctl:
out=np.zeros(8)
def up(self):
self.out[4]=1
if(self.out[5]==1):
self.out[5]=0
def down(self):
self.out[5]=1
if(self.out[4]==1):
self.out[4]=0
@jagrosh
jagrosh / Github Webhook Tutorial.md
Last active June 28, 2024 03:43
Simple Github -> Discord webhook

Step 1 - Make a Discord Webhook

  1. Find the Discord channel in which you would like to send commits and other updates

  2. In the settings for that channel, find the Webhooks option and create a new webhook. Note: Do NOT give this URL out to the public. Anyone or service can post messages to this channel, without even needing to be in the server. Keep it safe! WebhookDiscord

Step 2 - Set up the webhook on Github

  1. Navigate to your repository on Github, and open the Settings Settings