Skip to content

Instantly share code, notes, and snippets.

View craigpatten's full-sized avatar

Craig Patten craigpatten

View GitHub Profile
@sbinlondon
sbinlondon / synthwaveglow.md
Last active July 20, 2025 09:59
Get the synth wave glow theme working for VS Code on Mac

Get the synth wave glow working for VS Code on Mac

These notes are pretty much the same steps as the two extensions list, it's just that I had to collate them together because neither seems to list it fully in the proper order.

  1. Install Synthwave ’84/Synthwave + Fluoromachine theme on VS Code (I used the Fluoromachine one)

  2. Install Custom CSS and JS Loader

  3. Command + Shift + P to open command palette > "Preferences: Open settings (JSON)"

@wido
wido / radosgw-gc-bucket-indexes.sh
Created November 15, 2018 12:38
Ceph RADOS Gateway bucket index garbage collection
#!/bin/bash
#
# Find orphaned bucket index objects in the RGW bucket index pool
# and clean them up if they do not belong to a bucket
#
# Author: Wido den Hollander <[email protected]>
#
INDEX_POOL=$1
@mulbc
mulbc / ceph-client.rb
Last active May 6, 2020 03:36
ceph client library CLI tools for OSX
class CephClient < Formula
desc "Rados and RBD CLIs and libraries of the Ceph project"
homepage "https://ceph.com"
url "[email protected]:ceph/ceph.git", :using => :git, :tag => "v13.2.0"
sha256 "9469c2af0a997a27ddfced71cef3fd55483ab0e34cc36a07a46ccf0d886a2d91"
depends_on :python if MacOS.version <= :snow_leopard
depends_on :osxfuse
depends_on "openssl" => :build
@surma
surma / README.md
Last active January 4, 2025 01:26
webpack-emscripten-wasm

Minimal example making webpack and wasm/Emscripten work together.

Build instructions:

  • Clone this gist
  • npm install
  • npm start
  • Open http://localhost:8080
  • Look at console
@F21
F21 / raft.go
Created November 15, 2017 05:05
Sample hashicorp/raft + hashicorp/serf app
package main
import (
"crypto/md5"
"flag"
"fmt"
"io"
"log"
"os"
"path/filepath"
@camathieu
camathieu / fmm.go
Created August 30, 2017 15:07
Full mesh monitoring
package main
import (
"log"
"flag"
"net"
"strings"
"time"
"os"
"os/signal"
@rjurney
rjurney / .block
Created June 18, 2017 03:17
Simple Box Plot Example in d3.js v4.0
license: mit
@carlvlewis
carlvlewis / index.html
Last active January 26, 2019 07:26
d3.rect - v4
<!DOCTYPE html>
<html>
<meta charset=utf-8>
<head>
<meta name="description" content="D3.js v4, transition, color, location" />
</head>
<body>
<script src="http://d3js.org/d3.v4.min.js"></script>
<!-- .attrs() -->
@mbostock
mbostock / .block
Created November 23, 2016 23:21
Modifying a Force Layout II
license: gpl-3.0
@walm
walm / main.go
Last active September 21, 2025 16:52
Simple Golang DNS Server
package main
import (
"fmt"
"log"
"strconv"
"github.com/miekg/dns"
)