<< < 16 17 18 19 20 21 22 23 24 25 26 > >>   Sort: Date

Testing If a Variable Is an Array in PHP
How To Test If a Variable Is an Array in PHP? Testing if a variable is an array is easy. Just use the is_array() function. Here is a PHP script on how to use is_array(): &lt;?php $var = array(0,0,7); print("Test 1: ". is_array($var)."\n"); $var = array(); print("Test 2: ". is_array($var)."\n"); ...
2016-10-15, 1665🔥, 0💬

'for ... in' Statement with List of Tuples
How to use "for ... in" statements with a list of tuples in Python code? Usually, "for ... in" statements are used with simple lists. But you can also use a "for ... in" statement with a list of tuples. In this case, you can put multiple looping variables inside the loop item: for (v1, v2, ... ) in ...
2018-08-14, 1663🔥, 0💬

Generic JSON Schema Validation Keywords
What are other generic JSON Schema validation keywords? Several other generic JSON Schema validation keywords are listed below. They are always applied to the JSON instance. "enum" - The JSON instance must match one of the elements in the given array. For example, JSON Schema: {"enum": ["YES", "NO"]...
2017-08-25, 1662🔥, 0💬

Windows Forms App with VC# in Visual Studio 2017
How to build a Windows Forms application with VC# code in Visual Studio 2017? If you want to build a Windows Forms application with VC# code in Visual Studio 2017, you can follow this tutorial: 1. Click "File &gt; New &gt; Project" menu. You see the new project box showing up. 2. Select "Win...
2017-08-08, 1662🔥, 0💬

Function Returns Data by Value in PHP
How Values Are Returned from Functions? in PHP? If a value is returned from a function, it is returned by value, not by reference. That means that a copy of the value is return. Here is a PHP script on how values are returned from a function: &lt;?php $favor = "vbulletin"; function getFavor() { ...
2016-12-08, 1661🔥, 0💬

Converting Numbers to Strings in PHP
How To Convert Numbers to Strings? In a string context, PHP will automatically convert any numeric value to a string. Here is a PHP script examples: &lt;?php print(-1.3e3); print("\n"); print(strlen(-1.3e3)); print("\n"); print("Price = $" . 99.99 . "\n"); print(1 . " + " . 2 . " = " . 1+2 . "\n...
2016-10-13, 1661🔥, 0💬

Hello-3.1.epub - Package File: package.opf
How to create a package file like package.opf for an EPUB 3.1 book? At least one package file, like package.opf, is required for an EPUB 3.1 book in the book ZIP container. It defines required meta data and specifies 2 required content files. Here is the requirement on a package file: 1. A package f...
2022-05-31, 1660🔥, 0💬

Google Chrome Showing Atom Feeds as XML
Why is Google Chrome Showing Atom Feeds as XML? Google Chrome is showing Atom Feeds as XML, because it has stopped the support of formatted viewing of Atom feeds by default. Follow this tutorial to see this behavior: 1. Launch Google Chrome 60. 2. Enter the following in the URL input box: http://dev...
2017-12-31, 1660🔥, 0💬

Atom Better than RSS
Should I use Atom or RSS? Which one is better? At a higher level, Atom and RSS are doing the job, offering a format for Websites to publish their news feeds. But if you take a closer look, Atom does a better job than RSS in several areas. For example: Atom has better date format - Atom uses the ISO ...
2017-09-28, 1660🔥, 0💬

What Is Python Module 'urllib'
What Is Python module "urllib"? "urllib" is a Python internal module that allows you to communicate with Internet resources that are represented by URLs. Two main Internet protocols are supported: HTTP and FTP. The current version of "urllib" module is divided into 4 sub-modules: urllib.request - fo...
2018-09-24, 1659🔥, 0💬

Implicit and Explicit ID of JSON Type
What are differences of the implicit ID and the explicit ID of a JSON type in JSON Schema? If a JSON type is defined under a "definitions" property, it could have two identifications: 1. Implicit identification: The implicit identification of a JSON type is an internal bookmark in the form of "#/def...
2017-08-20, 1659🔥, 0💬

Replacing Characters in a String in PHP
How To Replace a Group of Characters by Another Group? While processing a string, you may want to replace a group of special characters with some other characters. For example, if you don't want to show user's email addresses in the original format to stop email spammer collecting real email address...
2016-10-13, 1659🔥, 0💬

Using HTML 'submit' Action Fields
How To Use "submit" Input/Action Fields? A "submit" input field is defined as &lt;input type="submit" .../&gt;. "submit" input fields can be used to create submit buttons in a form. When a submit button is clicked, the form will be closed and input data will be submitted to the processing pr...
2017-04-08, 1658🔥, 0💬

Using HTML 'submit' Action Fields
How To Use "submit" Input/Action Fields? A "submit" input field is defined as &lt;input type="submit" .../&gt;. "submit" input fields can be used to create submit buttons in a form. When a submit button is clicked, the form will be closed and input data will be submitted to the processing pr...
2017-04-08, 1658🔥, 0💬

Console App with VC# Code in Visual Studio 2017
How to build a console application with Visual C# code in Visual Studio 2017? If you want to build a console application with Visual C# code in Visual Studio 2017, you can follow this tutorial 1. Start Visual Studio 2017 with .NET development environment. 2. Click "File &gt; New &gt; Project...
2017-08-08, 1657🔥, 0💬

Form Input HTML Tags in PHP
What Are Form Input HTML Tags in PHP? HTML tags that can be used in a form to collect input data are: &lt;SUBMIT ...&gt; - Displayed as a button allow users to submit the form. &lt;INPUT TYPE=TEXT ...&gt; - Displayed as an input field to take an input string. &lt;INPUT TYPE=RADIO...
2016-11-17, 1657🔥, 0💬

WPF App with VB Code in Visual Studio 2017
How to build a WPF application with VB code to control its behavior in Visual Studio 2017? After you have created your WPF application with XAML to define its UI elements, you can follow this tutorial to add VB code to control its behavior in Visual Studio 2017: 1. Create a "WPF App (.NET Framework)...
2023-09-16, 1655🔥, 0💬

sign-in.js - Sign in to CA Server
How to write a Node.js script to sign in to the CA Server? Hyperledger Fabric network is permission based server application. All client applications must use an authenticated user identity to access the network. User authentication is controlled by the CA (Certificate Authority) server using PKI te...
2019-11-08, 1655🔥, 0💬

Local Variables in a Function in PHP
What Is the Scope of a Variable Defined in a Function? in PHP? The scope of a local variable defined in a function is limited with that function. Once the function is ended, its local variables are also removed. So you can not access any local variable outside its defining function. Here is a PHP sc...
2016-12-08, 1652🔥, 0💬

Start Python in Interactive Mode
How to Start Python in Interactive Mode on my Windows computer? You can start Python in interactive mode on your Windows computer in several ways: 1. "python" in command window - In a command window, enter the "python" command. If the python installation folder is in the PATH environment variable, t...
2023-01-06, 1650🔥, 0💬

Special Characters in Double-Quoted Strings in PHP
What Are the Special Characters You Need to Escape in Double-Quoted Stings? There are two special characters you need to escape in a double-quote string: the double quote (") and the back slash (\). Here is a PHP script example of double-quoted strings: &lt;?php echo "Hello world!"; echo "Tom sa...
2016-10-13, 1650🔥, 0💬

HTML Ordered List Item Markers
How To Use Different Markers on Ordered List Items? By default, browsers will use decimal numbers as the item markers for ordered lists. If you want to change them to something else, like alphabetical letters, you need to use CSS properties. Here is a tutorial sample showing you how to set item mark...
2017-05-29, 1645🔥, 0💬

What Is .NET Framework
What Is .NET Framework? .NET Framework Microsoft that provides primarily a standard program execution environment and a standard library: Common Language Runtime (CLR) - An application virtual machine that provides services such as security, memory management, and exception handling. Any application...
2023-05-31, 1642🔥, 0💬

help() - Getting Help in Python Interactive Mode
How to get help with the help() function in Python interactive mode? If you help in Python interactive mode, you can run the help() function. It will bring you to the Python help mode. Here is a simple Python interactive session that shows how to use the Python help() function: C:\fyicenter&gt; ...
2023-01-06, 1642🔥, 0💬

<< < 16 17 18 19 20 21 22 23 24 25 26 > >>   Sort: Date