Skip to content

Instantly share code, notes, and snippets.

View regisnew's full-sized avatar
🏠
Working from home

Rodrigo Régis Palmeira regisnew

🏠
Working from home
  • Tribunal de Contas do Distrito Federal
  • Brasilia - Brazil
  • X @regisnew
View GitHub Profile
@regisnew
regisnew / docker-compose.yml
Created November 24, 2016 19:49
GitLab on docker-compose
version: '2'
services:
redis:
restart: always
image: sameersbn/redis:latest
command:
- --loglevel warning
volumes:
- /srv/docker/gitlab/redis:/var/lib/redis:Z
@regisnew
regisnew / config.yml
Last active August 29, 2015 14:16 — forked from K-Phoen/config.yml
SF2 + Memcached
imports:
# ....
- { resource: services/session.yml }
framework:
# ....
session:
handler_id: session.handler.memcached
#!/bin/bash
echo "--------------------------------------------------------------------------------------------"
echo "Installing Predis on Ubuntu 12.04"
echo "Read more: https://github.com/nrk/predis"
echo "Author: Ralf Rottmann | @ralf | http://rottmann.net"
echo "--------------------------------------------------------------------------------------------"
PHP5_CONF_DIR="/etc/php5/conf.d"
PHP_INCLUDE_DIR="/usr/share/php5"
echo "Checking prerequisites..."
echo "Git available?"
#!/bin/bash
#
# Install Postgres 9.1, PostGIS 2.0 and pgRouting on a clean Ubuntu 12.04 install (64 bit)
# updated to PostGIS 2.0.1
# basics
apt-get install python-software-properties
apt-add-repository ppa:sharpie/for-science # To get GEOS 3.3.3
# install the following pacakages
#!/bin/bash
#
# Install Postgres 9.1, PostGIS 2.0 and pgRouting on a clean Ubuntu 12.04 install (64 bit)
# updated to PostGIS 2.0.1
# basics
apt-get install python-software-properties
apt-add-repository ppa:sharpie/for-science # To get GEOS 3.3.3
# install the following pacakages