Skip to content

Instantly share code, notes, and snippets.

Avatar
🦄
______ is best pony.​

Hugo Locurcio Calinou

🦄
______ is best pony.​
View GitHub Profile
@Calinou
Calinou / README.md
Last active Jun 8, 2022
Stunt Rally contribution notes
View README.md

Tracks with checkpoint issues

  • Mos6-TaraMosses: Wrong checkpoint can be triggered in pipe section at the top
  • Sur6-AkkaPadre: Wrong checkpoint can be triggered in the pipe section below the large cave
  • Sur8-BloCorcle: Wrong checkpoint can be triggered shortly after the wallride jump

Tracks with water planes that are too shallow

  • Jng25-CantorJungle
  • Vlc13-BorVolcano
@Calinou
Calinou / github-gist-increase-height.user.css
Created Nov 18, 2021
Increase height of GitHub Gist editors to full screen height
View github-gist-increase-height.user.css
/* ==UserStyle==
@name gist.github.com - 11/18/2021, 7:11:18 PM
@namespace github.com/openstyles/stylus
@version 1.0.0
@description A new userstyle
@author Me
==/UserStyle== */
@-moz-document domain("gist.github.com") {
div.CodeMirror.cm-s-github-light {
@Calinou
Calinou / t248-no-deadzone.sh
Created Nov 9, 2021
Disable built-in deadzone on Thrustmaster T248 steering wheel on Linux
View t248-no-deadzone.sh
#!/usr/bin/env bash
# Source: https://forum.scssoft.com/viewtopic.php?t=291342
set -euo pipefail
IFS=$'\n\t'
evdev-joystick --e /dev/input/by-id/usb-Thrustmaster_Thrustmaster_Racing_Wheel_FFB-event-joystick --d 0
@Calinou
Calinou / godot-tuxfamily-download-all.sh
Last active Nov 3, 2021
Download files for a given Godot release from the TuxFamily servers (for mirroring purposes)
View godot-tuxfamily-download-all.sh
#!/usr/bin/env bash
# Copyright © 2019-2021 Hugo Locurcio
# Licensed under the MIT license.
set -xeuo pipefail
IFS=$'\n\t'
export DIR
DIR="$(cd "$(dirname "${BASH_SOURCE[0]}")" && pwd)"
@Calinou
Calinou / tasks.json
Created Sep 3, 2021
Godot build tasks for Linux using Clang + LLD + Pyston to speed up incremental builds
View tasks.json
{
"version": "2.0.0",
"tasks": [
{
"label": "Build (editor)",
"type": "shell",
"command": "pyston-scons -j10 platform=linuxbsd use_llvm=yes use_lld=yes werror=no tests=no",
"problemMatcher": [],
"group": {
"kind": "build",
@Calinou
Calinou / bottom.html
Created Aug 7, 2021
Backup of the syntax highlighting blocks on the Godot Q&A
View bottom.html
<script defer src="/qa/highlightjs/highlight.min.js"></script>
<script defer src="/qa/highlightjs/highlight.gdscript.min.js"></script>
<script>
window.addEventListener('DOMContentLoaded', (event) => {
document.querySelectorAll('pre code').forEach((block) => {
hljs.highlightBlock(block);
});
});
</script>
View gist:b8f45cb9f4136932c28fe18520c8f0f2
Computer Information:
Manufacturer: Unknown
Model: Unknown
Form Factor: Desktop
No Touch Input Detected
Processor Information:
CPU Vendor: GenuineIntel
CPU Brand: Intel(R) Core(TM) i7-6700K CPU @ 4.00GHz
CPU Family: 0x6
@Calinou
Calinou / metric_config.yaml
Created Apr 28, 2021
Metrics generator for the Godot Git repository (see https://github.com/asottile/git-code-debt)
View metric_config.yaml
# This is a sample metric config
# Sample Groups definition:
# Groups:
# Group1:
# metrics:
# - FooMetric
# - BarMetric
# metric_expressions:
# - ^.*Baz.*$
@Calinou
Calinou / versions.json
Last active Apr 15, 2021
Godot versions available in JSON form (for testing the built-in update checker)
View versions.json
{
"releases": {
"4.1.1": {
"date": "2021-04-15",
"news_url": "https://godotengine.org/news",
"description": "Godot 3.3 has been released!\n\nThis release features significant improvements to 2D and 3D rendering, a new FBX importer, Android App Bundle support, and much more."
},
"4.1": {
"date": "2021-04-15",
"news_url": "https://godotengine.org/news",
@Calinou
Calinou / README.md
Created Feb 20, 2021
Configuration for running git-code-debt on the Godot repository
View README.md
  1. Install Python 3.6 or later and pip then run pip install --user --upgrade git-code-debt.
  2. Save generate_config.yaml and metric_config.yaml in the same folder.
  3. Run git-code-debt-generate. This will take a few minutes.
  4. Run git-code-debt-server database.db and open the address that appears in the console output in a web browser.

See for more information.