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: app | |
| type: php:7.4 | |
| dependencies: | |
| php: | |
| composer/composer: '^2' | |
| runtime: | |
| extensions: |
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: app | |
| type: php:7.4 | |
| dependencies: | |
| php: | |
| composer/composer: '^2' | |
| runtime: | |
| extensions: |
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: app | |
| type: php:7.4 | |
| dependencies: | |
| php: | |
| composer/composer: '^2' | |
| runtime: | |
| extensions: |
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": "application", | |
| "version": "1.0.0", | |
| "scripts": { | |
| "build": "webpack --progress --color --mode production", | |
| "start": "webpack-dev-server --mode development", | |
| "watch": "webpack --progress --color --watch --mode development" | |
| }, | |
| "keywords": [], | |
| "author": "", |
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
| int nudgingLedPin = 13; // choose the pin for the LED | |
| int pushButtonPin = 9; | |
| int greenLedPin = 11; // choose the pin for the LED | |
| int inputPin = 2; // choose the input pin (for PIR sensor) | |
| int pirState = LOW; // we start, assuming no motion detected | |
| int val = 0; // variable for reading the pin status | |
| int push = 0; | |
| void setup() { | |
| pinMode(nudgingLedPin, OUTPUT); // declare LED as output |
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 | |
| $node = new TYPO3\Surf\Domain\Model\Node('production'); | |
| $node | |
| ->setHostname('SERVER_IP') | |
| ->setOption('username', 'SSH_USERNAME'); | |
| $application = new TYPO3\Surf\Application\Neos\Flow('SikkerFaktura Distribution'); | |
| $application->setVersion('7.0'); | |
| $application | |
| ->setOption('keepReleases', 3) |
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
| prototype(Neos.Neos:ContentCollection) < prototype(Neos.Neos:ContentCollectionRenderer) { | |
| @process.wrap = Neos.Fusion:Tag { | |
| tagName = 'div' | |
| attributes = Neos.Fusion:DataStructure | |
| # The following is used to automatically append class attribute with "neos-contentcollection" needed for editing. | |
| # You can disable the following line with: | |
| # prototype(Neos.Neos:ContentCollection) { | |
| # attributes.class.@process.collectionClass > |
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 xmlns:f="http://typo3.org/ns/TYPO3/CMS/Fluid/ViewHelpers" xmlns:bk2k="http://typo3.org/ns/BK2K/BootstrapPackage/ViewHelpers" data-namespace-typo3-fluid="true"> | |
| <header id="page-header" class="bp-page-header navbar navbar-mainnavigation navbar-{theme.navigation.style}{f:if(condition:settings.logo.file,then:' navbar-has-image')}{f:if(condition:theme.navigation.type, else:' navbar-top', then:' navbar-{theme.navigation.type} navbar-fixed-{theme.navigation.type}')}"> | |
| <div class="container"> | |
| <f:if condition="{settings.logo.file}"> | |
| <f:then> | |
| <f:link.page pageUid="{rootPage}" class="navbar-brand navbar-brand-image" title="{settings.logo.linktitle}"> | |
| <img class="navbar-brand-logo-normal" src="{f:uri.image(src: settings.logo.file)}" alt="{logoAlt}" height="{settings.logo.height}" width="{settings.logo.width}"> | |
| <img class="navbar-brand-logo-inverted" src="{f:uri.image(src: settings.logo.fileInverted)}" alt="{logoAlt}" height="{settings |
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 | |
| public function findByPlaceAndRadius(Place $place, $radius, $limit = 15) { | |
| $latitude = $place->getLatitude(); | |
| $longitude = $place->getLongitude(); | |
| $angleRadius = $radius / 111; | |
| $min_lat = $latitude - $angleRadius; | |
| $max_lat = $latitude + $angleRadius; | |
| $min_lon = $longitude - $angleRadius; | |
| $max_lon = $longitude + $angleRadius; |
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
| { | |
| "event": { | |
| "type": "UserHasSignedUp" | |
| }, | |
| "conditions": [{ | |
| "type": "DateRange", | |
| "parameters": { | |
| "startDateAndTime": "01/12/2017", | |
| "endDateAndTime": "21/12/2017" | |
| } |