Create repository:
git init
| import * as http from 'http'; | |
| import * as url from 'url'; | |
| import { Incoming } from './incoming.interface'; | |
| import { QueuePersistence } from './persist-queues'; | |
| let queues: QueuePersistence = new QueuePersistence(); | |
| (async () => { | |
| const server = await http.createServer(endpoint); | |
| server.listen(3000); |
Based on this blogpost.
Install with Homebrew:
$ brew install postgresqlRun server:
Sometimes you want to have a subdirectory on the master branch be the root directory of a repository’s gh-pages branch. This is useful for things like sites developed with Yeoman, or if you have a Jekyll site contained in the master branch alongside the rest of your code.
For the sake of this example, let’s pretend the subfolder containing your site is named dist.
Remove the dist directory from the project’s .gitignore file (it’s ignored by default by Yeoman).
| import * as React from 'react'; | |
| export type AProps = React.DetailedHTMLProps<React.AnchorHTMLAttributes<HTMLAnchorElement>, HTMLAnchorElement>; | |
| export type APropsWithoutRef = React.AnchorHTMLAttributes<HTMLAnchorElement>; | |
| export type AreaProps = React.DetailedHTMLProps<React.AreaHTMLAttributes<HTMLAreaElement>, HTMLAreaElement>; | |
| export type AreaPropsWithoutRef = React.AreaHTMLAttributes<HTMLAreaElement>; | |
| export type AudioProps = React.DetailedHTMLProps<React.AudioHTMLAttributes<HTMLAudioElement>, HTMLAudioElement>; | |
| export type AudioPropsWithoutRef = React.AudioHTMLAttributes<HTMLAudioElement>; | |
| export type BaseProps = React.DetailedHTMLProps<React.BaseHTMLAttributes<HTMLBaseElement>, HTMLBaseElement>; | |
| export type BasePropsWithoutRef = React.BaseHTMLAttributes<HTMLBaseElement>; |
| import { AxiosError, AxiosResponse } from "axios"; | |
| type BaseRequest<T, V> = (params?: T) => Promise<AxiosResponse<V>>; | |
| type SuccessResponse<V> = { | |
| code: "success"; | |
| data: V; | |
| }; | |
| type ErrorResponse<E = AxiosError> = { |