Skip to content

Instantly share code, notes, and snippets.

Avatar
🌼
Overthinking modular design

Krayfaus krayfaus

🌼
Overthinking modular design
View GitHub Profile
@krayfaus
krayfaus / Context.rs
Created Aug 1, 2022
This is not real source code. The extension here is only for minimal highlighting.
View Context.rs
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.
View static_tree_standalone.cxx
// ----------------------------------------------------------------
// 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
Using Chocolatey to Install Node.js and Yarn
View choco-install-guide.md

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 Jun 1, 2020
Demon's Souls RPCS3 processador Ryzen. Copia para pasta /config/custom_configs na pasta do emulador.
View config_BLES00932.yml
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)
View sway_translation_notes.pt-BR.md

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

View Krayfaus' PGP Public Key
-----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
View keybase.md

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: