Skip to content

Instantly share code, notes, and snippets.

View ELLIOTTCABLE's full-sized avatar
🐫

ELLIOTTCABLE

🐫
View GitHub Profile
; Reference implementation of Iota. See http://ling.ucsd.edu/~barker/Iota
; Usage: echo -n "**ii*ii" | guile -l iota.scm
(let iota ()
(if (eq? #\* (read-char)) ((iota)(iota))
(lambda (c) ((c (lambda (x) (lambda (y) (lambda (z) ((x z)(y z))))))
(lambda (x) (lambda (y) x))))))
; I = *ii
; K = *i*i*ii
@ELLIOTTCABLE
ELLIOTTCABLE / Boot Camp Assistant: Open Files and Ports
Last active October 24, 2016 19:15
Boot Camp Assistant claims it's β€œSaving Windows support software” indefinitely
cwd
/
txt
/Applications/Utilities/Boot Camp Assistant.app/Contents/MacOS/Boot Camp Assistant
txt
/System/Library/Frameworks/DiscRecordingUI.framework/Versions/A/DiscRecordingUI
txt
/usr/share/icu/icudt57l.dat
txt
/System/Library/CoreServices/SystemAppearance.bundle/Contents/Resources/SystemAppearance.car
v6.4.0
3.10.3
[email protected] /Users/ec/Documents/Dropbox/Code/giraphe
β”œβ”€β”¬ [email protected]
β”‚ β”œβ”€β”¬ [email protected]
β”‚ β”‚ β”œβ”€β”¬ [email protected]
β”‚ β”‚ β”‚ β”œβ”€β”€ [email protected]
β”‚ β”‚ β”‚ └── [email protected]
β”‚ β”‚ β”œβ”€β”€ [email protected]
β”‚ β”‚ β”œβ”€β”€ [email protected]
{ "author" : "ELLIOTTCABLE (http://ell.io/tt)"
, "name" : "giraphe"
, "version" : "0.0.1"
, "license" : "ISC"
, "description": "A generic graph walking API."
, "repository" : "ELLIOTTCABLE/giraphe"
, "main" : "./giraphe.js"
#include <assert.h>
#include <errno.h> // for `strerror()`
#include <getopt.h>
#include <inttypes.h> // for `PRIuFAST32`, etc
#include <limits.h> // for `CHAR_BIT`
#include <stdbool.h> // for `bool`
#include <stdint.h>
#include <stdio.h>
#include <stdlib.h>
#include <string.h>
Vagrant.configure(2) do |config|
config.vm.box = "hashicorp/precise64"
# ...
# This mess of B.S., constructed mostly from <http://apt.llvm.org>, is, as far as I can tell, The
# Right Way to get non-ancient clang installed on Precise. (Why am I using Precise again? 'cuz
# Vagrant says so? ΰ² _ΰ² )
#
# Yes, non-ancient clang requires slightly-less-ancient gcc to build ... which isn't available on
> make clean && make
rm -f hashtable.o main.o hashtable hashtable-demo hashtable-demo.o
gcc -O0 -g -DDEBUG -std=c99 -Wall -Wextra -pedantic -Wshadow -Wstrict-overflow -Wstrict-prototypes -Wmissing-prototypes -Wno-missing-field-initializers -c -o hashtable.o hashtable.c
hashtable.c: In function β€˜ht_put’:
hashtable.c:46:4: warning: implicit declaration of function β€˜strnlen’ [-Wimplicit-function-declaration]
assert(strnlen(key, 16) < 16);
^
hashtable.c: In function β€˜ht_del’:
hashtable.c:103:26: warning: unused parameter β€˜ht’ [-Wunused-parameter]
void ht_del(hashtable_t *ht, char *key) {}
@ELLIOTTCABLE
ELLIOTTCABLE / # llvm - 2016-07-30_20-43-20.txt
Created July 31, 2016 02:41
llvm on Mac OS X 10.11.5 - Homebrew build logs
Homebrew build logs for llvm on Mac OS X 10.11.5
Build date: 2016-07-30 20:43:20
@ELLIOTTCABLE
ELLIOTTCABLE / # reattach-to-user-namespace - 2016-07-30_05-27-08.txt
Created July 30, 2016 10:27
reattach-to-user-namespace on Mac OS X 10.12 - Homebrew build logs
Homebrew build logs for reattach-to-user-namespace on Mac OS X 10.12
Build date: 2016-07-30 05:27:08
┏━━━━━━━━━━━━━━━━━━━━━━━━━━━━━┓
0xFF008┃(envp) ┃
┣━━━━━━━━━━━━━━━━━━━━━━━━━━━━━┫
0xFF004┃(argv) ┃
┣━━━━━━━━━━━━━━━━━━━━━━━━━━━━━┫
0xFF000β”‚(argc) │◀──── (start-$sp)
β”œ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~─ ┐
[ ($fp)-00 ] 0xFEFFCβ”‚0x00000 (non-existent $fp) │◀┼─── (previous-$fp)
β”œβ”€β”€β”€β”€β”€β”€β”€β”€β”€β”€β”€β”€β”€β”€β”€β”€β”€β”€β”€β”€β”€β”€β”€β”€β”€β”€β”€β”€β”€β”€ β”‚
[ ($fp)-04 ] 0xFEFF8β”‚0xFECAFECA (another $ra) β”‚ β”‚ Previous