Skip to content

Instantly share code, notes, and snippets.

View krayfaus's full-sized avatar
🌼
Overthinking modular design

Krayfaus krayfaus

🌼
Overthinking modular design
View GitHub Profile
@krayfaus
krayfaus / Context.rs
Created August 1, 2022 18:14
This is not real source code. The extension here is only for minimal highlighting.
Context :: struct
{
allocator : Allocator;
assertion_failure_handler : Assertion_Failure_Handler;
logger : Logger;
}
// 'context' is a reserved keyword.
// It refers to the currently bound context.
// 'action' doesn't need to know the context type.
// ----------------------------------------------------------------
// S+ Tree
//
// Created by: Sergey Slotin
// Documented at:
// https://en.algorithmica.org/hpc/data-structures/s-tree
// https://twitter.com/sergey_slotin/status/1494349254730690561
//
// ----------------------------------------------------------------
//
@krayfaus
krayfaus / choco-install-guide.md
Last active May 3, 2021 00:16
Using Chocolatey to Install Node.js and Yarn

Install Chocolatey

# Allow Execution of Foreign Scripts
> Set-ExecutionPolicy Bypass -Scope Process -Force;

# Use TLS 1.2
> [System.Net.ServicePointManager]::SecurityProtocol = 3072;

# Download and Execute Chocolatey's Install Script
@krayfaus
krayfaus / config_BLES00932.yml
Last active June 1, 2020 18:47
Demon's Souls RPCS3 processador Ryzen. Copia para pasta /config/custom_configs na pasta do emulador.
Core:
PPU Decoder: Recompiler (LLVM)
PPU Threads: 2
PPU Debug: false
Save LLVM logs: false
Use LLVM CPU: ""
Max LLVM Compile Threads: 0
Enable thread scheduler: true
Set DAZ and FTZ: false
SPU Decoder: Recompiler (LLVM)
@krayfaus
krayfaus / sway_translation_notes.pt-BR.md
Created October 18, 2019 22:10
Gêneros e *sway* [pt-BR]

Gêneros e sway

Para padronizar a traduçao definiremos os gêneros das utilidades sway conforme as frases abaixo:

  • o sway é um gerenciador de janelas

    logo sway : masculino

  • a swaybar é uma linha/barra de status

-----BEGIN PGP PUBLIC KEY BLOCK-----
Comment: https://keybase.io/download
Version: Keybase Go 4.6.1 (windows)
xsFNBF2mK0UBEACrC4+9eOv9CyWintObV/RO+7gGacaEcJ5euSb/UeYLx2gf5ohJ
RuxACWbFrQoJ3nd0RJ8hyXuR5biyqfpvC/VEWP9zXnT9RnkzOaZGfMBC2DG6UY0P
eiH8G4UPuysQb3ErVzvvwUv7R9peNivZVPKCGIidFZ+57bDWu3ZZszttT7TLNlGY
uP/4s4KIE+D3QHfcCWVQg7h368CPSZCnzuKb7HDfSOSPm5TyWs1bR2m2xL9Uufpz
HZnzORBlbGTmcVUNUf5qqrHKqbr6LqqzzhBAzyltK1VG6uh492O6QElVchBcAJrJ
FUsp/ifSIdLqsRSA5BPaaHKJ3LpXaC6z17yLwDeczGhyLnTWBpoIR25ZKhkO8iLE

Keybase proof

I hereby claim:

  • I am krayfaus on github.
  • I am krayfaus (https://keybase.io/krayfaus) on keybase.
  • I have a public key ASCvVwEW7Ficy2-QfzR5CMnL7x_d04CheGLptreF_-jBvwo

To claim this, I am signing this object: