Parses multipart/form-data
uploads and stream files to a blob-store.
After uploading the Services receives a json-body with the file references:
{
"files": [
{
"key": "34525ca2-f774-444f-8e7e-7622bef69cb1",
"filename": "13.jpg",
Parses multipart/form-data
uploads and stream files to a blob-store.
After uploading the Services receives a json-body with the file references:
{
"files": [
{
"key": "34525ca2-f774-444f-8e7e-7622bef69cb1",
"filename": "13.jpg",
import feathersClient from '../../../be/node_modules/feathers/client'; | |
import socketioClient from '../../../be/node_modules/feathers-socketio/client'; | |
import ioClient from '../../../be/node_modules/socket.io-client'; | |
import authentication from '../../../be/node_modules/feathers-authentication/client'; | |
import hooks from '../../../be/node_modules/feathers-hooks'; | |
import findIndex from 'lodash/findIndex'; | |
import find from 'lodash/find'; | |
import Vue from 'vue'; | |
export const errorHandlers = []; |
#!/bin/bash | |
MAXTIME=30 | |
PORTS=() | |
START_TSTAMP=$(date "+%s") | |
function help() { | |
>&2 echo "Wait until a port becomes open" | |
>&2 echo | |
>&2 echo "Usage: $0 [options] -h HOST -p Port" |
/** | |
* Loopback User model with *roles* property support | |
*/ | |
var builtinUser = require('loopback/common/models/user.js'); | |
var async = require('async'); | |
var _ = require('lodash'); | |
var debug = require('debug')('loopback:user'); | |
#!/usr/bin/env bash | |
############################################################# | |
# Check the cpu consumption of a running docker container | |
# by reading cgroup information | |
# | |
# Licence: LGPL | |
# Author: Christoph Wiechert <[email protected]> | |
############################################################# |
#!/usr/bin/env bash | |
############################################################# | |
# Check the memory consumption of a running docker container | |
# by reading cgroup information | |
# | |
# Licence: LGPL | |
# Author: Christoph Wiechert <[email protected]> | |
############################################################# |
This little bash script helps you to build your own customized grml.iso
.ssh/*.pub
files into authorized_keys
/dev/sdaX
and the second RAID Device is /dev/sdb
/
gets mirrored, Node goes down when sda fails#!/bin/bash | |
# watch events until infinity | |
UNTIL=99999999999 | |
# respect events 30sec in the past to not forget | |
# started containers AFTER "register running" but BEFORE event listener starts | |
SINCE=$(expr `date +%s` - 30) | |
DOMAIN=fubar |
/opt/bin/etcdctl2
is a wrapper for etcdctl to add certs/DATA/infra/consul/ui