How to cheat protection from bots to obtain http response

This article is for educational purposes only. What is anti-bot protection? In the context of web-surfing anti-bot protection is a set of methods that can identify request sent by robot and either block response or change it. These methods can be used on both server- and client-side code. It can prevent website from being parsed and spammed by web-automated systems.…

FAQ about WordPress CMS

How to remove unnecessary parts of a content generated by wordpress WordPress CMS addes useless html parts to site content. Removing it lets you to get rid of html trash and hides what is the real cms your site is running on. Just add the following code to functions.php or build plugin and install it. remove_action( ‘wp_head’, ‘wp_resource_hints’, 2 );…

Customizable audio player for webpages

What issues are disccused here: embedding audio player to an html page customizing audio player using css setup of audio player (with extra capabilities) using javascript Is it impossible to customize audio tag (enable styles for a standart html audio player)? As stated in MDN Web Docs: You can style the default controls with properties that affect the block as…

FAQ about .Net Text to Speech converter

FAQ about .Net Text to Speech converter

.Net has System.Speech.Synthesis namespace that contains class to work with text-to-speech synthesizer software. Usually TTS is already installed on Windows machine and can be used in applications. How to use TTS converter in .Net? TTS converter is placed in System.Speech.Synthesis namespace, but it is not a part of default namespaces. Therefor it should be added to references: In Visual Studio…

Imaging on C#

Imaging on C#

There are many possibilities to process graphical information in .Net. Microsoft has Graphics Device Interface for imaging. Its functionality is provided by System.Drawing.Common namespace in .Net Core and Framework. By means of C# imaging it is possible: to create images to edit images to create 2D animations to create math graphics to draw formatted text Intro of imaging on C#…

FAQ about HTTP Client with examples

FAQ about HTTP Client with examples

What is HTTP Client? In client-server model Server is the one who handle requests and send responses, Client is the one who send requests and handle responses. Generally speaking, Client is a program, library or a program method that: Sends request with some data to the server Recieves response messege from server That list is a minimal requirements to be…

FAQ about Regular expressions with examples

FAQ about Regular expressions with examples

Regular expressions are both textual data processing method and language for building masks. Mask is a set of symbols and special characters that represent some pattern, which is used to catch segments of text for further work (replacing, extracting, checking conditions). Regular expressions can be used with many popular programming languages: C#, javascript, pyton, php and so on. Note: rules…

FAQ about Selenium WebDriver on c# with examples

FAQ about Selenium WebDriver on c# with examples

Selenium is a set of tools that are used to automate web browser work. It is possible to use these tools with such popular languages as C#, PHP and Java. How to install Selenium tools to the project in Visual Studio? First of all, it is necessary to install Selenium.Webdriver packages to the project. By means of NuGet package manager…

Drag-and-Drop on C# in WPF

Drag-and-Drop on C# in WPF

Developing desktop WPF or WinForm projects, you can stumble upon an idea of creating drag & drop functionality. Drag-and-Drop effect will simplify file manipulation between browser, computer file system and desktop applications. To understand the following sample you should already know: Basic priciples of Object-oriented programming How to create WPF or WinForm projects To make it work you should get…