- Copy this file to your machine
- open cmd in the folder you pasted the file
- Run the below command in cmd to setup your a server
setup.bat 26.220.184.112 pewpewdojo-server
| Write-Output "Teste teste" >> teste.txt |
| type Equal<L, R> = L extends R ? true : false; | |
| type GreaterThan<L, R, C extends number[] = []> = L extends R | |
| ? false | |
| : C["length"] extends L | |
| ? false | |
| : C["length"] extends R | |
| ? true | |
| : GreaterThan<L, R, [...C, 1]>; | |
| interface INode<V extends number | null, L, R> { |
| { | |
| "semi": true, | |
| "tabWidth": 2, | |
| "useTabs": false, | |
| "printWidth": 100, | |
| "singleQuote": true, | |
| "trailingComma": "all", | |
| "jsxSingleQuote": true, | |
| "jsxBracketSameLine": true, | |
| "arrowParens": "always", |
| import { useCallback, useEffect, useMemo, useReducer } from 'react'; | |
| import { io, Socket } from 'socket.io-client'; | |
| export enum SocketStatus { | |
| CONNECTING = 'CONNECTING', | |
| CONNECTED = 'CONNECTED', | |
| DISCONNECTED = 'DISCONNECTED', | |
| ERROR = 'ERROR', | |
| RECONNECT = 'RECONNECT', | |
| CONNECT_ERROR = 'CONNECT_ERROR', |
| /** | |
| * Paste or drop some JavaScript here and explore | |
| * the syntax tree created by chosen parser. | |
| * You can use all the cool new features from ES6 | |
| * and even more. Enjoy! | |
| */ | |
| const name = 1 | |
| const description = 'Yo ' + name + '! How are you doing? ' + 1 |
This code is based on another codebase. I was just wanting to join the string template with the variable tip and I ended up finding it. Are almost the same, but it made me understand a lot about codemod.
| import React from 'react'; | |
| import { render, fireEvent, waitFor } from '@testing-library/react-native'; | |
| import { LoginForm } from './LoginForm'; | |
| import { withTheme } from '../../../../tests/withTheme'; | |
| import { VALIDATION_ERROR_MESSAGES } from '../../../../Constants'; | |
| jest.mock('@expo/vector-icons', () => ({ | |
| Ionicons: '', | |
| AntDesign: '', | |
| })); |
| export const CAST_LIST_FIELDS = gql` | |
| ${CAST_FIELDS} | |
| fragment CAST_LIST_FIELDS on Media { | |
| cast(first: 10) { | |
| edges { | |
| node { | |
| id | |
| ...CAST_FIELDS | |
| } | |
| } |
| declare function rename< | |
| P extends string, | |
| P2 extends string, | |
| O extends object, | |
| Key extends keyof O | |
| >( | |
| prefix: P, | |
| newPrefix: P2, | |
| obj: O | |
| ): { |