Skip to content

Instantly share code, notes, and snippets.

View jgonggrijp's full-sized avatar
💭
Creating open source for the common good

Julian Gonggrijp jgonggrijp

💭
Creating open source for the common good
View GitHub Profile
@jgonggrijp
jgonggrijp / modular-underscore-dependencies.png
Last active June 19, 2020 12:58
Dependency graph of the upcoming modular Underscore
modular-underscore-dependencies.png
@jgonggrijp
jgonggrijp / backbone-illustrated.md
Last active February 15, 2019 22:10
The images from backbonejs.org/#Getting-started with example code for @UUDigitalHumanitieslab/cookiecutter-webapp-deluxe
@jgonggrijp
jgonggrijp / Readme.md
Last active October 1, 2015 06:44
Problem trying to install OpenResty 1.9.3.1 on OS X 10.10.5

Downloaded and extracted ngx_openresty-1.9.3.1.tar.gz to /Volumes/scratch (a RAM disk) and from within the openresty directory did

./configure --with-ipv6 --with-cc-opt="-I/opt/local/include -I/usr/local/include" --with-ld-opt="-L/opt/local/lib -L/usr/local/lib" --with-http_postgres_module

See configure_output.txt for the output of the configuration script and build_nginx-1.9.3_objs_autoconf.err for the contents of build/nginx-1.9.3/objs/autoconf.err.

I have made multiple attempts with slightly varying configure options, all with very similar results if not exactly the same.

@jgonggrijp
jgonggrijp / Readme.md
Created September 9, 2015 07:30
Reduced testcase of a troublesome custom SessionInterface implementation

Todo

@jgonggrijp
jgonggrijp / openclipart_hector_gomez_landscape.png
Last active August 16, 2018 14:05
Demonstration of a curious discrepancy between MySQL and SQLite when using file uploads with Flask-Admin and Flask-SQLAlchemy.
openclipart_hector_gomez_landscape.png
@jgonggrijp
jgonggrijp / description.txt
Created May 13, 2015 15:36
parent node error with jQuery Mobile and jQuery.prototype.clone()
I have a multipage document that includes, among others, a page like the following:
<div id="original" data-role="page">
<form class="problematic" onsubmit="diagnostic();"></form>
</div>
At the bottom of the HTML (end of body) I have a script that clones this page, like this:
$('#original').clone().attr('id', 'copy').appendTo(document.body).page();
@jgonggrijp
jgonggrijp / oneliner-loop.rsp
Created November 5, 2013 18:53
This is a "function-wrapped" version of http://pastebin.com/Q5iDVxjR. `multiplex` takes a list of commands as arguments and applies each command in turn to each line on the standard input. `const` takes one command as an argument, which it will execute when anything is passed on stdin (which is then ignored).
xkcd-search '(?i)spider' | xkcd-fetch | multiplex "const 'echo -------'" "json-parse comic_title" "json-parse transcript" "json-parse number"