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
| A | |
| 1111 | |
| 1001 | |
| 1111 | |
| 1001 | |
| B | |
| 1000 | |
| 1110 | |
| 1010 |
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
| # Example Graph for Bandpass filter 10-20 and sending a value of 15 | |
| '20' -> FILTERVALUE UpperFilter(packets/FilterByValue) | |
| '10' -> FILTERVALUE LowerFilter(packets/FilterByValue) | |
| '15' -> IN UpperFilter() | |
| UpperFilter LOWER -> IN LowerFilter() | |
| LowerFilter HIGHER -> #### YOUR FILTERED VALUE |
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
| --- | |
| layout: none | |
| --- | |
| BEGIN:VCALENDAR | |
| VERSION:2.0 | |
| PRODID:http://www.example.com/ | |
| METHOD:PUBLISH | |
| {% for post in site.posts limit:10 %}BEGIN:VEVENT | |
| UID:{{ post.date | date: "%Y%m%d" }}@example.com | |
| ORGANIZER;CN="Organizer Name":MAILTO:[email protected] |
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 | |
| namespace p2ee\PartletPageSystem\Render; | |
| use p2ee\Partlets\Partlet; | |
| abstract class AbstractRenderer { | |
| abstract function render(Partlet $partlet); | |
| protected function resolveContext($data){ |
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
| $this->preparer->prepare($partlet); | |
| $content = $this->render($partlet); | |
| if (is_array($content)) { | |
| return new JsonResponse($content); | |
| } else { | |
| $containerClass = $partlet->getContainerPartlet(); | |
| $containerWidget = $this->dic->getInstanceOfClass($containerClass); | |
| $this->preparer->prepare($containerWidget, ['content' => $content]); |
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 | |
| namespace Acme\Provider; | |
| use Doctrine\Common\Annotations\AnnotationReader; | |
| use Doctrine\Common\Annotations\AnnotationRegistry; | |
| use Doctrine\ODM\MongoDB\Mapping\Driver\AnnotationDriver as MdbAnnotationDriver; | |
| use gthm\partlets\system\Config; | |
| use rg\injektor\Provider; | |
| /** |
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 | |
| return array( | |
| Doctrine\Common\Annotations\AnnotationReader::class => [ | |
| 'provider' => [ | |
| 'class' => Acme\Provider\AnnotationReaderProvider::class | |
| ] | |
| ], | |
| Symfony\Component\HttpFoundation\Request::class => [ | |
| 'provider' => [ |
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
| ♢ packets/FilterByValue | |
| ✗ Errored » callback not fired | |
| in given the value, indicating the outport of the filtered value provide some data packets | |
| in packets/FilterByValue | |
| in test/FilterByValue.js | |
| ✗ Errored » 6 honored ∙ 1 errored ∙ 1 dropped | |
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
| test = require "noflo-test" | |
| test.component("packets/FilterByValue"). | |
| discuss("given the value, indicating the outport of the filtered value"). | |
| send.connect("filterValue"). | |
| send.data("filterValue", 1). | |
| send.disconnect("filterValue"). | |
| discuss("provide some data packets"). | |
| send.connect("in"). | |
| send.data("in", 0). |
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
| ### | |
| # MainData Graph | |
| '0' -> STRING SendString(strings/SendString) | |
| '20' -> INTERVAL RunInterval(core/RunInterval) | |
| 'axes' -> KEY ReadAxes(objects/ExtractProperty) | |
| 'buttons' -> KEY ReadButtons(objects/ExtractProperty) | |
| RunInterval() OUT -> IN SendString(strings/SendString) | |
| SendString(strings/SendString) OUT -> GAMEPAD ReadGamepad(interaction/ReadGamepad) | |
| ReadGamepad() OUT -> IN GamepadData(core/Split) | |
| GamepadData() OUT -> IN ReadAxes(objects/ExtractProperty) |