param_hash { "key1": "value1", "a_variable": "#{ENV['A_VARIABLE']}" }
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
| using System.Text; | |
| using System.Text.Json; | |
| using Microsoft.Azure.Cosmos; | |
| using Serilog; | |
| namespace api.Setup; | |
| internal class CosmosDebugRequestHandler : RequestHandler | |
| { | |
| private readonly static JsonSerializerOptions CosmosJsonSerializerOptions = new() |
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
| <html lang="sv"> | |
| <style> | |
| .wrapper { | |
| display: grid; | |
| border: solid 1px #0e2a45; | |
| grid-template-columns: 2fr 1fr 1fr 1fr 1fr 1fr 1fr 1fr; | |
| } | |
| .header { | |
| background-color: #76baff; | |
| } |
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
| #!/bin/sh | |
| i=0 | |
| while [ $i -ne 5 ] | |
| do | |
| i=$(($i+1)) | |
| az-ops-sb deadletter requeue --namespace my-namespace --topic hubb --subscription hubb | tee -a log.txt | |
| done |
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
| import file from "./result.json" assert { type: "json" }; | |
| const entries = file.entries.map(entry => { | |
| //const children = Array.from(extractChildren(entry.children)); | |
| const children = entry.children.map(child => child.name); | |
| return { | |
| name: entry.name, | |
| children: children, | |
| errors: evaluateErrors(entry.name, children) | |
| }; |
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
| <html> | |
| <head></head> | |
| <body> | |
| <h1>Clippy</h1> | |
| <p class="editor"></p> | |
| <fieldset> | |
| <legend>Work order form</legend> | |
| <label for="address">Address</label><br/> | |
| <input type="text" id="address" /><br/> | |
| <label for="city">City</label><br/> |
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
| module.exports = { | |
| chainWebpack: config => { | |
| config | |
| .plugin('html') | |
| .tap(args => { | |
| console.log(args) | |
| // args[0].template = '/Users/username/proj/app/templates/index.html' | |
| return args | |
| }) | |
| }, |
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
| filebeat.inputs: | |
| - type: log | |
| paths: | |
| - /Users/orjan/Code/sandbox/filebeat/*.log | |
| processors: | |
| - if: | |
| contains: | |
| message: "customer" | |
| then: | |
| - add_fields: |
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
| Hello | |
| {% if discard.builds is defined %} | |
| discard: "{{ discard.builds }}" | |
| artifacts: "{{ discard.artifacts | default(discard.builds) }}" | |
| {% endif %} | |
| By |
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
| --- | |
| - name: "Get role by id: {{ role.id }}" | |
| uri: | |
| url: "{{ nexus_base_url }}/beta/security/roles/{{ role.id }}" | |
| force_basic_auth: yes | |
| user: "{{ nexus_user }}" | |
| password: "{{ nexus_password }}" | |
| body_format: json | |
| status_code: [ 200, 404 ] |
NewerOlder