This file contains 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
import sys, json | |
from subprocess import check_output | |
try: | |
environment = sys.argv[1] | |
except: | |
exit("Missing environment") | |
try: | |
filename = sys.argv[2] |
This file contains 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
LogLevel debug | |
<VirtualHost *:80> | |
ServerAdmin [email protected] | |
ServerAlias dev.yourserver.com *.dev.yourserver.com | |
ServerName dev.yourserver.com | |
RewriteEngine on | |
RewriteCond %\{HTTP_HOST\} !^www.* [NC] | |
RewriteCond %\{HTTP_HOST\} ^dev\\.yourserver\\.com(.*) | |
RewriteRule ^(.*) /var/www/dev/public_html/$1 [L] |
This file contains 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
# Configure colors, if available. | |
if [ -x /usr/bin/tput ] && tput setaf 1 >&/dev/null; then | |
c_reset='\[\e[0m\]' | |
c_user='\[\033[1;33m\]' | |
c_path='\[\e[0;33m\]' | |
c_git_clean='\[\e[0;36m\]' | |
c_git_dirty='\[\e[0;35m\]' | |
else | |
c_reset= | |
c_user= |
This file contains 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
#property copyright "erdeszt" | |
#property version "1.00" | |
#property library | |
#include <Object.mqh> | |
#include <Arrays/ArrayObj.mqh> | |
#include <Arrays/ArrayString.mqh> | |
#include <mqlcommon/Erdeszt/Map.mqh> | |
#include <mqlcommon/Erdeszt/SmartPtr.mqh> | |
#include <mqlcommon/Erdeszt/Utils.mqh> |
This file contains 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
FROM phusion/baseimage:0.9.13 | |
ENV HOME /root | |
RUN /etc/my_init.d/00_regen_ssh_host_keys.sh | |
CMD ["/sbin/my_init"] | |
RUN apt-get update && apt-get install -y wget vim build-essential unzip git make | |
RUN wget http://packages.erlang-solutions.com/erlang-solutions_1.0_all.deb | |
RUN dpkg -i erlang-solutions_1.0_all.deb | |
RUN apt-get update && apt-get install -y erlang | |
RUN rm erlang-solutions_1.0_all.deb | |
RUN locale-gen en_US.UTF-8 |
This file contains 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
set nocompatible " be iMproved, required | |
set number | |
filetype off " required | |
set laststatus=2 | |
set shiftwidth=4 | |
set softtabstop=4 | |
set expandtab | |
set autoindent | |
set smartindent |