Latest

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.

Read More

WordPress : How to prevent copy paste to break quotes in code syntax

Recently, I was writing an article containing programming code on WordPress website. The code contained some single and double quotes and noticed that when I copied the code from the article and pasted it into a code editor and then tried to run it, the code threw syntax errors. In the end, it turned out that the WordPress was automatically changing some characters.

Read More

SSMS : How to fix SQL Server Management Studio not opening problem

Recently, I installed the SQL Server Management Studio 18 (SSMS) and after just one use, it didn't want to start anymore. The SQL Server Management Studio stopped loading after splash screen showing up for a brief moment and no messages appeared to show me what was wrong, except for Windows playing the default beep sound notifying me of a problem. In this article, I will show you how I solved this issue.

Read More

Python : How to fix Unexpected UTF-8 BOM error when using json.loads

With Python, it is a really easy to retrieve the data from 3rd party API services, so I made a script for this purpose. The script worked without any issue for many different API URLs, but recently, when I wanted to load the server content response from a specific API URL into json.loads method, it threw an "Unexpected UTF-8 BOM" error. In this article, we will examine what the error means and various ways to solve it.

Read More

Beginner's-Guide : How to start with Python programming on Windows

When I first decided to try Python months ago, the first obstacle I had to overcome was to figure out how to set it all on Windows. You install a Python on Windows, but then what. How do you create projects and run scripts? And that is the focus of this article. We will first install Python and then an editor from which we will make our Python code. Next, we will create a Python project and in it make a simple script and finally, we will examine how to install 3rd party packages.

Read More

WordPress : How to highlight syntax code without using any plugins

There are many WordPress plugins for highlighting programming code. Until now, I have used Crayon Syntax Highlighter on this blog and was satisfied with it, but at the time of the writing, the plugin was last updated more than 2 years ago, so I started looking for the non-plugin alternative. In the end, I chose to use Google code-prettify library. This article will show you how to implement this library into the WordPress and how to make it more versatile by using few CSS tricks.

Read More

Share this page

Back to Top