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
// ==UserScript== | |
// @name TweetXer | |
// @namespace https://gist.github.com/lucahammer/a4d1e957ec9e061e3cccafcbed599e16/ | |
// @version 0.6 | |
// @description Delete all your Tweets for free. | |
// @author Luca | |
// @match https://x.com/* | |
// @icon https://www.google.com/s2/favicons?domain=twitter.com | |
// @grant unsafeWindow | |
// ==/UserScript== |
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 | |
//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 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 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 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 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 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 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 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; |
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 | |
/** | |
* Copyright (c) 2013 Jean Bruenn | |
* | |
* Permission is hereby granted, free of charge, to any person obtaining a copy | |
* of this software and associated documentation files (the "Software"), to deal | |
* in the Software without restriction, including without limitation the rights | |
* to use, copy, modify, merge, publish, distribute, sublicense, and/or sell | |
* copies of the Software, and to permit persons to whom the Software is | |
* furnished to do so, subject to the following conditions: |
NewerOlder