param_hash { "key1": "value1", "a_variable": "#{ENV['A_VARIABLE']}" }
This file contains 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 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 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 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 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 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 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 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 ] |
This file contains 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 Configuration Example ######################### | |
# This file is an example configuration file highlighting only the most common | |
# options. The filebeat.reference.yml file from the same directory contains all the | |
# supported options with more comments. You can use it as a reference. | |
# | |
# You can find the full configuration reference here: | |
# https://www.elastic.co/guide/en/beats/filebeat/index.html | |
# For more available modules and options, please see the filebeat.reference.yml sample |
NewerOlder