Posts

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; }

Fatal err or C1060: compiler is out of heap space

Microsoft Visual Studio\2019\Community\VC\Tools\MSVC\14.29.30133\include\array(460,1): fatal err or C1060: compiler is out of heap space Open xxx.vcxproj,search "Globals" to find x64

Error: error:0308010C:digital envelope routines::unsupported when npm start

Failed to construct transformer: Error: error:0308010C:digital envelope routines::unsupported at new Hash (node:internal/crypto/hash:67:19) at Object.createHash (node:crypto:130:10) ... opensslErrorStack: [ 'error:03000086:digital envelope routines::initialization error' ], library: 'digital envelope routines', reason: 'unsupported', code: 'ERR_OSSL_EVP_UNSUPPORTED' export NODE_OPTIONS=--openssl-legacy-provider