Skip to content

Instantly share code, notes, and snippets.

Eating an apple.

Locke Bircher soundslocke

Eating an apple.
View GitHub Profile
citrusui /
Last active Sep 16, 2020
"Dropdowns" in Markdown
How do I dropdown?
This is how you dropdown.

<summary>How do I dropdown?</summary>
This is how you dropdown.
View nginx-cors.conf
map $http_origin $allow_origin {
default "";
"~^https?://(?:[^/]*\.)?(stevebuzonas\.(?:com|local))(?::[0-9]+)?$" "$http_origin";
map $request_method $cors_method {
default "allowed";
"OPTIONS" "preflight";
necolas / snippet.js
Created Jun 14, 2011
Optimised async loading of cross-domain scripts
View snippet.js
* Updated to use the function-based method described in
* Better handling of scripts without supplied ids.
* N.B. Be sure to include Google Analytics's _gaq and Facebook's fbAsyncInit prior to this function.
(function(doc, script) {
var js,
fjs = doc.getElementsByTagName(script)[0],
You can’t perform that action at this time.