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
[ | |
{ | |
"maxAgeSeconds": 60, | |
"method": [ | |
"GET" | |
], | |
"origin": [ | |
"*" | |
], | |
"responseHeader": [ |
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
# docker-compose run workspace | |
services: | |
workspace: | |
image: node:slim | |
user: "node" | |
volumes: | |
- ${PWD}:/home/node/app:delegated | |
working_dir: /home/node/app | |
command: bash |
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
# This script gracefully terminates all processes with the given name (first parameter) when it's run. | |
# It will also answer to a confirm message, if the process has one, by a given hotkey. | |
# | |
# | |
# signature: closeApplication.ps1 $ProcessName $ConfirmHotkey | |
# | |
# | |
# some simple examples how to use it: | |
# closeApplications.ps1 'notepad' close all open instances with the process name 'notepad' (you should try this) | |
# closeApplications.ps1 'winword' '%Y' close all open instances of word and and send ALT+Y if a confirmation window pops up |
Loading
Sorry, something went wrong. Reload?
Sorry, we cannot display this file.
Sorry, this file is invalid so it cannot be displayed.
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
/* | |
Example Request | |
{ | |
"incident":{ | |
"incident_id":"0.123", | |
"resource_id":"", | |
"resource_name":"some-resource-name", | |
"resource":{ | |
"type":"gce_instance", |
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
pipelines: | |
pull-requests: | |
'**': | |
- step: | |
name: Build Testing | |
image: composer:latest | |
artifacts: | |
- "vendor/**" | |
script: | |
# Install php dependencies |
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
:: HOW-TO :: | |
:: Copy this file to any directory in your computer | |
:: Adjust drive letter (dletter) and drive path (dpath) | |
:: Create a shortcut to the file | |
:: Change the run mode to minimized in shortcut properties | |
:: If you want to execute in on start: copy it to "shell:startup" (WIN+R) | |
:: Set the drive-letter and drive-path | |
SET dletter=Z: |
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
<?php | |
return | |
[ // Type Unit Multiplicator | |
1 => ['Energy', 'Wh', '0.01'], | |
2 => ['Energy', 'Wh', '0.1'], | |
3 => ['Energy', 'Wh', '1'], | |
4 => ['Energy', 'Wh', '10'], | |
5 => ['Energy', 'Wh', '100'], | |
6 => ['Energy', 'Wh', '1000'], |
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 | |
# $1 mode | |
# $2 gpio | |
# $3 write: value 0/off | 1/on | |
usage() { | |
# command help: | |
echo " |
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/bash | |
# # # # # # # # # # # # # # # # # # # | |
# Enable Serial Interface via UART # | |
# # # # # # # # # # # # # # # # # # # | |
# Dominik Kohler @ 19.11.2018 | |
# Tested on Raspbian Stretch (9.4) |
NewerOlder