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
<script> | |
$( document ).ready(function() { | |
window.setInterval(function() { | |
if($('#autoreload').is(':checked')){ | |
if(('#autoreload-wrapper .countdown').length && (parseInt($('#autoreload-wrapper .countdown').text()) <= 1)){ | |
// Reload every 60 seconds without sending POST again: | |
window.location.href = window.location.href; | |
} else { | |
$('#autoreload-wrapper .countdown').text(parseInt($('#autoreload-wrapper .countdown').text()) - 1); | |
} |
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
; Personal Configuration for https://github.com/DanTup/BrowserSelector | |
; See https://julian.pustkuchen.com/en/open-specific-browser-url-open-clickup-brave | |
; Default browser is first in list | |
; Use `{url}` to specify UWP app browser details | |
[browsers] | |
ff = C:\Program Files\Mozilla Firefox\firefox.exe | |
chrome = C:\Program Files (x86)\Google\Chrome\Application\chrome.exe | |
edge = microsoft-edge:{url} |
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 | |
// Delete paragraph example_bundle bundle! | |
/** @var \Drupal\Core\Config\Entity\ConfigEntityStorage $entity_storage */ | |
$entity_storage = \Drupal::entityTypeManager()->getStorage('paragraphs_type'); | |
$configEntityBildText = $entity_storage->load('example_bundle'); | |
$configEntityBildText->delete(); | |
?> |
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 | |
/** | |
* Helper function / example code to check | |
* if the given configuration (by name) | |
* exists in active configuration. | |
* @param string $configName | |
* The id of the configuration to check. | |
* | |
* @return boolean |
OlderNewer