Skip to content

Instantly share code, notes, and snippets.

View Anwar-Faiz's full-sized avatar
🎯
Focusing on new ideas

Mohd Anwar Jamal Faiz Anwar-Faiz

🎯
Focusing on new ideas
View GitHub Profile
@Anwar-Faiz
Anwar-Faiz / HowTo-InBlogger-AddingCustom-Ads.txt
Created July 18, 2018 04:37
How to add custom Ads.txt in Blogger : A must for blogger adsense monetization enthusiasts
When you want to add monetization to your blog and you have a publisher Id, you want to set it up fast. Am i correct? Afterall, why to loose even a single day of your sweet traffic.
But the problem sometimes is that the website you own is on Blogger and you have no ideas as to how and where to add the custom ads.txt file required by the blogger. Sounds known! Yeah, this is a usual problem with many. So lets start step by step:
First of all know that ,if your blog is monetized with third-party providers or you’ve manually integrated AdSense in your blog, you will need to manually set up the content of the ads.txt file.
Sign in to Blogger.
@Anwar-Faiz
Anwar-Faiz / MethodsTo-LoadTestingAPIs
Created July 18, 2018 04:31
How to Load Test APIs: Methods and most effective way to test web or downstream services
There are three typical approaches to load testing an API. These, as well as various hybrids, each have drawbacks and advantages.
#1 Faking it – API Mocking
The least useful for load testing is API Mocking These are basically temporary placeholders used during development of an API. Developers use these for early unit testing. But they also provide these “dummy” versions to other teams that need to call the unfinished API from within their own code.
Mocks return hard-coded responses, the formats of which often change during development. Also, the effort to create the mocks is wasted after their initial use.
Remember that, mocks aren’t yet hooked up to actual data sources, their performance isn’t at all representative of the real world. In summary, mocks may be useful for unit testing, but they aren’t representative of the real world.
#2 Cloning it – A Full Test Environment
This approach stands up a full-blown test environment using a snapshot of production data. disadvantages-of-cloned-environmentsOften you
@Anwar-Faiz
Anwar-Faiz / Fix-InvalidXMLIssue-InMicrosoftOutlook.txt
Created July 18, 2018 04:21
Cannot Start Microsoft Outlook. Invalid XML, the View Cannot be Loaded
One way your Outlook blocks you from accessing emails is when it Cannot Start Microsoft Outlook. Invalid XML, the View Cannot be Loaded" Error Message. The cause is also simple and more is its fix.
Follow the following steps below to clear and regenerate your Navigation Pane if you receive an error message that says "Cannot start Microsoft Outlook. Cannot open the Outlook window. Invalid XML, the view cannot be loaded."
Problem:
When opening Microsoft Outlook Windows client, you receive the following error:
"Cannot start Microsoft Outlook. Cannot open the Outlook window. Invalid XML, the view cannot be loaded."