Skip to content

Instantly share code, notes, and snippets.

View geduardcatalindev's full-sized avatar

geduardcatalindev geduardcatalindev

View GitHub Profile
@geduardcatalindev
geduardcatalindev / kitty.md
Created October 19, 2025 09:16 — forked from AskinNet/kitty.md
Kitty CheatSheet

Default shortcuts

Scrolling

Action Shortcut
Scroll line up ctrl+shift+up (also ⌥+⌘+⇞ and ⌘+↑ on macOS)
Scroll line down ctrl+shift+down (also ⌥+⌘+⇟ and ⌘+↓ on macOS)
Scroll page up ctrl+shift+page_up (also ⌘+⇞ on macOS)
Scroll page down ctrl+shift+page_down (also ⌘+⇟ on macOS)
// the tl;dr -> https://storage.randy.gg/entity%20midwit.png
/*
ENTITY MEGASTRUCT
by randy.gg
This is an extremely simple and flexible entity structure for video games that doesn't make you want to
die when you're 20k lines deep in a project.
@geduardcatalindev
geduardcatalindev / particle.odin
Created July 18, 2025 08:27 — forked from randyprime/particle.odin
Simple Particle System
package main
import "core:log"
// This extra stuff comes from https://github.com/baldgg/blueprint
import "bald:utils"
import "bald:utils/shape"
import "bald:utils/color"
import "bald:utils/string_store"

ELF Format Cheatsheet

Introduction

Executable and Linkable Format (ELF), is the default binary format on Linux-based systems.

ELF

Compilation

@geduardcatalindev
geduardcatalindev / flutter-singleton-db.dart
Created May 4, 2023 13:48 — forked from madebycm/flutter-singleton-db.dart
Flutter singleton DatabaseHelper
import 'dart:io';
import 'package:path/path.dart';
import 'package:sqflite/sqflite.dart';
import 'package:path_provider/path_provider.dart';
class DatabaseHelper {
static final _databaseName = "MyDatabase.db";
static final _databaseVersion = 1;
@geduardcatalindev
geduardcatalindev / actionlist.vim
Created April 23, 2023 20:20 — forked from zchee/actionlist.vim
IdeaVim actionlist
--- Actions ---
$Copy <M-C>
$Cut <M-X> <S-Del>
$Delete <Del> <BS> <M-BS>
$LRU
$Paste <M-V>
$Redo <M-S-Z> <A-S-BS>
$SearchWeb <A-S-G>
$SelectAll <M-A>
$Undo <M-Z>
@geduardcatalindev
geduardcatalindev / nvimModeStateDiagram.svg
Created April 23, 2023 20:20 — forked from zchee/nvimModeStateDiagram.svg
Vim Modes Transition Diagram in SVG https://rawgithub.com/darcyparker/1886716/raw/eab57dfe784f016085251771d65a75a471ca22d4/vimModeStateDiagram.svg Note, most of the nodes in this graph have clickable hyperlinks to documentation.
Loading
Sorry, something went wrong. Reload?
Sorry, we cannot display this file.
Sorry, this file is invalid so it cannot be displayed.
@geduardcatalindev
geduardcatalindev / OrthographicCameraController.java
Created November 1, 2022 17:32 — forked from JamesSkemp/OrthographicCameraController.java
An orthographic camera controller that handles inputs and gestures, for libGDX.
package com.jamesrskemp.libgdx.utils;
import com.badlogic.gdx.Gdx;
import com.badlogic.gdx.Input;
import com.badlogic.gdx.InputProcessor;
import com.badlogic.gdx.graphics.OrthographicCamera;
import com.badlogic.gdx.input.GestureDetector;
import com.badlogic.gdx.math.Vector2;
/**
<!DOCTYPE html>
<html>
<head><title>SOUND</title></head>
<body>
<div>Frequence: <span id="frequency"></span></div>
<script type="text/javascript">
var audioCtx = new (window.AudioContext || window.webkitAudioContext)();
var oscillatorNode = audioCtx.createOscillator();
var gainNode = audioCtx.createGain();
# token.pickle stores the user's credentials from previously successful logins
if os.path.exists('token.pickle'):
print('Loading Credentials From File...')
with open('token.pickle', 'rb') as token:
credentials = pickle.load(token)
# Google's Request
from google.auth.transport.requests import Request