This file contains 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 asyncpg | |
async def create_pool(): | |
pool = await asyncpg.create_pool( | |
database="research", | |
user="jwickens", | |
setup=setup_connection, | |
min_size=32, | |
max_size=32 | |
) |
This file contains 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
const request = require('request-promise-native') | |
const { spawn } = require('child_process') | |
const { EventEmitter } = require('events') | |
const platform = require('os').platform() | |
const uuid = require('uuid') | |
// const url = require('url') | |
const path = require('path') | |
const bin = './ngrok' + (platform === 'win32' ? '.exe' : '') |
This file contains 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> | |
<script src="http://d3js.org/d3.v3.min.js" charset="utf-8"></script> | |
<script src="//cdnjs.cloudflare.com/ajax/libs/react/0.11.0/react.min.js"></script> | |
<script src="https://unpkg.com/vue/dist/vue.js"></script> | |
</head> | |
<body> | |
<div id="container"> | |
<svg v-bind:width="width" v-bind:height="height"> |