Skip to content

Instantly share code, notes, and snippets.

View lojikil's full-sized avatar
🌊
cantankerous and querulous, he was as the sea to the shore

Logyi, hajnalvédő lojikil

🌊
cantankerous and querulous, he was as the sea to the shore
View GitHub Profile
book
book_key
title text
author_key
genre_join_key
author
author_key
author_name
; (hydra@eval '(if (< 3 4) "yes" "no") *tlenv*)
_ : Pair = '((3 4) (3 3) (9) (29 2) (3 "yes") (27 1) (3 "no"))
(load 3)
(load 4)
(<)
(compare-and-jump 2) ; jump 2 if false
(load "yes")
(jump 1)
(load "no")
@lojikil
lojikil / micro-wget.pl
Created December 24, 2011 04:48
It is a long story, but I needed a quick and dirty wget-clone, enough to support `apt-cyg`, the Cygwin package downloader. one man page & 5 minutes
#!/usr/bin/env perl
# poor person's wget; enough to satisfy apt-cyg at least.
# works well enough to download OCaml via apt-cyg, so that's
# good enough for me.
use strict;
use LWP::Simple;
my($opt,$dest,$file,$rc);
/* compiler output */
SExp *member0_p (SExp *, SExp *);
SExp *
member0_p (SExp * x, SExp * l)
{
SExp *ret = nil, *x2 = nil, *l3 = nil;
int s1 = 1;
while (s1)
{
@lojikil
lojikil / gist:1131925
Created August 8, 2011 15:10
SRFI Bookmarklet
javascript:(function(){i=prompt("SRFI Number");window.location="http://srfi.schemers.org/srfi-"+i+"/srfi-"+i+".html";})()