Consider the following example. We have a sales
class that has instances with the following shape.
{
date: '2019-04-21',
total: 1050,
salesperson: Ref(Class('users'), '1234')
}
SELECT | |
offices.id AS office_id, | |
offices.abbr AS metro_area, | |
substr (payments.date, 1, 7) AS mnth, | |
SUM(payments.amount) AS amount | |
FROM | |
payments | |
INNER JOIN transactions ON transactions.id = payments.transaction_id | |
INNER JOIN customers ON customers.id = transactions.customer_id | |
INNER JOIN offices ON offices.id = customers.office_id |
import PusherServer from 'pusher'; | |
import { z, ZodSchema } from 'zod'; | |
import PusherClient from 'pusher-js'; | |
const client = new PusherClient('...', { cluster: '...' }); | |
const server = new PusherServer({ | |
appId: '...', | |
key: '...', | |
secret: '...', | |
cluster: '...', |
import fetch from 'isomorphic-unfetch'; | |
import { stringify } from 'querystring'; | |
import pLimit from 'p-limit'; | |
const limit = pLimit(2); | |
export class RTap { | |
private auth: string; | |
constructor(private accountId: number | string, secret: string) { |
[default] | |
exten => metaswitch3334,1,Goto(default,${CUT(CUT(SIP_HEADER(To),@,1),:,2)},1) | |
; directExtensions | |
exten => 1001,1,Answer() | |
same => n,Dial(SIP/ewyne,60) | |
exten => 1002,1,Answer() | |
same => n,Dial(SIP/dserwitz,60) | |
exten => 1003,1,Answer() | |
same => n,Dial(SIP/cmartell,60) |
import { useState, useEffect, useCallback } from 'react'; | |
type AsyncState<TData, TError = Error> = { | |
status: 'idle' | 'loading' | 'finished' | 'failed'; | |
data?: TData; | |
error?: TError; | |
}; | |
type AsyncOptions<TArgs> = { | |
onLoad?: boolean; |
Consider the following example. We have a sales
class that has instances with the following shape.
{
date: '2019-04-21',
total: 1050,
salesperson: Ref(Class('users'), '1234')
}
import fetch from 'node-fetch'; | |
import Twitter from 'twit'; | |
import { parse, format } from 'fecha'; | |
import { take } from 'ramda'; | |
const URL = 'GOOGLE_SHEETS_URL'; | |
const T = new Twitter({ | |
consumer_key: 'consumer_key', | |
consumer_secret: 'consumer_secret', |
Opening https://api.ach.com/webservice/V1/gateway.asmx?WSDL in chrome browser results in the following error message.
This page contains the following errors:
error on line 92 at column 1: expected '>'
Below is a rendering of the page up to the first error.
Firefox returns the following error
<!DOCTYPE html> | |
<html lang="en"> | |
<head> | |
<meta charset="UTF-8"> | |
<title>Cellular Automata</title> | |
<script type="text/javascript" src="https://cdnjs.cloudflare.com/ajax/libs/ramda/0.22.1/ramda.js"></script> | |
<style> | |
.cell { | |
width: 5px; | |
height: 5px; |