- alle Tabellen löschen
- SQL Dump importieren
- Datei "update_3_2_to_4_5_1.sql" ausführen
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 | |
/** | |
* | |
* $element[1] namens_label - Label mit dem Namen | |
* $element[2] wettbewerbskuerzel - IR für regional, ID für international deutsch, IE für international englisch | |
* $element[3] no_db - wenn der Key nicht in die DB geschrieben werden soll | |
* | |
* @author koala | |
* |
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
useful linux things | |
############################################################################### | |
Seiten per wget downloaden: | |
wget -r -l0 -R htm,html http://www.example.com | |
-r - Rekursiv | |
-l 0 - Ebenenangabe | |
-R - ziehe alles ausser das was auf "htm" oder "html" endet |
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 | |
$field = &$form->addTextField('gtb'); | |
$field->setLabel("GTB"); | |
$field->setDefaultSaveValue(NULL); |
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 | |
/** | |
* Führt 301-Weiterleitung auf angegebenes Ziel aus. | |
* | |
* @param string $var Variable auf die geprueft wird | |
* @param string $zielurl Ziel-URL inkl. http:// | |
*/ | |
function wl301($var, $zielurl) { |
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
#!/bin/bash | |
# Read the /var/log/boot file with a special characters replacement for | |
# Debian Wheezy. | |
# see http://wiki.debian.org/bootlogd | |
# Version: 1.0 - 19.05.2013 | |
sed $'s/\^\[/\E/g;s/\[1G\[/\[27G\[/' /var/log/boot | less -r | |
wait | |
exit 0 |
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
Wie funktioniert das? | |
- Im Browser ein neues Lesezeichen so erstellen, dass es in der Lesezeichenleiste des Browsers erscheint. | |
- Einen Namen eingeben. | |
- Bei "Adresse" die komplette Zeile ab "javascript" einfügen | |
- Fertig | |
Jetzt ist folgendes damit möglich: | |
1. Wenn nur das Lesezeichen angeklickt wird geht ein kleines Fenster auf in dem das zu suchende Wort eingegeben werden kann. | |
2. Es kann ein Wort im Browser markiert werden, dann wird auf das Lesezeichen geklickt und es wird ein neuer Tab im Browser | |
geöffnet und die Suche nach dem zuvor markierten Wort startet sofort. |
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
https://github.com/CatxFish/obs-v4l2sink | |
======================================== | |
System: Debian 5.5.17-1~bpo10+1 (2020-04-23) x86_64 GNU/Linux | |
dpkg -l libobs-dev qtbase5-dev | |
Desired=Unknown/Install/Remove/Purge/Hold | |
| Status=Not/Inst/Conf-files/Unpacked/halF-conf/Half-inst/trig-aWait/Trig-pend | |
|/ Err?=(none)/Reinst-required (Status,Err: uppercase=bad) | |
||/ Name Version Architecture Description |
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
https://github.com/umlaeute/v4l2loopback | |
======================================== | |
download the release: https://github.com/umlaeute/v4l2loopback/releases | |
tar -xzf v4l2loopback-0.12.5.tar.gz | |
make install | |
depmod -a |
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
#!/bin/sh | |
# | |
# Zugriffrechteanpassung fuer Redaxo ab und getestet mit Version 5.15.x | |
# | |
# Ausführen im Hauptverzeichnis (also dort, wo sich bereits die | |
# Verzeichnisse assets, media und redaxo befinden): | |
# | |
# ./change_rights_rex5.x.sh | |
# | |
# Redaxo liest beim Starten des Setup die Verzeichnis- und Dateirechte |