This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
| #!/usr/bin/env python3 | |
| """MCP helper CLI using definitions from config/mcp_servers.json. | |
| This script powers the `pnpm mcp:*` helpers. Typical invocations: | |
| pnpm mcp:list | |
| pnpm mcp:list chrome-devtools --schema | |
| pnpm mcp:call playwright.browser_tabs action=list | |
| pnpm mcp:call chrome-devtools.evaluate_script --args '{"function":"() => document.title"}' | |
| pnpm mcp:call context7.get_library_docs topic=hooks tokens=1500 |
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
| export default { | |
| title: "MyComponent", | |
| component: MyComponent, | |
| decorators: [withRHF(false)], // or true to show submit button on story | |
| } as Meta; |
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
| { | |
| "errors":[ | |
| { | |
| "debugMessage":"Return value of GraphQL\\Type\\Schema::resolveType() must be an instance of GraphQL\\Type\\Definition\\Type, null returned", | |
| "message":"Internal server error", | |
| "extensions":{ | |
| "category":"internal" | |
| }, | |
| "locations":[ | |
| { |
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
| 00000 | |
| 00001 | |
| 00002 | |
| 00003 | |
| 00004 | |
| 00005 | |
| 00006 | |
| 00007 | |
| 00008 | |
| 00009 |
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
| success run page queries - 0.006s - 1/1 177.34/s | |
| success Writing page-data.json files to public directory - 0.008s - 1/108 13281.36/s | |
| success onPreExtractQueries - 0.002s | |
| success extract queries from components - 0.290s | |
| success write out requires - 1.268s | |
| ERROR #85901 GRAPHQL | |
| There was an error in your GraphQL query: |
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
| <?php | |
| namespace Harness\WPGraphQL\Types; | |
| use Harness\GravityForms\Addon\Translations\GFTranslationsAddOn; | |
| use WPGraphQLGravityForms\Types\Form\Form; | |
| use Harness\Interfaces\Hookable; | |
| /** | |
| * Expose Gravity Forms form URL slugs in the GraphQL API. |
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
| // SPDX-License-Identifier: MIT | |
| // Into the Metaverse NFTs are governed by the following terms and conditions: https://a.did.as/into_the_metaverse_tc | |
| pragma solidity ^0.8.0; | |
| import "@openzeppelin/contracts/utils/Counters.sol"; | |
| import "@openzeppelin/contracts/token/ERC721/IERC721.sol"; | |
| import "@openzeppelin/contracts/token/ERC1155/IERC1155.sol"; | |
| import "@openzeppelin/contracts/utils/cryptography/MerkleProof.sol"; |
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
| var zip = new JSZip(); | |
| var count = 0; | |
| var zipFilename = "zipFilename.zip"; | |
| var urls = [ | |
| 'http://image-url-1', | |
| 'http://image-url-2', | |
| 'http://image-url-3' | |
| ]; | |
| urls.forEach(function(url){ |
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
| import { useState, useRef, useLayoutEffect, RefObject } from 'react' | |
| // https://css-tricks.com/making-sense-of-react-spring/ | |
| export function useHeight({ on = true } = {}): [ | |
| RefObject<HTMLDivElement>, | |
| number | string | |
| ] { | |
| const ref = useRef<HTMLDivElement>(null) | |
| const [height, set] = useState<number | string>(0) |
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
| 1. https://scrimba.com/learn/adventcalendar/note-at-0-56-co03f435f8d078927fffd2b4d | |
| 2. https://scrimba.com/learn/adventcalendar/note-at-0-58-co9d94fb892365289587ef18b | |
| 3. https://scrimba.com/learn/adventcalendar/note-at-0-46-co7e34579a675353016e93e6d | |
| 4. https://scrimba.com/learn/adventcalendar/note-at-0-05-co1ed46609e498c30d52660ab | |
| 5. https://scrimba.com/learn/adventcalendar/note-at-0-04-co85b43f39904c31f23e9877f | |
| 6. https://scrimba.com/learn/adventcalendar/note-at-0-00-co9904420891cc6c6dcad4135 | |
| 7. https://scrimba.com/learn/adventcalendar/note-at-0-00-co2814bcebde9d15a130c57e4 | |
| 8. https://scrimba.com/scrim/cob7a48999fd95b4a6bc54128 | |
| 9. https://scrimba.com/scrim/cod0a40318f07eefaedebd3a4 | |
| 10. https://scrimba.com/scrim/co4da45f9b1a1f4b180e1c363 |
NewerOlder