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
Show hidden characters
| { | |
| "root": true, | |
| "parser": "@typescript-eslint/parser", | |
| "parserOptions": { | |
| "project": "./tsconfig.json" | |
| }, | |
| "plugins": ["@typescript-eslint", "prettier"], | |
| "extends": [ | |
| "eslint:recommended", | |
| "plugin:@typescript-eslint/eslint-recommended", |
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
| // React Component | |
| function ProfileBookmarksScreen(props): JSX.Element { | |
| const { componentId, relayPagination } = props | |
| const { data: user, loadNext, hasNext, refetch } = relayPagination | |
| return ( | |
| <> | |
| <div> | |
| {(user?.bookmarkedPostsWithCursor?.edges ?? []).map((edge) => { |
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
| from mitmproxy import http | |
| def request(flow: http.HTTPFlow) -> None: | |
| if "geforce" in flow.request.pretty_host: | |
| flow.request.headers["User-Agent"] = "Mozilla/5.0 (Windows NT 10.0; Win64; x64) AppleWebKit/537.36 (KHTML, like Gecko) Chrome/91.0.4472.124 Safari/537.36" | |
| flow.request.headers["X-Resolution"] = "2560x1440" | |
| flow.request.headers["X-Refresh-Rate"] = "120" |
OlderNewer