Skip to content

Instantly share code, notes, and snippets.

FUNCTIONS SORTED ON TOTAL TIME
count total (s) self (s) function
2 1.692491 0.000405 unite#action#do()
2 1.339295 0.000149 377()
2 1.339087 0.000063 <SNR>230_execute_command()
2 1.338896 0.027450 unite#util#smart_execute_command()
4 0.569206 0.000934 signature#sign#Refresh()
4 0.558403 signature#sign#ToggleDummy()
2 0.509084 0.000496 <SNR>115_call_unite()
2 0.506018 0.000202 unite#start()
nock('https://api.localtest.io/positouchqa')
.persist()
.get('/resources/Store')
.query({
where: {
sys_id: '565c7ace8f2bd71ead0c11cf'
},
fields: ['store_number', 'display_name', 'timezone']
})
.reply(200, {
#################
# CORE SETTINGS #
#################
#
# Zim settings
#
@FuzzOli87
FuzzOli87 / Dockerfile_base
Created December 9, 2016 23:23
Base Dockerfile
FROM node:6.9.2-alpine
RUN apk add --no-cache ca-certificates \
curl \
su-exec \
bash
ENTRYPOINT ["./entrypoint.sh"]
@FuzzOli87
FuzzOli87 / Dockerfile_extender
Created December 9, 2016 23:24
This docker file uses the Dockerfile_base
FROM docker_base
RUN mkdir /home/app
ENV HOME=/home/app
COPY package.json $HOME
WORKDIR $HOME
RUN npm install
COPY . $HOME
version: '2'
services:
reservation-system-build:
extends:
file: ./docker-compose.yml
service: reservation-system
volumes:
- ./dist:/home/app/dist
- ./web:/home/app/web
{
"name": "generator-parkhub",
"version": "0.1.0",
"description": "A Yeoman generator for a ParkHub application",
"main": "index.js",
"directories": {
"test": "tests"
},
"scripts": {
"test": "echo \"Error: no test specified\" && exit 1",
@FuzzOli87
FuzzOli87 / configmap.yml
Last active April 13, 2017 05:32
linkerd configs
apiVersion: v1
kind: ConfigMap
metadata:
name: l5d-config
namespace: l5d-system
data:
config.yaml: |-
admin:
port: 9990
@FuzzOli87
FuzzOli87 / configmap.yml
Created April 12, 2017 21:38
NGINX configs
apiVersion: v1
data:
proxy-connect-timeout: "15"
proxy-read-timeout: "600"
proxy-send-imeout: "600"
hsts-include-subdomains: "false"
body-size: "64m"
server-name-hash-bucket-size: "256"
kind: ConfigMap
metadata:
@FuzzOli87
FuzzOli87 / deployment.yml
Created April 12, 2017 21:38
The test app that serves a web app
apiVersion: extensions/v1beta1
kind: Deployment
metadata:
labels:
name: world-v1
type: frontend
name: world-v1
namespace: prototype
spec:
replicas: 1