
IT Blog
- April 2023 (1)
- February 2023 (1)
- November 2022 (1)
- August 2022 (1)
- July 2022 (1)
- June 2022 (2)
- May 2022 (1)
- January 2022 (3)
- July 2021 (1)
- June 2021 (1)
- December 2020 (2)
- November 2020 (2)
- October 2020 (1)
- August 2020 (2)
- July 2020 (2)
- June 2020 (3)
- May 2020 (3)
Follow My Blog
Get new content delivered directly to your inbox.
- .NET MAUI – fix ‘failed processing manifest’ AndroidManifest.xmlThe .NET MAUI application. I had the following errors when launch the application: Error APT2067: failed processing manifest. 0Error APT2260: resource mipmap/appicon (aka com.companyname.fastcost:mipmap/appicon) notContinue reading “.NET MAUI – fix ‘failed processing manifest’ AndroidManifest.xml”
- AutoFixture ThrowingRecursionBehavior fix To fix error in tests add followings lines of code. Example in xUnit:
- Using the OpenAI API in a C# console applicationRepo: https://github.com/kaajoj/OpenAIApp To run it, you need to provide your own API key. Sample code with request to generate new image: https://github.com/kaajoj/OpenAIApp/blob/cc1881a985365683c90484e9cb2dca7c1361b810/OpenAIApp/OpenAI.cs#L52 Sample results ofContinue reading “Using the OpenAI API in a C# console application”
- New console template – use user secretdotnet user-secrets init set a secret: dotnet user-secrets set “API_KEY” “test123” use UserSecretsId (from .csproj file) in AddUserSecrets()
- Truffle test – ReferenceError: accounts is not definedWhen you run command ‘truffle test’ and get error:“ReferenceError: accounts is not defined” To fix this, use below code line:contract(“Contract”, async (accounts) => {} andContinue reading “Truffle test – ReferenceError: accounts is not defined”
- Error: Number can only safely store up to 53 bitsI got this error: ‘Error: Number can only safely store up to 53 bits’ when using toNumber function: Quick fix using BigInt: