Skip to content

Instantly share code, notes, and snippets.

View guyromb's full-sized avatar
:octocat:
CTO during the day, Developer during the night

Guy Rombaut guyromb

:octocat:
CTO during the day, Developer during the night
View GitHub Profile
@jessedearing
jessedearing / gist:2351836
Created April 10, 2012 14:44 — forked from twoism-dev/gist:1183437
Create self-signed SSL certificate for Nginx
#!/bin/bash
echo "Generating an SSL private key to sign your certificate..."
openssl genrsa -des3 -out myssl.key 1024
echo "Generating a Certificate Signing Request..."
openssl req -new -key myssl.key -out myssl.csr
echo "Removing passphrase from key (for nginx)..."
cp myssl.key myssl.key.org
openssl rsa -in myssl.key.org -out myssl.key
@derekpitt
derekpitt / check.coffee
Created February 11, 2012 23:11
big brother
# Big brotha is watching at http://big-brotha.appspot.com/static/index.html
# The map view is annoying though.. plus most of the cameras listed don't work anymore..
# This script just checks them all and then let's you know if any of them give a 200.
url = require 'url'
http = require 'http'
generate_callback = (data, f) -> -> f(data)