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
| (function() { | |
| const e = document.createElement("style"); | |
| e.textContent = `.spahn-widget{background-color:#7c86ff;color:#fff;font-family:-apple-system,BlinkMacSystemFont,'SegoeUI',Roboto,Oxygen,Ubuntu,sans-serif;max-width:600px;padding:2rem;margin:1rem | |
| auto;text-align:center;border-radius:8px}.spahn-widget h1{font-size:4rem}.spahn-widget .answer{font-size:3rem;font-weight:bold;margin-bottom:1rem}.spahn-widget .description{font-size:1.5rem;line-height:1.4}`; | |
| document.head.appendChild(e); | |
| const t = document.createElement("div"); | |
| t.className = "spahn-widget", t.innerHTML = `<h1>Ist Spahn noch im Amt?</h1><div class="answer" id="spahn-answer">Lade...</div><div class="description" id="spahn-description"></div>`, document.body.appendChild(t), fetch("https://istspahnnochimamt.de/api/v1/inOffice").then(e => e.json()).then(e => { | |
| document.getElementById("spahn-answer").textContent = e.isSpahnStillInOffice ? "Leider ja" : "Endlich Nein 🥳", document.getElementById("spahn-description").innerHTM |
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
| // ==UserScript== | |
| // @name TweetXer | |
| // @namespace https://github.com/lucahammer/tweetXer/ | |
| // @version 0.9.3 | |
| // @description Delete all your Tweets for free. | |
| // @author Luca,dbort,pReya,Micolithe,STrRedWolf | |
| // @license NoHarm-draft | |
| // @match https://x.com/* | |
| // @match https://mobile.x.com/* | |
| // @match https://twitter.com/* |
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 | |
| //ich muss ins web/ Verzeichnis, Aufruf über Browser oder Kommandozeile | |
| //vorher DB Backup durchführen der tl_files Tabelle zur Sicherheit | |
| define('TL_SCRIPT', 'MIGRATION480'); | |
| define('TL_MODE' , 'FE'); | |
| include __DIR__.'/../system/initialize.php'; |
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 | |
| die ('This is not executable now! Please comment out this line.'); | |
| $config = array( | |
| 'url' => 'https://getcomposer.org/composer.phar', | |
| 'dir' => __DIR__ . '/composer', | |
| 'bin' => __DIR__ . '/composer/composer.phar', | |
| 'json' => __DIR__ . '/composer/composer.json', | |
| 'command' => 'install' // The composer command update/install |
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
| jQuery(document).ready(function () { | |
| var j= jQuery, | |
| container = '.ce_metamodel_content', | |
| list = '.layout_full', | |
| entry = '.item', | |
| pagination = j('.pagination'); | |
| var urls = [], | |
| scrolled = function (elem) { | |
| var |
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
| index index.php index.html; | |
| location ~ ^/(favicon\.ico|robots\.txt)$ { | |
| allow all; | |
| log_not_found off; | |
| access_log off; | |
| } | |
| # don't show templates | |
| location ~* \.(tpl|html5|xhtml)$ { |
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
| moved to repository https://github.com/fiedsch/contao-backup-script | |
| see also https://github.com/fiedsch/contao-4-backup-script (for Contao 4) |
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 | |
| /* | |
| When updating from Contao 2 to Contao 3, you must not rename the tl_files folder to files! | |
| If you want to rename the folder, you have to take the following steps: | |
| · Complete the version 3 update in the install tool | |
| · Then rename the upload folder in the back end settings to files | |
| · Last run the modified version of Tristan's script |
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
| index index.php index.html index.html; | |
| client_max_body_size 200M; | |
| sendfile on; | |
| error_page 404 /404.html; | |
| location / { | |
| try_files $uri $uri/ /index.php?$args; | |
| } | |
| location = /favicon.ico { |
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
| // Reihenfolge der Headline-Typen ändern | |
| $GLOBALS['TL_DCA']['tl_content']['fields']['headline']['options']= array('h2', 'h3', 'h4', 'h5', 'h6', 'h1'); | |
| // Artikel und Seiten standardmäßig auf 'veröffentlicht' stellen | |
| $GLOBALS['TL_DCA']['tl_article']['fields']['published']['default'] = true; | |
| $GLOBALS['TL_DCA']['tl_page']['fields']['published']['default'] = true; | |
| // HTML in Überschriften erlauben | |
| $GLOBALS['TL_DCA']['tl_content']['fields']['headline']['eval']['allowHtml'] = true; |
NewerOlder