You need to have zx installed before executing this file.
npm install -g zx
zx upgrade.zx.md
import axios from 'axios'; | |
import { poll } from 'ethers/lib/utils'; | |
import moment from 'moment'; | |
import Logger from '@loaders/logger'; | |
import sleep from '@helpers/utils/sleep'; | |
import { getRandomArbitrary } from '@helpers/utils/get-random-arbitrary'; | |
const pricesPerDayUsd: { [day: string]: number } = {}; | |
let historicalPricesLoaded = false; |
SELECT | |
grantee, | |
specific_schema, | |
routine_name, | |
privilege_type | |
FROM | |
information_schema.routine_privileges | |
WHERE | |
specific_schema NOT IN ('pg_catalog', 'information_schema'); |
// sponsor the creation by setting the deposit on the Entry Point | |
const { request: depositRequest } = await baseMainnetClient.simulateContract({ | |
address: entrypoint.address, | |
functionName: 'depositTo', | |
abi: iEntryPointABI, | |
args: [senderAddress], | |
account: dummyAccount, | |
value: parseEther('0.5'), | |
}) | |
const depositHash = await walletClient.writeContract(depositRequest) |
export async function verifySignature({ | |
authenticatorData, | |
clientDataJSON, | |
r, | |
s, | |
x, | |
y, | |
}: { | |
authenticatorData: string | |
clientDataJSON: string |
#!/usr/bin/env zx | |
// -*- mode: js -*- | |
const orgName = process.argv[3]; | |
if (!orgName) { | |
console.log(`Usage: gh-org-contribs ${chalk.bold("<org-name>")}`); | |
process.exit(1); | |
} |
printf 'FROM scratch\nCOPY . /' | DOCKER_BUILDKIT=1 docker build -f - -o /tmp/docker-context . |
You need to have zx installed before executing this file.
npm install -g zx
zx upgrade.zx.md
➤ YN0000: built @my/ui in 4528 ms | |
➤ YN0000: Done in 5s 16ms | |
- info Loaded env from /Users/0xbigboss/send/send-distributions-app/apps/next/.env.local | |
- info Loaded env from /Users/0xbigboss/send/send-distributions-app/apps/next/.env | |
Welcome to Tamagui! | |
You can update this monorepo to the latest Tamagui release just by running: |
Implementing F. E2E Feature Flags 🔴
#!/bin/bash | |
# Set the domain name | |
domain="example.com" | |
wildcard_domain="*.example.com" | |
# Check if the certificate and key files already exist | |
if [[ -f "${domain}.crt" && -f "${domain}.key" ]]; then | |
echo "Certificate and key files already exist. Exiting..." | |
exit 0 |