Skip to content

Instantly share code, notes, and snippets.

View howird's full-sized avatar

Howard Nguyen-Huu howird

View GitHub Profile
@mxxntype
mxxntype / zen-browser.nix
Last active June 26, 2025 13:56
Package the Zen browser for Nix, and set it as the default one
# NOTE: I manually package the Zen browser for myself.
#
# HACK: This does, however, mean that I will need to manually
# tweak the `version` and `hash` here if I wish to update it.
# This produces the package (derivation):
(let version = "1.0.0-a.37"; in pkgs.appimageTools.wrapType2 {
inherit version;
name = "zen"; # NOTE: This will be the name of the executable in $PATH.
src = pkgs.fetchurl {
@nihalpasham
nihalpasham / CubeCL_Architecture_Overview.md
Last active September 29, 2025 17:47
CubeCL Architecture Overview - Running Rust on your GPU (WebGPU, CUDA)

CubeCL

#gpu #kernel #rust

High Level Overview:

  • GPU kernels in Rust
  • Comptime
    • Automatic vectorization
    • Instruction and shape specialization
  • Loop unrolling
@chpatrick
chpatrick / nix-cmake
Created September 15, 2018 11:38
Using CLion with Nix
#!/usr/bin/env python3
# let's say you have a C++ project in Nix that you want to work on with CLion so that the Nix dependencies are available
# put this script in your project directory
# then, in Settings -> Build, Execution, Deployment -> Toolchains set CMake to this script
# if you need any extra nix-shell arguments, add them to the invocation at the bottom
import os
import sys
import shlex