Skip to content

Instantly share code, notes, and snippets.

View hbuschme's full-sized avatar
👋

Hendrik Buschmeier hbuschme

👋
View GitHub Profile
@cmod
cmod / hugofastsearch.md
Last active May 1, 2024 05:20 — forked from eddiewebb/readme.md
Fast, instant client side search for Hugo static site generator

Super fast, keyboard-optimized, client side Hugo search

This is a fork of and builds upon the work of Eddie Webb's search and Matthew Daly's search explorations.

It's built for the Hugo static site generator, but could be adopted to function with any json index compatible with Fuse fuzzy search library.

To see it in action, go to craigmod.com and press CMD-/ and start typing.

Fast Search

# Free Will Problem #
Under this heading I mean to separate off those issues of
[[Freedom]] that have to do with the *metaphysical* problem of free
will and determinism. As opposed to political or theological
freedom. This is also distinct from the problem of the compatibility
of free will and divine foreknowledge.
According to [[Peter van Inwagen]]'s proposal we should understand
the "problem of free will" as (I am glossing):
@syllog1sm
syllog1sm / gist:10343947
Last active November 7, 2023 13:09
A simple Python dependency parser
"""A simple implementation of a greedy transition-based parser. Released under BSD license."""
from os import path
import os
import sys
from collections import defaultdict
import random
import time
import pickle
SHIFT = 0; RIGHT = 1; LEFT = 2;
@gcatlin
gcatlin / gist:1847248
Created February 16, 2012 19:43
Install specific version of Homebrew formula
brew update
brew versions FORMULA
cd `brew --prefix`
git checkout HASH Library/Formula/FORMULA.rb # use output of "brew versions"
brew install FORMULA
brew switch FORMULA VERSION
git checkout -- Library/Formula/FORMULA.rb # reset formula
## Example: Using Subversion 1.6.17
#
@jfountain
jfountain / gist:1640535
Created January 19, 2012 15:13 — forked from lucasfais/gist:1207002
Sublime Text 2 - Raw Shortcuts
super+shift+n new window
super+shift+w close window
super+o prompt open file
super+shift+t reopen last file
super+alt+up switch file
super+n new file
super+s save
super+shift+s prompt save as
super+alt+s save all
super+w close