<< < 1 2 3 4 5 6 7 8 9 10 11 > >>   ∑:1482  Sort:Date

Reading the Entire File to a String in PHP
How To Read the Entire File into a Single String in PHP? If you have a file, and you want to read the entire file into a single string, you can use the file_get_contents() function. It opens the specified file, reads all characters in the file, and returns them in a single string. Here is a PHP scri...
2016-12-04, 3405🔥, 0💬

json.dumps() - Dumping Object into JSON
How to dump (or encode, serialize) a Python object into a JSON string using json.dumps()? The json.dumps() function allows you to dump (or encode, serialize) Python objects into JSON strings: json.dumps(obj, *, skipkeys=False, ensure_ascii=True, check_circular=True, allow_nan=True, cls=None, indent=...
2018-10-13, 3374🔥, 0💬

'__init__()' Class Method to Initialize New Instance
What is the "__init__()" class method? The "__init__()" class method is a special method that will be automatically called, if you use the class name as a constructor to create a new instance of the class. Here are the rules you need to follow to define and use the "__init__()" class method: 1. Defi...
2018-01-27, 3369🔥, 0💬

JSON to XML Conversion at freeformatter.com
How to use the JSON to XML Conversion Tool at freeformatter.com? If you want to try the JSON to XML Conversion Tool at freeformatter.com, you can follow this tutorial: 1. Go to the JSON to XML Conversion Tool page at freeformatter.com. 2. Enter the following JSON value in the text area: ["Hello", 3....
2021-08-04, 3366🔥, 1💬

3Pigs3-3.1.epub - Add Images
How to add images to my EPUB books Images can be added into book content using the XHTML "img" elements. For example, you can download this EPUB book, 3Pigs3-3.1.epub , which contains an illustration image in the The-Opening.xhtml: &lt;?xml version="1.0" encoding="utf-8"?&gt; &lt;html xm...
2018-12-26, 3364🔥, 0💬

Add Request Query String Parameters - 2017 Version
How to add request query string Parameters to my Azure API operation 2017 version to make it more user friendly? If your API operation uses URL template parameters, the client system must call it with parameter values specified in the correct position, like: https://.../exchange-rate/USD/ EUR/2020-10...
2018-06-12, 3326🔥, 0💬

Hello-3.1.epub Created with WinRAR
How to create Hello-3.1.epub with WinRAR? I have all required files to create Hello-3.1.epub. To create the EPUB 3.1 example, Hello-3.1.epub, you need to collect all files mentioned from previous tutorials: |-- mimetype |-- package.opf |-- content.xhtml |-- navigation.xhtml |-- META-INF |-- containe...
2019-01-12, 3323🔥, 0💬

Padding an Array with a Given Value in PHP
How To Pad an Array with the Same Value Multiple Times in PHP? If you want to add the same value multiple times to the end or beginning of an array, you can use the array_pad($array, $new_size, $value) function. If the second argument, $new_size, is positive, it will pad to the end of the array. If ...
2017-01-05, 3294🔥, 0💬

Application Release Build with Visual Studio 2017
How to make application release build with Visual Studio 2017? If you want to make a final release build with your application in Visual Studio 2017, you can follow this tutorial: 1. Click "Build &gt; Clean Solution" menu. You see debugging files removed. 2. Change the build configuration from D...
2023-10-27, 3270🔥, 0💬

Using .NET CLR Types in Azure API Policy
How to use .NET CLR Types in Azure API Policy? By default, Azure imports many basic .NET CLR (Common Language Runtime) types into the API policy execution environment. Imported .NET CLR types can be used in any "@(...)" expressions or "@{...}" expression blocks. For example, the following "@{...}" e...
2018-01-24, 3270🔥, 0💬

Decode Google OpenID Connect id_token
How to decode the id_token value received from Google OpenID Connect authentication response? According to the "RFC 7519 - JWT (JSON Web Token)" standard, the "id_token" value received from Google OpenID Connect authentication response should be decoded as below: Splitting the encoded string into 3 ...
2022-02-04, 3257🔥, 0💬

Atom Validation Errors at w3.org
How to read Atom validation errors at w3.org? If your Atom feed has errors, the Atom validator at w3.org will detect the errors and provide information to help you to resolve them as shown in this tutorial: 1. Go to Feed Validation Service at w3.org . 2. Click the "Validate by Direct Input" tab. You...
2017-12-31, 3253🔥, 0💬

re.search() - Search for First Match
How to search for the first match of a regular expression using re.search()? The re.search() function allows you to search for the first match of a given regular expression in a target string. import re m = re.search(pattern, string, flags=0) Where: pattern is the regular expression string is the ta...
2018-10-19, 3248🔥, 0💬

EPUB Sample Files
Where to find EPUB Sample Files? Here is a list of EPUB sample files collected by FYIcenter.com team. You can download them and read them on your EPUB readers. EPUB 3.0 Sample - "Year Five Maths" EPUB 3.0 Sample - "The War Poems of Siegfried Sassoon" EPUB 2.0 Sample - "The Metamorphosis" EPUB 2.0 Sa...
2022-07-26, 3237🔥, 0💬

Copying Array Values to a List of Variables in PHP
How To Copy Array Values to a List of Variables in PHP? If you want copy all values of an array to a list of variable, you can use the list() construct on the left side of an assignment operator. list() will only take values with integer keys starting from 0. Here is a PHP script on how to use list(...
2017-01-29, 3222🔥, 0💬

Setting session.gc_divisor Properly in PHP
How To Set session.gc_divisor Properly in PHP? As you know that session.gc_divisor is the frequency of when the session garbage collection process will be executed. You should set this value based on the income request traffic. Here are some suggestions: # Set it to 10, if traffic is less than 10,00...
2016-10-24, 3213🔥, 0💬

Azure API Management - Developer Portal Admin
What is Azure API Management Developer Portal Admin? The Developer Portal Admin is an Azure Web portal that allows you to manage the Developer Portal and run analytical reports on your API services. Once you have signed up for an Azure API Management Service, you will be given an API Management Deve...
2018-07-22, 3205🔥, 0💬

What Is HTML?
What Is HTML? HTML (HyperText Markup Language) is the standard markup language for creating Web pages. Web browsers receive HTML documents from Websites and render them into Web pages. More precisely, HTML gives authors the means to: Publish Web pages with headings, text, tables, lists, photos, etc....
2017-02-20, 3203🔥, 0💬

Submitting Values without Using a Form in PHP
How To Submit Values without Using a Form in PHP? If you know the values you want to submit, you can code the values in a hyper link at the end of the URL. The additional values provided at the end of a URL is called query string. There are two suggestions on how to use query strings to submit value...
2016-11-08, 3197🔥, 0💬

Login to Developer Portal as Publisher
How to login to the Developer Portal internally by you as the publisher? Normally, the Developer Portal of an Azure API Management Service is used by client developers. But as a publisher, you can also use the Developer Portal to test API operations internally. You can follow this tutorial to login ...
2017-09-20, 3172🔥, 0💬

'send-request' Policy Statement
How to use the "send-request" Policy statement to call an extra web service for an Azure API service operation? The "send-request" Policy Statement allows you to call an extra web service and store the response in a given variable. The "send-request" statement has the following syntax: &lt;send-...
2018-01-13, 3169🔥, 0💬

EPUB 2.0 Metadata - dc:identifier Element
What is EPUB 2.0 Metadata "dc:identifier" Element? EPUB 2.0 Metadata "dc:identifier" is a required metadata element to specify a code that uniquely identifies the EPUB 2.0 book. To use "dc:identifier" properly, you need to meet the following two requirements: 1. &lt;package unique-identifier="bo...
2022-04-13, 3142🔥, 0💬

Mapping Repeating XML Elements to a JSON Array
What is the standard to map XML repeating elements to JSON values? There seems to be no industry standard on how to map XML repeating elements to JSON values. But there are some commonly used conventions: 1. Aggregating continuously repeating XML sub elements to a single JSON object property. If a c...
2023-07-08, 3137🔥, 0💬

'valign' - Vertical Alignment in HTML Table
How To Control Vertical Alignment? By default, text in all table cells are aligned to the top vertically. If you want to control vertical alignment yourself, you need to use the "valign" attribute in a "tr" element or a "td" element: &lt;tr valign="top|middle|bottom"& ;gt;- Set vertical align...
2017-05-05, 3135🔥, 0💬

<< < 1 2 3 4 5 6 7 8 9 10 11 > >>   ∑:1482  Sort:Date