Requires installed gitolite in /home/git and following directory structure
/var
/www
/apps
/hosts
/libs
| #!/usr/bin/env python | |
| import sys | |
| import socket | |
| import xmlrpclib | |
| import argparse | |
| def supervisord_processes(address): | |
| try: |
| import socket | |
| import struct | |
| import sys | |
| from httplib import HTTPResponse | |
| from BaseHTTPServer import BaseHTTPRequestHandler | |
| from StringIO import StringIO | |
| import gtk | |
| import gobject |
| --- base64.lua | |
| -- | |
| -- https://gist.github.com/2563975 | |
| -- | |
| -- V0.3 for Lua 5.1 | |
| -- | |
| -- A simple Base64 encoder/decoder that uses a URL safe variant of the standard. | |
| -- This implementation encodes character 62 as '-' (instead of '+') and character 63 as '_' (instead of '/'). | |
| -- In addition, padding is not used by default. | |
| -- A full description of the specification can be found here: http://tools.ietf.org/html/rfc4648 |
| #!/bin/sh | |
| # | |
| # Runs during git flow release start | |
| # | |
| # Positional arguments: | |
| # $1 Version | |
| # | |
| # Return VERSION - When VERSION is returned empty gitflow | |
| # will stop as the version is necessary | |
| # |
| --- | |
| #### | |
| #### THIS IS OLD AND OUTDATED | |
| #### LIKE, ANSIBLE 1.0 OLD. | |
| #### | |
| #### PROBABLY HIT UP https://docs.ansible.com MY DUDES | |
| #### | |
| #### IF IT BREAKS I'M JUST SOME GUY WITH | |
| #### A DOG, OK, SORRY | |
| #### |
| nodejs-deps: | |
| pkg.installed: | |
| - names: | |
| - g++ | |
| - curl | |
| - libssl-dev | |
| - apache2-utils | |
| require: | |
| - pkg: git |
| #!/usr/bin/env ruby | |
| # gist: https://gist.github.com/3217498 | |
| # This script can be called from an Xcode 'Run Script' build phase at the | |
| # beginning of the build process, like this: | |
| # | |
| # ${PROJECT_DIR}/LocalizeStringsFromAndroid.rb ${PROJECT_NAME} | |
| # | |
| # This script should be placed in the same directory as your .xcodeproj |
| /** | |
| * Equirectangular remapper | |
| * Last update: 7 November 2012 | |
| * | |
| * Changelog: | |
| * 1.0 - Initial release | |
| * 2.0 - Rewrite with polar<->carthesian instead of euler<->matrix math | |
| * | |
| * Licensed under the MIT License: | |
| * http://www.opensource.org/licenses/mit-license.php |
| #cribbed from http://vimeo.com/52569901 (Twilio carrier call origination moderation) | |
| # The idea is that many fan-in queues can enqueue at any rate, but | |
| # dequeue needs to happen in a rate-controlled manner without allowing | |
| # any individual input queue to starve other queues. | |
| # http://en.wikipedia.org/wiki/Leaky_bucket (second sense, "This version is referred to here as the leaky bucket as a queue.") | |
| # | |
| # requires: | |
| # redis 2.6+ | |
| # redis-py>=2.7.0 | |
| # anyjson |