- Donald Duck bowtie is red
- Thomas Cromwell's wife was called Elizabeth
- “你好" means "hello" 👋 in Chinese
- "Yay" is printed
- Rowan Atkinson had a small part in Never Say Never Again
- Graham Atkinson with 107
- George Washington did (in a speech drafted by Alexander Hamilton)
- The Security Council of the United Nations only has five permanent members - China, France, Russia, the UK and the US. Germany is currently one of the ten additional, temporary members which hold their seats on a rotating basis by geographic region.
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
| /** | |
| * @dev Taken from OpenZeppelin Contracts (access/Ownable.sol). | |
| * Represents the project owner entity of a given project. | |
| * Names have been changed, but otherwise the code is identical. | |
| */ | |
| abstract contract ProjectRole is Context { | |
| address private _projectOwner; | |
| event ProjectOwnershipTransferred(address indexed previousProjectOwner, address indexed newProjectOwner); |
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
| logger = use_logging() | |
| logger.info('An informative log message', extra={'user_id': 'abc123', **function_args}) |
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
| class LogLevel(Enum): | |
| CRITICAL = CRITICAL | |
| DEBUG = DEBUG | |
| ERROR = ERROR | |
| FATAL = FATAL | |
| INFO = INFO | |
| NOTSET = NOTSET | |
| WARNING = WARNING | |
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
| { | |
| "version": "2.0.0", | |
| "tasks": [ | |
| { | |
| "label": "add_requirements", | |
| "type": "shell", | |
| "command": "poetry export -f requirements.txt --without-hashes > requirements.txt" | |
| }, | |
| ] | |
| } |
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
| { | |
| "configurations": [ | |
| { | |
| "preLaunchTask": "add_requirements", | |
| "type": "aws-sam", | |
| "request": "direct-invoke", | |
| "name": "whatever", | |
| "invokeTarget": { | |
| "target": "code", | |
| "lambdaHandler": "path.to.your.handler.handler_name", |
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
| "TypeScript Apollo Resolver Test": { | |
| "prefix": "tart", | |
| "body": [ | |
| "import { FetchResult } from 'apollo-link'", | |
| "import { DataProxy } from 'apollo-cache'", | |
| "import { createMockResolverArgs } from '@rg-dev/apollo/src/test-utils/resolvers.utils'", | |
| "", | |
| "afterEach(() => jest.clearAllMocks())", | |
| "", | |
| "test('it should ', () => {", |