Skip to content

Instantly share code, notes, and snippets.

@tristanbob
tristanbob / gist:b73a334affd8f27242fc8b2fc4cd501c
Created February 26, 2024 05:29
GDevelop extension function to center a group of cards in the player's hand
// Duration in seconds, adjust as needed
const duration = eventsFunctionContext.getArgument("TweenDuration")
// Easing function, adjust as needed
const easing = eventsFunctionContext.getArgument("TweenEasing")
// const duration = 2;
// const easing = "easeInOutQuad";
const paddingBetweenCards = 10
@tristanbob
tristanbob / graylog.conf
Created March 7, 2015 19:58
Default graylog.conf file in OVA 1.0
# If you are running more than one instances of graylog-server you have to select one of these
# instances as master. The master will perform some periodical tasks that non-masters won't perform.
is_master = true
# The auto-generated node ID will be stored in this file and read after restarts. It is a good idea
# to use an absolute file path here if you are starting graylog-server from init scripts or similar.
node_id_file = /var/opt/graylog/graylog-server-node-id
# You MUST set a secret to secure/pepper the stored user passwords here. Use at least 64 characters.
# Generate one by using for example: pwgen -N 1 -s 96