Skip to content

Instantly share code, notes, and snippets.

View brunurd's full-sized avatar

Bruno Araujo brunurd

View GitHub Profile
@crykn
crykn / switch_to_lwjgl3.md
Last active September 2, 2024 16:50
How to switch to libGDX's LWJGL3 backend

How to switch your libGDX project to LWJGL 3


--- This guide is now available on libgdx.com. Check it out here. If you have any questions, join us on Discord! ---


  1. To switch to libGDX's LWJGL 3 backend, open your root build.gradle file and replace the LWJGL backend dependency:
@joseluisq
joseluisq / resize_disk_image.md
Last active April 16, 2025 13:33
How to resize a qcow2 disk image on Linux

How to resize a qcow2 disk image on Linux

This example takes olddisk.qcow2 and resizes it into newdisk.qcow2, extending one of the guest's partitions to fill the extra space.

1. qcow2 format

1.1. Verify the filesystems of olddisk.qcow2

@moniquelive
moniquelive / first_shader.elm
Created September 9, 2021 03:39
Nosso primeiro shader em ELM WebGL
-- Render a spinning cube.
--
-- Dependencies:
-- elm install elm-explorations/linear-algebra
-- elm install elm-explorations/webgl
--
import Browser
import Browser.Events as E
import Html exposing (Html)