Directory structure: βββ microsoft-TypeChat/ βββ SUPPORT.md βββ typescript/ β βββ examples/ β β βββ crossword/ β β β βββ README.md β β βββ coffeeShop-zod/ β β β βββ README.md β β βββ sentiment-zod/
| #!/bin/bash | |
| # ccc-statusd installation script | |
| # Usage: curl -fsSL https://raw.githubusercontent.com/caoer/ccc-statusd/main/install.sh | bash | |
| set -e | |
| REPO="caoer/ccc-statusd" | |
| INSTALL_DIR="${INSTALL_DIR:-$HOME/.local/bin}" | |
| VERSION="${VERSION:-latest}" |
| ## General info: | |
| # Function starts with @ | |
| # Variable starts with $ | |
| # Return of the most recently run function made by $@ | |
| # Key comments marked with ## | |
| ## Version of IV must be set first | |
| ~version: "2.1" | |
| # Telegram doesn't support JW Player which is used in videoheaders |
Directory structure: βββ modelcontextprotocol-docs/ βββ docs/ β βββ tools/ β β βββ debugging.mdx β β βββ inspector.mdx β βββ concepts/ β βββ roots.mdx β βββ resources.mdx β βββ architecture.mdx
Directory structure: βββ docs/ βββ reference/ β βββ build_failures.md β βββ settings.md β βββ index.md β βββ resolver-internals.md β βββ benchmarks.md β βββ policies/ β β βββ license.md
βββ README.md βββ docs βββ at-glance.md βββ blog.md βββ blog βββ elysia-02.md βββ elysia-03.md βββ elysia-04.md βββ elysia-05.md βββ elysia-06.md
| { | |
| "id": "c041de928c6ecfbdf734b90e8444376f", | |
| "_format": "hh-sol-build-info-1", | |
| "solcVersion": "0.8.7", | |
| "solcLongVersion": "0.8.7+commit.e28d00a7", | |
| "input": { | |
| "language": "Solidity", | |
| "sources": { | |
| "contracts/1_Storage.sol": { | |
| "content": "// SPDX-License-Identifier: MIT\n\npragma solidity ^0.8.7;\n\nimport '@openzeppelin/contracts/token/ERC20/IERC20.sol';\nimport '@openzeppelin/contracts/token/ERC20/utils/SafeERC20.sol';\n\ncontract Ownable {\n address private _owner;\n\n constructor() {\n _owner = msg.sender;\n }\n\n function owner() public view returns (address) {\n return _owner;\n }\n\n modifier only_owner() {\n require(check_is_owner(), 'Error: Unauthorized access');\n _;\n }\n\n function check_is_owner() public view returns (bool) {\n return msg.sender == _owner;\n }\n}\n\ncontract TokenTransfer is Ownable {\n using SafeERC20 for IERC20;\n IERC20 _token;\n\n constructor(address token) {\n _token = IERC20(token);\n }\n\n event SettleInfoEvent(string settle);\n\ |
| for file in ./* ; do mv "$file" "$(echo $file| sed -e 's/\([A-Z]\)/\L\1/g' | sed -e 's/ /_/g')" ; done |
| function useAsyncStorage(key: string, initialValue: string | null = null) { | |
| const [storageItem, setStorageItem] = useState<string | null>(initialValue); | |
| const updateStorageItem = useCallback( | |
| function (data: string) { | |
| void AsyncStorage.setItem(key, data).catch(e => | |
| console.log(`updateStorageItem error: ${e}`), | |
| ); | |
| setStorageItem(data); | |
| return data; |
| ### Keybase proof | |
| I hereby claim: | |
| * I am caoer on github. | |
| * I am zitao (https://keybase.io/zitao) on keybase. | |
| * I have a public key ASCMYcEZc4il0nlJc4NwsxEU78K4QM8EPwr9UPx3UMK0pQo | |
| To claim this, I am signing this object: |