Skip to content

Instantly share code, notes, and snippets.

@drcforbin
drcforbin / theme-colors.scss
Last active February 28, 2025 11:00
CSS Dark Mode Theming
$base03: #002b36;
$base02: #073642;
$base01: #586e75;
$base00: #657b83;
$base0: #839496;
$base1: #93a1a1;
$base2: #eee8d5;
$base3: #fdf6e3;
$yellow: #b58900;
$orange: #cb4b16;
@drcforbin
drcforbin / bench_compares.cpp
Created October 4, 2019 18:34
string equality comparisons
#include "rwte/catch.hpp"
#include <array>
#include <string>
#include <string_view>
using namespace std::literals;
template <typename ST>
static bool cmpx(const std::string& a, ST b) {