Skip to content

Instantly share code, notes, and snippets.

View danmillar's full-sized avatar

Dan Millar danmillar

View GitHub Profile
@plentz
plentz / nginx.conf
Last active July 17, 2024 09:16
Best nginx configuration for improved security(and performance)
# to generate your dhparam.pem file, run in the terminal
openssl dhparam -out /etc/nginx/ssl/dhparam.pem 2048
@danmillar
danmillar / sammy.modals.js
Created February 19, 2012 22:33
Sammy Modals (Plugin)
/*
* Sammy Modals (plugin)
* Version 1.0
* https://gist.github.com/1866239
*
* Copyright (c) 2012 Dan Millar (@danmillar / decode.uk.com)
* Dual licensed under the MIT and GPL licenses.
*/
;(function($) {