This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
#!/usr/bin/ruby1.8 -rubygems | |
require "base64" | |
require "net/ldap" | |
require "pg" | |
require "set" | |
class User | |
attr_reader :login | |
attr_reader :firstname |
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
#!/bin/bash | |
# | |
# A Git post-receive hook to deploy content from a Git repository on every | |
# push into a repository. The branches that should be automatically deployed | |
# must be listed in the config file of the Git repository. The simplest possible | |
# configuration is shown below: | |
# | |
# [deploy "refs/heads/master"] | |
# directory = /var/www/site | |
# |