Skip to content

Instantly share code, notes, and snippets.

@Minimuino
Minimuino / CustomSpinBox.gd
Last active June 21, 2023 00:27
Improved Godot SpinBox node
extends Button
export var value: int = 0
export var step: int = 1
export var min_value: int = 0
export var max_value: int = 999
export var prefix: String
export var suffix: String
@Minimuino
Minimuino / gringo_test.py
Created June 5, 2017 17:39
python gringo module example
# -*- coding: utf-8 -*-
import gringo
UNSAFE_PROGRAM = {'name': 'base_unsafe',
'rule': 'p(X).'}
SAFE_PROGRAM = {'name': 'base_safe',
'rule': 'p(x).'}