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
| function Trie() { | |
| this.root = new Node() | |
| }; | |
| function Node(){ | |
| this.children = {} | |
| this.count = 1 | |
| this.countExact = 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
| const TarczaAntykryzysowaHOC = ({Child}) => ( | |
| <Child propaganda="Darmowa pozyczka 5k dla wszystkich mikroprzedsiebiorcow" | |
| handleSubmit={e => console.log('Nie ma kasy w samorzadach. Naprawde spedziles godzine nad tym wnioskiem? Naiwniak...')} /> | |
| ) |
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
| [ | |
| { | |
| "name": "Oskar", | |
| "cards": [ | |
| { | |
| "value": 7, | |
| "suit": "s" | |
| }, | |
| { | |
| "value": 6, |
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
| { | |
| "connections": [ | |
| { | |
| "id": "1", | |
| "name": "Oskar" | |
| }, | |
| { | |
| "id": "2", | |
| "name": "Arlenis" | |
| } |
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
| { | |
| "onePair": [ | |
| { | |
| "input": [ | |
| { | |
| "value": 2, | |
| "symbol": "spades" | |
| }, | |
| { | |
| "value": 5, |
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 bash | |
| { # this ensures the entire script is downloaded # | |
| nvm_has() { | |
| type "$1" > /dev/null 2>&1 | |
| } | |
| nvm_install_dir() { | |
| echo "${NVM_DIR:-"$HOME/.nvm"}" |
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
| type Conversation { | |
| # The Conversation's timestamp. | |
| createdAt: String | |
| # A unique identifier for the Conversation. | |
| id: ID! | |
| # The Conversation's messages. | |
| messages(after: String, first: Int): MessageConnection | |
| # The Conversation's name. | |
| name: String! | |
| } |
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 gql from 'graphql-tag'; | |
| export default gql` | |
| mutation setError($error: String!) { | |
| setError(error: $error) @client | |
| } | |
| ` |