Edit file /home/gitlab/gitlab/config/unicorn.rb
Find line listen "#{app_dir}/tmp/sockets/gitlab.socket"
and comment it.
Uncomment line listen "127.0.0.1:8080"
sudo a2enmod proxy
sudo a2enmod proxy_balancer
""" | |
Tools for creating a CA cert and signed server certs. | |
Divined from http://svn.osafoundation.org/m2crypto/trunk/tests/test_x509.py | |
The mk_temporary_xxx calls return a NamedTemporaryFile with certs. | |
Usage ; | |
# Create a temporary CA cert and it's private key | |
cacert, cakey = mk_temporary_cacert() |
#!/bin/sh | |
# Warranty request script for Dell PCs | |
# Written by Adam Nielsen <[email protected]> | |
# This code is in the public domain, and is supplied with no warranty. | |
# | |
# This script uses Dell's web service to retrieve the most distant warranty expiration | |
# date for a given machine, as identified by its service tag. It requires curl and awk. | |
# It doesn't parse the WSDL or anything nice like that, it just sends a precomposed | |
# request to the server and extracts the relevant info from the response. |
#! /usr/bin/python | |
""" | |
This simple script makes it easy to create server certificates | |
that are signed by your own Certificate Authority. | |
Mostly, this script just automates the workflow explained | |
in http://www.tc.umn.edu/~brams006/selfsign.html. | |
Before using this script, you'll need to create a private |
#!/usr/bin/env python | |
# -*- coding: utf-8 -*- | |
# | |
# gencert.py | |
# | |
# Copyright 2013 tunnelshade <blog.tunnelshade.in> | |
# | |
# * openssl genrsa -des3 -out ca.key 1024 | |
# | |
# * openssl req -new -x509 -days 3650 -key ca.key -out ca.crt |
This gist contains lists of modules available in
in AWS Lambda.