which CSS selectors to use? this shows all the (non-dynamic) options generated from your project's tailwind.config.js
.
rogden/tailwind-config-viewer is the best. run from the command line:
npx tailwind-config-viewer -o
which CSS selectors to use? this shows all the (non-dynamic) options generated from your project's tailwind.config.js
.
rogden/tailwind-config-viewer is the best. run from the command line:
npx tailwind-config-viewer -o
https://github.com/ton-connect/demo-dapp-with-react-ui/blob/master/src/server/services/ton-proof-service.ts |
// Thanks to @MarvinMiles for Telegram Widget Login check function https://gist.github.com/MarvinMiles/f041205d872b0d8547d054eafeafe2a5 | |
// This function validates Web App input https://core.telegram.org/bots/webapps#validating-data-received-via-the-web-app | |
// Transforms Telegram.WebApp.initData string into object | |
function transformInitData(initData) { | |
return Object.fromEntries(new URLSearchParams(initData)); | |
} | |
// Accepts init data object and bot token | |
async function validate(data, botToken) { |
#!/usr/bin/fift -s | |
"TonUtil.fif" include | |
"Asm.fif" include | |
// If you dont know about stack-base languages | |
// Please read something before read comments and trying to understand what is going on here :) | |
5 :$1..n // parse arguments | |
$1 parse-workchain-id =: wc // set workchain id from command line argument | |
$2 parse-int =: subwallet-id // set subwallet id |
ARG DEPS_IMAGE=deps-installer:latest | |
FROM $DEPS_IMAGE as deps-installer | |
FROM node:8.15.0-alpine | |
WORKDIR /app | |
COPY ./ ./ | |
COPY --from=deps-installer /deps/node_modules ./node_modules |
version: '3' | |
services: | |
reverse-proxy: | |
image: traefik:v2.0 | |
container_name: traefik | |
command: --api --providers.docker | |
ports: | |
- "6969:80" | |
- "6970:8080" |
invoices/123
?
in a URL like /assignments?showGrades=1
.#
portion of the URL. This is not available to servers in request.url
so its client only. By default it means which part of the page the user should be scrolled to, but developers use it for various things.This guide assumes you've got a project using Detox with Jest, and you want to write your Detox tests in TypeScript.
We'll be using ts-jest to run Jest tests with TypeScript.