In the root of your project, add .gitlab-ci.yml
with the configuration below.
image: node:latest
stages:
From 3a8fe43e9e073f26e44f62ad072079acd8b78de3 Mon Sep 17 00:00:00 2001 | |
From: =?UTF-8?q?Felix=20Bu=CC=88nemann?= <[email protected]> | |
Date: Mon, 30 May 2016 00:00:29 +0200 | |
Subject: [PATCH] Add SPDY support back to Nginx with HTTP/2 | |
Ported to 1.9.15 from 1.9.7 patch by Jiale Zhi from CloudFlare with | |
additional fixes to re-enable deprecated spdy directives and fix | |
compilation with http_v2 module enabled and spdy disabled. | |
--- | |
auto/modules | 31 + |
# command to generate dhparams.pen | |
# openssl dhparam -out /etc/nginx/conf.d/dhparams.pem 2048 | |
limit_conn_zone $binary_remote_addr zone=conn_limit_per_ip:10m; | |
limit_req_zone $binary_remote_addr zone=req_limit_per_ip:10m rate=5r/s; | |
limit_req_status 444; | |
limit_conn_status 503; | |
proxy_cache_path /var/lib/nginx/proxy levels=1:2 keys_zone=backcache:8m max_size=50m; | |
proxy_cache_key "$scheme$request_method$host$request_uri$is_args$args"; |
#!/bin/bash | |
# | |
# Bash script to setup headless Selenium (uses Xvfb and Chrome) | |
# (Tested on Ubuntu 12.04) trying on ubuntu server 14.04 | |
# Add Google Chrome's repo to sources.list | |
echo "deb http://dl.google.com/linux/chrome/deb/ stable main" | sudo tee -a /etc/apt/sources.list | |
# Install Google's public key used for signing packages (e.g. Chrome) | |
# (Source: http://www.google.com/linuxrepositories/) |
var flattenObject = function(ob) { | |
var toReturn = {}; | |
for (var i in ob) { | |
if (!ob.hasOwnProperty(i)) continue; | |
if ((typeof ob[i]) == 'object') { | |
var flatObject = flattenObject(ob[i]); | |
for (var x in flatObject) { | |
if (!flatObject.hasOwnProperty(x)) continue; |