VS : How to create a WinForms project in Visual Studio

This article is intended for beginners and will demonstrate how to create a Windows Forms / WinForms project using Visual Studio 2019 Community Edition, which is a free version of Visual Studio. The WinForms application created by Visual Studio will contain only a main form with no controls. Then in the future article, we will make this application a bit more interesting and useful.

WordPress : How To change ltr / rtl language direction in a Website

To set the language direction of the content in the element, we use either the HTML dir attribute or CSS direction property. The default value is ltr (left to right direction), while languages like Arabic and Hebrew use rtl (right to left direction). Sometimes, we might want to change the value of the current direction and this is the focus of this article.

Contact Form 7 : How to enable shortcodes in Form and Mail Template

In a previous post, we learned how to enable WordPress shortcode in excerpts and custom fields. We also mentioned how to enable them in 3rd party plugins and in this article, we will go into more detail about this and show how to enable shortcodes in the Contact Form 7 plugin. We might want to add the custom shortcodes in the Mail Template, such as mail body, or use them in the Form Template to style the contact form to our liking.

WordPress : How to enable Shortcodes in Excerpts, Custom Fields & Plugins

Shortcodes are a very popular feature in WordPress that allows you to add custom functionality to the content. WordPress also has some built-in shortcodes on its own. They are very easy to use inside the posts or pages and they even work inside the Text Widget. But they won’t work when they are added in an excerpt or a custom field. This article will show you how to use shortcodes in those cases too.

Python : How to count number of times each character appears in a string

Recently, I needed to count number of times the characters appear inside a specific sentence. As I was learning Python at that time, this looked like a perfect opportunity to use it to solve a real problem and it is the focus of this article. First, we will use a dictionary to accomplish this task and in the second solution, we will make use of the collections module.

WordPress : How to enable missing excerpt for pages & posts

With excerpts in WordPress, you can have them for both posts and pages, but for pages, the excerpts are disabled by default. Even for posts, they can be hidden inside the post editor or they could be disabled all together. This article will show you how to fix the issue of missing excerpts and make them visible in posts and how to enable them in the page editor.

Python : How to check if any element of a list is a key in dictionary

Recently, while I was working on a Python script, I had a dictionary and a list of string elements and I needed to check if any of the element in that list was also used as a key in the dictionary. This article will show you two solutions for this problem. One will simply use iteration of a for loop, while the other will use Python sets.