Skip to content

Instantly share code, notes, and snippets.

@yrns
yrns / ramda
Last active June 19, 2016 20:41 — forked from raine/ramda
Browse Ramda documentation in Terminal
#!/usr/bin/env bash
# Browse Ramda documentation in Terminal
# Requires jq and rofi for interactive filtering
LATEST="http://raine.github.io/ramda-json-docs/latest.json"
DOCS_URL="http://ramdajs.com/docs/"
cached=$XDG_CACHE_HOME/$(basename $LATEST)
if [[ ! -r "$cached" ]]; then
@yrns
yrns / triangle-collision.js
Created March 6, 2016 22:40 — forked from toji/triangle-collision.js
Javascript Swept-Sphere/Triangle Collision Detection
/*
* Copyright (c) 2012 Brandon Jones
*
* This software is provided 'as-is', without any express or implied
* warranty. In no event will the authors be held liable for any damages
* arising from the use of this software.
*
* Permission is granted to anyone to use this software for any purpose,
* including commercial applications, and to alter it and redistribute it
* freely, subject to the following restrictions: