Skip to content

Instantly share code, notes, and snippets.

const std = @import("std");
const expect = std.testing.expect;
const Allocator = std.mem.Allocator;
const BitArrayError = error{InvalidBitOffset};
pub const BitArray = struct {
allocator: Allocator,
bytes: []u8,
num_bits: usize,
{
"name": "rsms dark v2 mono",
"author": "rsms",
"variables": {
"red": "hsl(5, 0%, 50%)",
"orange": "hsl(27, 0%, 50%)",
"yellow": "hsl(60, 0%, 50%)",
"green": "hsl(150, 0%, 43%)",
"cyan": "hsl(180, 0%, 50%)",
"blue": "hsl(210, 0%, 50%)",

Data

CREATE TABLE test.t1 (
    id UUID PRIMARY KEY DEFAULT gen_random_uuid(),
    name STRING NOT NULL,
    age INT NOT NULL,
    deleted BOOL DEFAULT NULL,
    INDEX name_age_deleted(name, age, deleted),
    INDEX name_deleted_age(name, deleted, age)

Keybase proof

I hereby claim:

  • I am mikesun on github.
  • I am msun (https://keybase.io/msun) on keybase.
  • I have a public key ASATmKMd3Zfw4qgmxftw_5J3iUyWe2Ws09y3z2_yCcNgEgo

To claim this, I am signing this object:

@mikesun
mikesun / keybase.md
Created March 10, 2014 15:08
keybase.io

Keybase proof

I hereby claim:

  • I am mikesun on github.
  • I am msun (https://keybase.io/msun) on keybase.
  • I have a public key whose fingerprint is 7DED B968 C814 8391 952B 5530 A727 201D C197 96A1

To claim this, I am signing this object: