Skip to content

Instantly share code, notes, and snippets.

@stroborobo
stroborobo / bo-no-prism-theme.css
Created February 29, 2024 22:00
Obsidian Callout Header Fix Snippet
.callout {
--h1-size: 1.7em;
--h2-size: 1.6em;
--h3-size: 1.35em;
--h4-size: 1.2em;
--h5-size: 1.2em;
--h6-size: 1.1em;
--callout-title-size: 0.9em;
--callout-padding: 0 var(--size-4-3) var(--size-4-2) var(--size-4-3);
@stroborobo
stroborobo / Fable.ReactSimpleAnimate.fs
Created April 30, 2020 15:22
Incomplete wrapper for react-simple-animate
// https://react-simple-animate.now.sh
module Fable.ReactSimpleAnimate
open System
open Fable.Core
open Fable.Core.JsInterop
open Fable.React
open Fable.React.Props
@stroborobo
stroborobo / 33c3-wiki.css
Created December 27, 2016 11:59
Remove some of the most annoying 33c3 wiki styles
/* https://userstyles.org/stylish */
h1, h2, h3, h4, h5, h6, .h1, .h2, .h3, .h4, .h5, .h6,
.navbar-nav > li > a {
font-family: "Helvetica Neue" !important;
font-weight: bold;
}
.navbar-tools #search input.search-query {
background-color: rgba(255,255,255,0.5);
package main
import (
"crypto/rand"
"fmt"
"log"
"math/big"
"github.com/jinzhu/gorm"
_ "github.com/lib/pq"
package main
import (
"fmt"
"log"
"net/http"
"sync"
"github.com/oleksandr/bonjour"
)
package handlers
import (
"fmt"
"net/http"
"runtime"
)
// HandlerFunc is the function signature for use in Handler
type HandlerFunc func(c *Context, wr http.ResponseWriter, req *http.Request) (string, error)
PID/THRD SYSCALL(args) = return
1/0x14e: workq_kernreturn(0x20, 0x0, 0x1) = 0 0
1/0x22dbea: bsdthread_ctl(0x100, 0x0, 0xBF7DB) = 0 0
1/0x22dbea: proc_info(0x2, 0x10440, 0xD) = 64 0
1/0x22dbea: workq_kernreturn(0x20, 0x0, 0x1) = 0 0
1/0x22dfef: thread_selfid(0x0, 0x0, 0x0) = 2285551 0
1/0x22dbea: kevent64(0x4, 0x10DD03D58, 0x1) = 1 0
1/0x22dfef: bsdthread_ctl(0x100, 0x8FF, 0xBF7DB) = 0 0
1/0x14e: kevent64(0x4, 0x0, 0x0) = 1 0
1/0x22dbea: bsdthread_ctl(0x100, 0x8FF, 0x0) = 0 0