Posts

Docker Error: x509: certificate is valid for recon-api-dev.agconnect.org, not registry-1.docker.io

ERROR: Get "https://registry-1.docker.io/v2/": x509: certificate is valid for recon-api-dev.agconnect.org, not registry-1.docker.io edit hosts file. 34.228.211.243 registry-1.docker.io failed to solve with frontend dockerfile.v0: failed to create LLB definition: failed to authorize: rpc error: code = Unknown desc = failed to fetch anonymous token: Get "https://auth.docker.io/token?scope=repository%3Alibrary%2Fnode%3Apull&service=registry.docker.io": x509: certificate is valid for businessphone.com, *.businessphone.com, not auth.docker.io docker login export DOCKER_BUILDKIT=0 export COMPOSE_DOCKER_CLI_BUILD=0

git fatal: Could not read from remote repository.

git fatal after you add your own id_rsa.pub by ssh-keygen on Windows. The solution is check your remote address if it is using HTTPS, don not use SSH.

pod install: undefined method `__apply_Xcode_12_5_M1_post_install_workaround' for #

comment "__apply_Xcode_12_5_M1_post_install_workaround(installer)" line in your Podfile pod install

Error [ERR_UNSUPPORTED_ESM_URL_SCHEME]: Only file and data URLs are supported by the default ESM loader.

Error [ERR_UNSUPPORTED_ESM_URL_SCHEME]: Only file and data URLs are supported by the default ESM loader. Received protocol 'node:' at Loader.defaultResolve [as _resolve] (internal/modules/esm/resolve.js:782:11) at Loader.resolve (internal/modules/esm/loader.js:85:40) at Loader.getModuleJob (internal/modules/esm/loader.js:229:28) at ModuleWrap. (internal/modules/esm/module_job.js:51:40) at link (internal/modules/esm/module_job.js:50:36) use stable node version, such as 17.8.0.

PHP Import Date Type Cell Problem from Excel File

If you import a date type cell from Excel file in PHP, such as 2014-10-30, you probrablly get integer value like 41942. The solution is the following: echo date($format,strtotime('1899-12-31+'.(41942-1).' days')); 2014-10-30

Module '"react-native"' has no exported member 'VirtualizedList'.ts(2305)

add this @types/react-native/index.d.ts export class VirtualizedList extends React.Component > { scrollToEnd: (params?: { animated?: boolean }) => void; scrollToIndex: ( params: { animated?: boolean; index: number; viewOffset?: number; viewPosition?: number; } ) => void; scrollToItem: ( params: { animated?: boolean; item: ItemT; viewPosition?: number } ) => void; scrollToOffset: (params: { animated?: boolean; offset: number }) => void; recordInteraction: () => void; }