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
In Collection.php line 13: | |
During inheritance of ArrayAccess: Uncaught ErrorException: Return type of Illuminate\Support\Collection::offsetExists($key) should either be compatible with ArrayAccess::offsetE | |
xists(mixed $offset): bool, or the #[\ReturnTypeWillChange] attribute should be used to temporarily suppress the notice in /mnt/volume2/ploi/industriepartnerschap.be_/vendor/lara | |
vel/framework/src/Illuminate/Collections/Collection.php:1459 | |
Stack trace: | |
#0 /mnt/volume2/ploi/industriepartnerschap.be_/vendor/laravel/framework/src/Illuminate/Collections/Collection.php(13): Illuminate\Foundation\Bootstrap\HandleExceptions->handleErr | |
or() | |
#1 /mnt/volume2/ploi/industriepartnerschap.be_/vendor/composer/ClassLoader.php(571): include('...') | |
#2 /mnt/volume2/ploi/industriepartnerschap.be_/vendor/composer/ClassLoader.php(428): Composer\Autoload\includeFile() |
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
<p> | |
Dear {$first_name} {$name} | |
</p> | |
<p> | |
Thanks for your faith in the Planner! We hope that you're excited to get started with your action plan and that you'll soon reap the full benefits of it. | |
</p> | |
<p> | |
Your sustainable information lined up for you:</p> |
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
$ch = curl_init('https://prod-69.westeurope.logic.azure.com:443/workflows/7f70c780055c4e9695f16ebf94a87e81/triggers/manual/paths/invoke?api-version=2016-06-01&sp=%2Ftriggers%2Fmanual%2Frun&sv=1.0&sig=FMFbPlGZBf25o-LpEZdWekKELjl7wrTp7A5GSY7ObO4'); | |
curl_setopt($ch, CURLOPT_CUSTOMREQUEST, "POST"); | |
curl_setopt($ch, CURLOPT_POSTFIELDS, $data_string); | |
curl_setopt($ch, CURLOPT_RETURNTRANSFER, true); | |
curl_setopt($ch, CURLOPT_HTTPHEADER, array( | |
'Content-Type: application/json', | |
'Content-Length: ' . strlen($data_string)) | |
); | |
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
{{ taxonomy:years scope="item" sort="title:desc" }} | |
{{ collection:art-exhibitions taxonomy="true" as="posts" scope="project" sort="creation_date:desc" since="{item:title}-01-01" until="{item:title}-12-31" }} | |
{{ posts scope="post }} | |
<h3>{{ post:title }}</h3> | |
{{ post:overview_images limit="6" }} | |
{{ post:url }} {{# can not acces this variable #}} | |
<a title="{{ post:title }}" href="{{ post:url }}" class="linked-image"><img class="lazy" data-srcset="" data-src="{{ glide:value width="100" height="135" fit="resize" }}" alt="{{ title }}" /></a> | |
{{ /post:overview_images }} | |
{{ /posts }} | |
{{ /collection:art-exhibitions }} |
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 | |
namespace Statamic\Addons\Calculate; | |
use Statamic\Extend\Tags; | |
use Statamic\API\Collection; | |
use Statamic\API\Entry; | |
use Statamic\API\YAML; | |
class CalculateTags extends Tags |
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
image: php:7.2.3 | |
pipelines: | |
custom: # Pipelines that are triggered manually via the Bitbucket GUI | |
init: # -- First time init | |
- step: | |
caches: | |
- composer | |
script: | |
- apt-get update | |
- apt-get -qq install git-ftp |
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
{ | |
"id": 31, | |
"image": "image.png", | |
"image_url": "site.tld/image.png", | |
"launched_at": null, | |
"created_at": "2017-07-18 12:13:42", | |
"updated_at": "2017-07-18 12:13:42", | |
"content": { | |
"project_id": 31, | |
"name": "project x", |
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
// Routes | |
$api->get('projects', 'App\Api\V1\Controllers\ProjectController@index'); | |
$api->post('projects', 'App\Api\V1\Controllers\ProjectController@store'); | |
// Controller | |
<?php | |
namespace App\Api\V1\Controllers; |
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
.cke_panel_block[title="Formatting Styles"] ul:last-child, | |
.cke_panel_block[title="Formatting Styles"] h1:last-of-type, | |
.cke_panel_block[title="Opmaakstijlen"] ul:last-child, | |
.cke_panel_block[title="Opmaakstijlen"] h1:last-of-type { | |
display: none; | |
} | |
.cke_panel_block[title="Formatting Styles"], | |
.cke_panel_block[title="Paragraph Format"], |
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
$('.js-slideshow').each(function() { | |
var cycle = $(this).cycle({ | |
slides: '> .slideshow-slide', | |
swipe: true | |
}); | |
cycle.find('.cycle-slide').click(function(e){ | |
cycle.cycle('next'); | |
}); |
NewerOlder