You need to have zx installed before executing this file.
npm install -g zx
zx upgrade.zx.md
// 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 |
#!/bin/bash | |
# Function to check if Kubernetes Dashboard is installed | |
function is_dashboard_installed { | |
kubectl get services --namespace=kubernetes-dashboard | grep kubernetes-dashboard >/dev/null 2>&1 | |
return $? | |
} | |
# Function to check if Service Account and ClusterRoleBinding are installed | |
function is_user_installed { |
printf 'FROM scratch\nCOPY . /' | DOCKER_BUILDKIT=1 docker build -f - -o /tmp/docker-context . |