Search This Blog

Wednesday, November 9, 2022

GCC improve build time - and binary tools

 nice article about improving gcc build time :

https://interrupt.memfault.com/blog/improving-compilation-times-c-cpp-projects

also nice tools for examine-and-adjust-include-dependencies 


linux-binary-analysis  tools and tips 


  • List all obj files of archive:
    • nm -C <lib.a> | grep '.*\.o\:'
  • see export table of .so:
    • nm -CD <lib.so>

Thursday, July 21, 2022

Friday, June 3, 2022

ASP.NET - Azure AD integration

 very good tutorial


https://docs.microsoft.com/en-us/azure/active-directory/develop/tutorial-v2-asp-webapp 



Azure B2C is very cool 

https://www.youtube.com/watch?v=RK_IaEvzdpM



Sunday, May 15, 2022

SQL Server insert Performance - ways

 https://www.red-gate.com/simple-talk/databases/sql-server/performance-sql-server/comparing-multiple-rows-insert-vs-single-row-insert-with-three-data-load-methods/


Wednesday, February 16, 2022

C# Web API Token Based Authentication

 https://www.c-sharpcorner.com/article/web-ap/#:~:text=What%20is%20Token%20Based%20Authentication,the%20client%20as%20a%20response.


Token Based Authentication in Web API


https://www.youtube.com/watch?v=nqs_ZZ2bUYg

Online REST API for Testing and Prototyping

Wednesday, February 9, 2022

Free Test tools

 Have a look at this free tools , working good for QA and web testers


https://testproject.io/


Friday, January 7, 2022

Google sheets api - [The caller does not have permission] - shared sheets

In case you cant access to shared sheets via your code.

make sure to create a service account , copy the "email" for this service account.

make sure the one who shared the file, share it with your service account email.

and it should work.


working with API_KEY on shared sheets get failure.

only service account.


access to your own sheets could be done via api_key or service account.

links:

https://developers.google.com/api-client-library/dotnet/guide/aaa_oauth#web-applications-aspnet-mvc

https://cloud.google.com/docs/authentication/production

https://developers.google.com/sheets/api/quickstart/dotnet

        https://ios.developreference.com/article/10721497/Using+.Net+to+access+Google+Sheets+with+a+service+account+generates+a+%E2%80%9CThe+caller+does+not+have+permission+%5B403%5D%E2%80%9D+error

  

Enjoy 

Yaniv