POC

From Craft of Testing - Wiki (old)
Revision as of 20:45, 6 September 2022 by Gregpaskal (talk | contribs)
Jump to navigation Jump to search

What can we help you find?

Language Syntax
XPath Examples

Random
Home Testing Automation AI IoT OS RF Data Development References Tools Wisdom Inspiration Investing History Fun POC Help

This page captures Proof of Concept work.

Link Experiments

Table Experiments

Hello World
1 2 3 4

Language Syntax


Codesample

 <html>
   <body>
     <nowiki><p>Hello <span style="font-weight: bold;">world</span></nowiki>!
     <nowiki></p></nowiki>
   </body>
 </html>

Examples

{{#if:|Invalid title for TemplateStyles' src attribute.}}

{{#if:|
{{{name}}}
}}
echo "hello world!"

{{#if:light|}}

{{#if:|
{{{name}}}
}}
echo "hello world!"

{{#if:dark|}}

{{#if:|
{{{name}}}
}}
$ echo "hello world!"

{{#if:|Invalid title for TemplateStyles' src attribute.}}

{{#if:|
{{{name}}}
}}
{{Codesample}}

{{#if:dark|}}

{{#if:ingress.yaml|
ingress.yaml
}}
---
apiVersion: networking.k8s.io/v1beta1
kind: Ingress
metadata:
  name: foo-redirect
  namespace: tool-foo
  labels:
    name: foo-redirect
  annotations:
    kubernetes.io/ingress.class: nginx
    nginx.ingress.kubernetes.io/permanent-redirect: https://bar.toolforge.org/$1$is_args$args
spec:
  rules:
    - host: foo.toolforge.org
      http:
        paths:
          - backend:
              serviceName: unused
              servicePort: 8000
            path: /(.*)

{{#if:light|}}

{{#if:metadata|
metadata
}}
name: foo-redirect
  namespace: tool-foo
  labels:
    name: foo-redirect
  annotations:
    kubernetes.io/ingress.class: nginx
    nginx.ingress.kubernetes.io/permanent-redirect: https://bar.toolforge.org/$1$is_args$args