Skip to content

Instantly share code, notes, and snippets.

View Meysam-'s full-sized avatar

Meysam Kazemi Meysam-

  • University of Calgary
  • Calgary
View GitHub Profile
struct GradientTexture {
GLuint texture = 0;
int width = 0;
int height = 0;
};
struct ColorMapWithGradientTexture{
vivid::ColorMap colorMap;
std::string texturePath;
GradientTexture texture;
@Meysam-
Meysam- / zsh
Created November 12, 2021 20:33
❯ invoke installdeps
Configuration:
[settings]
arch=x86_64
arch_build=x86_64
build_type=Release
compiler=gcc
compiler.libcxx=libstdc++11
compiler.version=10
os=Linux
fmt: .string "Hello assembly world!\n"
.balign 4
.global main
main: stp x29, x30, [sp, -16]!
mov x29, sp
// adr x0, fmt
adrp x0, fmt
add x0, x0, :lo12:fmt
@Meysam-
Meysam- / this.py
Created June 5, 2019 09:43
zen of python
s = """Gur Mra bs Clguba, ol Gvz Crgref
Ornhgvshy vf orggre guna htyl.
Rkcyvpvg vf orggre guna vzcyvpvg.
Fvzcyr vf orggre guna pbzcyrk.
Pbzcyrk vf orggre guna pbzcyvpngrq.
Syng vf orggre guna arfgrq.
Fcnefr vf orggre guna qrafr.
Ernqnovyvgl pbhagf.
Fcrpvny pnfrf nera'g fcrpvny rabhtu gb oernx gur ehyrf.
Nygubhtu cenpgvpnyvgl orngf chevgl.