Skip to content

Instantly share code, notes, and snippets.

@bfloch
bfloch / debug_stepping.gd
Created May 30, 2022 08:28
Framestepping in Godot
extends Node
"""
Assign to a single Node in the scene.
Define the following actions as keys:
- debug_switch_pause_mode
Switches pause from either _physics_process or _process (current mode
outputs in console)
- debug_step_frame
Pauses/Steps one frame (either physics or regular frame depending on mode)
@bfloch
bfloch / problem.zig
Last active April 18, 2020 07:02
error: cannot assign to constant
pub const Data = struct {
count: u8,
pub fn init() Data {
return Data{
.count = 0,
};
}
pub fn append(self: Data, value: u8) !void {
@bfloch
bfloch / userChrome.css
Created January 4, 2018 03:38
Firefox - Do not limit sidebar width - Place this in ~/.mozilla/firefox/XXXXXXX.default/chrome/userChrome.css
@namespace url("http://www.mozilla.org/keymaster/gatekeeper/there.is.only.xul"); /* only needed once */
#sidebar { min-width:0px !important; max-width:none !important; }