Skip to content

Instantly share code, notes, and snippets.

View alexxbb's full-sized avatar

alexxbb

  • Graphics Tools Engineer @ NVidia
  • Vancouver, Candada
View GitHub Profile
@dreamsmasher
dreamsmasher / overload.rs
Created October 2, 2022 00:16
Function Overloading in Rust
#![feature(fn_traits, unboxed_closures)]
macro_rules! orelse {
(($($lhs:tt)+), $rhs:tt) => {$($lhs)+};
((), ($($rhs:tt)*)) => {$($rhs)*}
}
macro_rules! overload {
(
$v:vis fn $fn_name:ident {
@gpocentek
gpocentek / gl-form.py
Created December 12, 2017 11:44
python-gitlab login/password auth using cookies
import re
import sys
import requests
import gitlab
URL = 'https://gitlab.com'
SIGN_IN_URL = 'https://gitlab.com/users/sign_in'
@mottosso
mottosso / README.md
Last active February 6, 2023 13:56
Minimal QML SceneGraph 2