Directory structure: └── microsoft-TypeChat/ ├── SUPPORT.md ├── typescript/ │ ├── examples/ │ │ ├── crossword/ │ │ │ └── README.md │ │ ├── coffeeShop-zod/ │ │ │ └── README.md │ │ ├── sentiment-zod/
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
This file has been truncated, but you can view the full file.
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
{ | |
"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": { |
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
for file in ./* ; do mv "$file" "$(echo $file| sed -e 's/\([A-Z]\)/\L\1/g' | sed -e 's/ /_/g')" ; done |
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 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; |
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
### 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: |
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 running queries (pre 9.2) | |
SELECT procpid, age(clock_timestamp(), query_start), usename, current_query | |
FROM pg_stat_activity | |
WHERE current_query != '<IDLE>' AND current_query NOT ILIKE '%pg_stat_activity%' | |
ORDER BY query_start desc; | |
-- show running queries (9.2) | |
SELECT pid, age(clock_timestamp(), query_start), usename, query | |
FROM pg_stat_activity | |
WHERE query != '<IDLE>' AND query NOT ILIKE '%pg_stat_activity%' |
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
github_current_repo() { | |
local REPO=`git remote -v show | awk 'NR==1 {print $2}' | sed 's/[email protected]://' | sed 's/\.git$//'` | |
echo $REPO | |
} | |
github_deployment_create() { | |
REPO=`github_current_repo` | |
if [ -z "${2-}" ] | |
then |
NewerOlder