Skip to content

Instantly share code, notes, and snippets.

View qreeves's full-sized avatar
🤪
Coding spree

Quinton Reeves qreeves

🤪
Coding spree
View GitHub Profile
@qreeves
qreeves / varmenu.cfg
Last active September 18, 2023 03:19
newuistyle = [
[ui_style_@arg1] = [@arg2]
]
uistyle = [
[ui_style_@arg1] [@arg2] [@arg3] [@arg4] [@arg5] [@arg6] [@arg7] [@arg8] [@arg9] [@arg10] [@arg11] [@arg12] [@arg13] [@arg14] [@arg15] [@arg16] [@arg17] [@arg18] [@arg19] [@arg20] [@arg21] [@arg22] [@arg23] [@arg24] [@arg25]
]
newuistyle clampxy [uiclamp 1 1 1 1]
newuistyle clampx [uiclamp 1 1 0 0]
blueprint:
name: Tuya 2-Button Scene Switch (TZ3000_kt7obmnn)
description: Automate your Tuya 2-Button Scene Switch using ZHA events.
domain: automation
input:
tuya_2button_scene_switch:
name: Tuya 2-Button Scene Switch
description: Tuya 2-Button Scene Switch to use
selector:
device:
@qreeves
qreeves / RE-HUD-competition.md
Last active October 1, 2018 09:23
Red Eclipse Design-a-HUD competition

As many who are familiar with the development branch of Red Eclipse are aware, among the changes to the game is the ability to finally script the HUD with a UI framework. The trouble at the moment is simple, I'm not great at interface design, and I have zero ability to make this look good on my own, and hence the basic looking nature of what we currently have. That's where you all come in.

The aim of this competition is simple: come up with a design for the new HUD. You don't need to be an artist or anything because the goal is very basic. You can even mock it up in Microsoft Paint if you want. What we want are good layouts for all the elements you could want on the screen and how to express them in the interface design-wise, and we'll do the rest. In keeping with being so simple, the grand prize(s) is also as such: your design will be used in the next version of Red Eclipse. Given enough time, we might even be able to offer more than one HUD in the future as well, to suit different tastes.

Currently, these

@qreeves
qreeves / botrun.cfg
Created March 30, 2018 05:57
Red Eclipse variables to use when you just want to watch bots play
intermlimit 5000
votelimit 0
showobituaries 5
rotatemutsfilter (&~ $rotatemutsfilter $mutsbitcoop)
waitforplayers 0
@qreeves
qreeves / PROF_SAVE_profile
Created June 9, 2016 04:02
Mirror's Edge Catalyst - PROF_SAVE_profile example
// See this post for more information:
// > https://forums.mirrorsedge.com/discussion/1976/a-very-low-setting-for-pc-users
// User.cfg gist:
// > https://gist.github.com/qreeves/5bd5c31a17060ce69c8091bcd47bb4aa/edit
// Replace the parts in this file with your "Mirror's Edge Catalyst" user settings:
// > default: "Documents\Mirror's Edge Catalyst\settings\PROF_SAVE_profile"
// If you get "Out of Memory" errors, try increasing your page file to a fixed size of 8 to 12 GB
// > http://windows.microsoft.com/en-au/windows/change-virtual-memory-size
// DISCLAIMER: This content is provided on an "as-is" basis. I accept no liability if this cooks your computer, blows up a shopping mall, robs you of your free will, or any other adverse effects of any kind.
GstRender.AmbientOcclusion 0
@qreeves
qreeves / User.cfg
Last active June 9, 2016 04:02
Mirror's Edge Catalyst - User.cfg example
// See this post for more information:
// > https://forums.mirrorsedge.com/discussion/1976/a-very-low-setting-for-pc-users
// PROF_SAVE_profile gist:
// > https://gist.github.com/qreeves/2ccbf51cb28ee3a037ccd05734c1720d
// Place this file in your "Mirror's Edge Catalyst" install folder
// > default: "C:\Program Files (x86)\Origin Games\Mirror's Edge Catalyst\User.cfg"
// If you get "Out of Memory" errors, try increasing your page file to a fixed size of 8 to 12 GB
// > http://windows.microsoft.com/en-au/windows/change-virtual-memory-size
// DISCLAIMER: This content is provided on an "as-is" basis. I accept no liability if this cooks your computer, blows up a shopping mall, robs you of your free will, or any other adverse effects of any kind.
GameTime.MaxVariableFps 60