Test the main Spark editor at /style-guide/editor in Luma web.
Test Plan Location: /lux/spark/docs/test-plan.md
- Trigger: Click the
+button that appears when you're on an empty line or hover to the left of any block
| import { z } from "zod"; | |
| const ConfigBase = z.object({ | |
| name: z.string(), | |
| }); | |
| const FreeConfig = ConfigBase.extend( | |
| z.object({ | |
| type: z.literal("free"), | |
| min_cents: z.null(), |
| { | |
| "mint_address": "DFnBmD4HvuEq2DuefNjJQmeamBwR3QjCbFjSwnd5meyz", | |
| "name": "Christmas Crate 2021", | |
| "symbol": "", | |
| "uri": "https://arweave.net/Kdj8ISa58PStAQgUj6vUvlxvfuotcOW0LaX6iJIEuu4", | |
| "seller_fee_basis_points": 1000, | |
| "creators": [ | |
| { | |
| "address": "6jHbPEmLFuixLmyTDBzjwPDiTcWGbdJ3P9ewCtBP9dW9", | |
| "verified": true, |
| diff --git a/next/utils/upload-file-to-s3.ts b/next/utils/upload-file-to-s3.ts | |
| index c8374943b..5e9d4ef37 100644 | |
| --- a/next/utils/upload-file-to-s3.ts | |
| +++ b/next/utils/upload-file-to-s3.ts | |
| @@ -1,4 +1,4 @@ | |
| -import { S3Bucket, S3FolderName } from "@luma-team/shared"; | |
| +import { S3Bucket, S3FolderName, sleep } from "@luma-team/shared"; | |
| import axios from "axios"; | |
| import { ZmClient } from "./ZmClient"; |
| { | |
| "type": "doc", | |
| "content": [ | |
| { | |
| "type": "paragraph", | |
| "content": [ | |
| { | |
| "type": "text", | |
| "text": "Somehow I stopped writing this update. One week, I decided not to send an update and that cascaded for over two months. So after not missing a week for nearly 2 years, I missed 10 of them… Oh well. " | |
| } |
__ _
o'')}____//
`_/ )
(_(_/-(_/
| A = [ | |
| "A = [", | |
| "]", | |
| "def f():", | |
| " print(A[0])", | |
| " for v in A:", | |
| " print(chr(34) + v + chr(34) + ',')", | |
| " print(A[1])", | |
| " for v in A[2:]:", | |
| " print(v)", |
| <html><head> | |
| <title>Strobe</title> | |
| <script> | |
| function toggleBgColor() | |
| { | |
| document.bgColor = document.bgColor == '#ffffff' ? '#000000' : '#ffffff'; | |
| setTimeout('toggleBgColor()', 75); //in milliseconds | |
| } | |
| </script> |
| """ | |
| Add copy to clipboard from IPython! | |
| To install, just copy it to your profile/startup directory, typically: | |
| ~/.ipython/profile_default/startup/ | |
| Example usage: | |
| %copy hello world | |
| # will store "hello world" |
| from httplib import HTTPConnection | |
| import json | |
| if __name__ == '__main__': | |
| base_url = '/challenge.json' | |
| url = base_url | |
| count = 0 | |
| conn = HTTPConnection('www.letsrevolutionizetesting.com') | |
| while count < 100: | |
| conn.request("GET", url) |