I hereby claim:
- I am sampaiodiego on github.
- I am chinello (https://keybase.io/chinello) on keybase.
- I have a public key ASBHWQdxxkNtAZ4f3wJDl4J0hqeTva1Xemvx6nfd84z5KAo
To claim this, I am signing this object:
| import express from 'express'; | |
| import { isObject } from 'underscore'; | |
| import { WebApp } from 'meteor/webapp'; | |
| import { Meteor } from 'meteor/meteor'; | |
| const apiServer = express(); | |
| apiServer.disable('x-powered-by'); | |
| // WebApp.connectHandlers.use(apiServer); |
| const fs = require('fs'); | |
| const replace = [ | |
| // fix spaces after @, # and () | |
| [/@ %s/g, '@%s'], | |
| [/@% s/g, '@%s'], | |
| [/`@ %s '/g, '`%s`'], | |
| [/"@ %s/g, '"@%s'], |
| sudo apt-get update | |
| sudo apt install -y \ | |
| apt-transport-https \ | |
| ca-certificates \ | |
| curl \ | |
| software-properties-common | |
| curl -fsSL https://download.docker.com/linux/ubuntu/gpg | sudo apt-key add - |
| Verifying my Blockstack ID is secured with the address 1FNzKogFG5i6kXaXHmaVHyxf6mvw9RG6w1 https://explorer.blockstack.org/address/1FNzKogFG5i6kXaXHmaVHyxf6mvw9RG6w1 |
| const http = require('http'); | |
| const https = require('https'); | |
| const proxy = http.createServer().listen(3128); | |
| proxy.on('request', (request, response) => { | |
| console.log('request ->',request.method); | |
| const options = { | |
| hostname: 'www.google.com', | |
| port: 443, |
| #!/usr/bin/env node | |
| // USAGE | |
| // pr.js <pr_number> | |
| const https = require('https'); | |
| const _execSync = require('child_process').execSync; | |
| function execSync(command) { | |
| console.log(command); |
| const fs = require('fs'); | |
| const { exec } = require('child_process'); | |
| const file = fs.readFileSync('replicasets4.txt').toString(); | |
| // const file = fs.readFileSync('pods.txt').toString(); | |
| (async () => { | |
| const lines = file.split('\n'); | |
| const total = lines.length; |
I hereby claim:
To claim this, I am signing this object:
| --- | |
| version: '2' | |
| services: | |
| traefik: | |
| image: traefik | |
| command: --web --docker --docker.domain=docker.localhost | |
| ports: | |
| - "7000:80" | |
| - "8080:8080" |
| --- | |
| version: '2' | |
| services: | |
| traefik: | |
| image: traefik | |
| #command: --web --docker --docker.domain=docker.localhost --logLevel=DEBUG | |
| command: --web --docker --docker.domain=docker.localhost | |
| ports: | |
| - "7000:80" |