Skip to content

Instantly share code, notes, and snippets.

View pbentes's full-sized avatar

Pedro Bentes pbentes

View GitHub Profile
extends Object
class_name Easings
## Class containing static easing functions.
##
## @tutorial(Easings Website): https://easings.net/
static func ease_in_sine(x: float) -> float:
return 1 - cos((x * PI) / 2)
@pbentes
pbentes / Instrumentor.h
Created May 31, 2024 10:38 — forked from TheCherno/Instrumentor.h
Basic Instrumentation Profiler
//
// Basic instrumentation profiler by Cherno
// Usage: include this header file somewhere in your code (eg. precompiled header), and then use like:
//
// Instrumentor::Get().BeginSession("Session Name"); // Begin session
// {
// InstrumentationTimer timer("Profiled Scope Name"); // Place code like this in scopes you'd like to include in profiling
// // Code
// }
@pbentes
pbentes / Cargo.toml
Created October 8, 2022 20:58 — forked from rolisz/Cargo.toml
Simple web crawler in Rust
[package]
name = "rust_crawler"
version = "0.1.0"
authors = ["Roland Szabo <[email protected]>"]
edition = "2018"
# See more keys and their definitions at https://doc.rust-lang.org/cargo/reference/manifest.html
[dependencies]
reqwest = { version = "0.10", features = ["json", "blocking"] }