This file contains hidden or 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
*://awesomeopensource.com/* | |
*://www.libhunt.com/* |
This file contains hidden or 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
#!/bin/sh | |
echo "/key/swarm/psk/1.0.0/"; | |
echo "/base16/"; | |
echo "$(openssl rand -hex 32)"; |
This file contains hidden or 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 * as got from "got" | |
import * as request from "request" |
This file contains hidden or 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
<!doctype html> | |
<html> | |
<head> | |
<link href="https://fonts.googleapis.com/icon?family=Material+Icons" rel="stylesheet"> | |
</head> | |
<body> | |
<div aurelia-app="src/configure"> | |
Loading... |
This file contains hidden or 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
version: '3.4' | |
services: | |
nats-init: | |
image: 'nats:latest' | |
entrypoint: "/gnatsd --cluster nats://0.0.0.0:6222 --no_advertise --tls --tlscert /run/secrets/nats.crt --tlskey /run/secrets/nats.key --auth ${TOKEN} -DV" | |
secrets: | |
- nats.crt | |
- nats.key | |
nats: | |
image: 'nats:latest' |
This file contains hidden or 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
version: '3.2' | |
services: | |
minio1: | |
image: minio/minio:${MINIO_VERSION:-latest} | |
volumes: | |
- minio-data:/export | |
ports: | |
- "9001:9000" | |
- target: 9000 |
This file contains hidden or 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 node:7.5-alpine | |
RUN mkdir -p /opt/node-lib-curl | |
WORKDIR /opt/node-lib-curl | |
RUN apk add -q --no-progress --no-cache libcurl openssl openssl-dev python python-dev alpine-sdk curl-dev py-pip \ | |
&& npm install shelljs mocha | |
ADD test.js ./test/ | |
ADD pycurl_exec.py . | |
ADD node-libcurl.js . | |
RUN ./node_modules/mocha/bin/mocha -c --timeout 60000 |
This file contains hidden or 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 alpine:3.4 | |
RUN apk add --no-cache dcron | |
COPY cron /opt/cron/ | |
COPY crontab /etc/crontabs/root | |
COPY entrypoint.sh / | |
COPY backup.sh / | |
COPY restore.sh / |
This file contains hidden or 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
grunt.loadNpmTasks('grunt-text-replace'); | |
grunt.initConfig({ | |
'replace': { | |
default: { | |
src: ['lib/**/*.js'], | |
overwrite: true, | |
replacements: [ | |
{ | |
from: 'var __extends = (this && this.__extends)', |
This file contains hidden or 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
ls|grep -v index|grep \.ts|while read f;do echo -n "export { ";cat $f|grep 'export '|sed -e 's/\s*export \([a-z]\+\) \([A-Za-z0-9]\+\).*/\2/g'|xargs echo -n| sed -e 's/ /,/g'; echo " } from \"`echo -n $f|sed 's/\.ts//g'`\"" ; done; |