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
// Usage of WLEDDdp class | |
const targetHost = 'xxx.xxx.xxx.xxx'; | |
const targetPort = 4048; | |
const socket = new WLEDDdp(targetHost, targetPort); | |
// Lights all diodes white | |
const rgbValues: Led[] = socket.getLeds([255,255,255]); | |
socket.send(rgbValues); |
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
{ | |
"$ref": "#/definitions/no-code-schema", | |
"definitions": { | |
"rootBuildingBlock": { | |
"type": "object", | |
"properties": { | |
"blockType": { | |
"type": "string", | |
"const": "ROOT" | |
}, |
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
deployments: | |
test: | |
domain: test.example.com | |
type: php | |
ssh: | |
host: sXX.mydevil.net | |
user: example | |
key: <filepath to ssh privkey> | |
port: 22 |
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
<?php | |
/** | |
* PESEL Exception class | |
* | |
* Exception to be thrown when the pesel validation hits failure. | |
* @author Piotr Czarnecki <[email protected]> | |
* @version 1.0 | |
*/ | |
class PESEL_Exception extends Exception { } |