Skip to content

Instantly share code, notes, and snippets.

View mvrilo's full-sized avatar
🌳

Murilo Santana mvrilo

🌳
View GitHub Profile
@mvrilo
mvrilo / gist:725274
Created December 2, 2010 13:18 — forked from mrdoob/gist:718743
<!DOCTYPE html>
<html>
<head>
<title>html5 javascript canvas</title>
</head>
<body>
<script>
var canvas, context, mouse = { x: 0, y: 0 };
function onDocumentMouseDown(event) {
@mvrilo
mvrilo / nginx.conf
Created October 15, 2016 23:06 — forked from plentz/nginx.conf
Best nginx configuration for improved security(and performance). Complete blog post here http://tautt.com/best-nginx-configuration-for-security/
# to generate your dhparam.pem file, run in the terminal
openssl dhparam -out /etc/nginx/ssl/dhparam.pem 2048