Check If a Script Has Been Loaded In WordPress

WordPress has a function which lets us detect if a specific script has been enqueued, registered, printed, or is in the queue to be printed.  It can be very useful for avoiding conflicts with libraries which have been already loaded by other themes or plugins. wp_script_is( $handle, $list ); It accepts two parameters: $handle – [...]

By |2019-05-18T22:48:04+03:00April 8th, 2019|Categories: WordPress|0 Comments

Add Scripts In WordPress

WordPress has an enqueuing system which allows developers to utilize the built-in JavaScript libraries rather than loading them multiple times. This helps avoid conflicts and reduces page load time. Example: function custom_scripts() { wp_register_script( 'my_script', plugins_url('my_script.js', __FILE__), array('jquery'), '1.0', true); wp_enqueue_script('my_script'); } add_action( 'wp_enqueue_scripts', 'custom_scripts' ); First, we need to register a script to be [...]

By |2019-05-18T22:48:18+03:00April 1st, 2019|Categories: WordPress|0 Comments

Open Drain Output vs. Push-Pull Output

Microcontrollers use pins for interfacing with the outside world. In general, the pins are the physical points on the package of an integrated circuit (IC) where a connection can be made to the printed circuit board.  Behind each pin (inside the IC) there is a special circuitry used for driving it. This circuitry (usually called a [...]

By |2019-05-18T22:57:15+03:00March 25th, 2019|Categories: Embedded Systems|Tags: |0 Comments

Rich Controls In ASP .NET

There is no strict definition of ASP .NET rich control but generaly these are controls whose object model is largely separate from the HTML they generate. Rich controls are still handled as single objects, they only differ from normal controls in terms of more complex HTML and user interface being generated. Let's take a look [...]

By |2019-05-18T22:48:31+03:00March 18th, 2019|Categories: C#|Tags: , |0 Comments

STM32 Bootloader Design – Part 1

We already learned what a bootloader is and why it is needed in this article. Today we will start developing our own bootloader. For this particular example, we will be using STM32F411 discovery board and FT2232H mini module. The project is based on ARM Keil MDK. Before we start coding, here is some theory. The [...]

By |2019-05-18T23:11:13+03:00March 11th, 2019|Categories: Embedded Systems|Tags: |0 Comments

Validation Controls in ASP .NET

Quite often there is a difference in how a developer tests a web form and how a user uses it. Users may: leave random characters in a field that requires a telephone number to be the input. For example, if there is a code that tracks phone calls and compares them to the phone data [...]

By |2019-05-18T22:48:42+03:00March 4th, 2019|Categories: C#|Tags: |0 Comments

Access Modifiers in C#

What is an access modifier? Access modifiers are keywords in object-oriented languages that set the accessibility of classes, methods, and other members. Access modifiers are a specific part of programming language syntax used to facilitate the encapsulation of components. Which are the access modifiers in C#? There are 6 types of C# modifiers: public - Fully accessible. internal - Accessible only within the containing [...]

By |2019-05-18T23:21:46+03:00February 25th, 2019|Categories: C#|Tags: |0 Comments

Basic Usage of View State in ASP .NET

Web applications cause a problem that is not present on traditional applications stored on the user's PC (tablet/phone). The problem is the following: the user connects to the server and requests a page, the page is delivered, the connection is stopped and then all the page objects are deleted from the server memory. This stateless [...]

By |2019-05-18T22:50:22+03:00February 18th, 2019|Categories: C#|Tags: |0 Comments

B-tree vs. Binary Tree

B-Trees and binary trees are both non-linear data structures and while their names may sound similar, they’re very different in nature. In this article, we will compare them to make them easier to distinguish. B-Tree B-tree is a self-balancing tree data structure in which a node can have more than two children. The height of [...]

By |2019-04-07T13:17:28+03:00February 11th, 2019|Categories: Explained Simply|Tags: |0 Comments

Introduction to Server Controls in ASP .NET

ASP .NET provides a new way to handle dynamic web forms. Unlike the conventional style where the developers had to adapt and improvise with HTML tags and attributes, ASP. NET server controls automatically provide their HTML structure. This allows the developers to focus just on the desired behavior. These server controls behave like objects and [...]

By |2019-05-18T22:51:09+03:00February 4th, 2019|Categories: C#|Tags: |0 Comments
We use cookies on this site to improve our service, perform analytics and remember website preference. By using the site, you consent to these cookies (Privacy policy). I consent to cookies