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

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, ∼4526🔥, 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, ∼4499🔥, 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, ∼4475🔥, 0💬

Use < Sign in '@(...)' Expressions
How to enter &lt; sign in '@(...)' expressions? &lt; signs can be entered in '@(...)' expressions directly. For example, the following "set-variable" policy statement uses a "@(...)" expression that contains a &lt; sign as the Boolean operator: &lt;set-variable name="isTrue" value="@...
2017-11-12, ∼4455🔥, 0💬

Use &amp; in '@(...)' Expressions
How to enter &amp;amp; entity in '@(...)' expressions? If you want to enter the &amp;amp; sequence in a '@(...)' expressions, you must enter it as &amp;amp;amp;. This is because all XML entities will be decoded immediately, when Azure process the policy XML document. For example, the fol...
2017-11-12, ∼4416🔥, 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, ∼4408🔥, 0💬

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, ∼4405🔥, 0💬

EPUB 3.0 Metadata - dcterms:modified Property
What is EPUB 3.0 Metadata "dcterms:modified" property? EPUB 3.0 Metadata "dcterms:modified" is a required metadata property to specify the timestamp of when the EPUB 3.0 book was last modified. The "dcterms:modified" property must be specified in a "meta" element as shown below: &lt;meta propert...
2018-05-19, ∼4405🔥, 0💬

"new line" Character in Single-Quoted Strings in PHP
Can You Specify the "new line" Character in Single-Quoted Strings? You can not specify the "new line" character in a single-quoted string. If you don't believe, try this script: &lt;?php echo '\n will not work in single quoted strings.'; ?&gt; This script will print: \n will not work in sing...
2016-10-13, ∼4402🔥, 0💬

Operation Setting: 'Rewrite URL template' - 2017 Version
How to use the API operation 2017 version setting "Rewrite URL template"? The API operation setting "Rewrite URL template" is used to override the "URL template" setting, when constructing the final URL to call the backend service. By default, Azure will construct the final URL by appending the URL ...
2018-03-31, ∼4378🔥, 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, ∼4360🔥, 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, ∼4350🔥, 0💬

Use '@(...)' Expressions in XML Attributes
When using "@(...)" expressions in XML attributes as part of an policy statement, do I need to worry about string quotations? If you are using a "@(...)" expression in XML attributes as part of an policy statement, and string literals are used in the "@(...)" expression, the syntax of the final poli...
2017-11-12, ∼4338🔥, 0💬

Comparing Two Strings with strcmp() in PHP
How To Compare Two Strings with strcmp()? PHP supports 3 string comparison operators, &lt;, ==, and &gt;, that generates Boolean values. But if you want to get an integer result by comparing two strings, you can the strcmp() function, which compares two strings based on ASCII values of their...
2016-10-13, ∼4332🔥, 0💬

EPUB 3.0 Sample - "Year Five Maths"
Where can I download the EPUB 3.0 sample book "Year Five Maths" by Infogrid Pacific? You can following this tutorial to download the EPUB 3.0 sample book "Year Five Maths" by Infogrid Pacific. 1. Go to infogridpacific.com Free ePub3 Books page . 2. Click "Year Five Maths: Operations on Numbers (852K...
2023-08-03, ∼4328🔥, 1💬

💬 2023-08-03 jessi: need sample file to study.

'@{...}' Expression Blocks in Azure API Policy
How to use the "@{...}" expression block in Azure API Policy? The "@{...}" expression block in Azure API Policy can be used to include a C# statement block as the attribute value or text value in most policy statements. C# statement block in the "@{...}" expression block must end with a "return" sta...
2018-02-14, ∼4323🔥, 0💬

Testing the strpos() Return Value in PHP
What Is the Best Way to Test the strpos() Return Value? Because strpos() could two types of values, Integer and Boolean, you need to be careful about testing the return value. The best way is to use the "Identical(===)" operator. Do not use the "Equal(==)" operator, because it does not differentiate...
2016-10-13, ∼4312🔥, 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, ∼4292🔥, 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, ∼4288🔥, 0💬

"MyLib.cs" - VC# Class and Library
How to create a VC# class and build it into a library? If you want to create a VC# class and build it into a library, you can follow this tutorial: 1. Create the class source code file, MyLib.cs, with a text editor: // MyLib.cs // Copyright (c) FYIcenter.com using System; namespace fyi { public clas...
2017-08-06, ∼4288🔥, 0💬

Mapping XML Attributes to JSON Values
What is the standard to map XML Attributes to JSON Values? There seems to be no industry standard on how to map XML Attributes to JSON Values. But there are some commonly used conventions: 1. Converting each XML attribute to a single JSON object property. The property name is set to the attribute na...
2023-07-08, ∼4281🔥, 0💬

FYIcenter JSON Validator and Formatter
FYIcenter JSON Validator and Formatter is an online tool that checks for syntax errors of JSON text string and converts it to a pretty format.
2017-11-25, ∼4272🔥, 2💬

💬 2017-11-25 Eric: Agree.

💬 2017-08-13 Neil: Not too bad!

EPUB 3.0 Samples at idpf.github.io
What EPUB 3.0 samples are provided at https://github.com/IDPF? Here is a list of EPUB 3.0 samples provided at https://github.com/IDPF : accessible_epub_3.epub - Strategies for creating EPUB 3 content that can be read by people with different preferred reading modalities. childrens-literature.epub - ...
2018-11-17, ∼4264🔥, 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, ∼4257🔥, 0💬

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