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 | |
# Info | |
# - ignores AUTO_INCREMENT (replacement via sed) | |
# settings | |
db1=DB1 | |
db2=DB2 | |
db1_user=root |
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
# TYPO3 / TypoScript: Increase the amount of items in TYPO3 Backend List - web_list | |
mod { | |
web_list { | |
# table singleview limit | |
itemsLimitSingleTable = 200 | |
# listview of tables limit | |
itemsLimitPerTable = 200 | |
} | |
} |
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
Fehler finden, der im Typoscript-Objectbrowser angezeigt wird | |
------------------------------------------------------------- | |
Beispiele: | |
- 1: Line 4985: On return to [GLOBAL] scope, the script was short of 1 end brace(s) | |
- 2: Line 4227: Object Name String, ")" contains invalid character ")". Must be alphanumeric or one of: "_-." | |
Lösung: | |
- Auf Template Analyzer umstellen | |
- Haken setzen bei Linenumbers | |
- "Vollständige TS-Auflistung anzeigen" anklicken |
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
Best Distro: SystemRescueCd: SystemRescueCd_Homepage | |
Fix MBR Windows HDD | |
------------------- | |
- http://tips.mistergeek.com/87 | |
- sudo ms-sys -m /dev/<YOUR_HDD> |
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
# Löschen von Dateien, die fehlen | |
svn st | grep "! " | cut -c9- | xargs -I {} svn del {} | |
# hinzufügen von unbekannten Dateien | |
svn st | grep "? " | cut -c9- | xargs -I {} svn add {} |
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
// News Element | |
// won't work (these fields are visible after BE reload (is_event)) | |
//TCAdefaults.tx_news_domain_model_news.full_day = 1 | |
//TCAdefaults.tx_news_domain_model_news.organizer_simple = Bernd die Socke | |
// works fine | |
TCAdefaults.tx_news_domain_model_news.title = Hier Text eingeben | |
TCAdefaults.tx_news_domain_model_news.author = Bernd |
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
" set number | |
" set list | |
" set listchars=tab:>- | |
set autoindent | |
set pastetoggle=<F10> | |
set nowrap | |
set background=dark | |
set hlsearch | |
syntax on |
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
# decativate debug logging PN532 | |
logging.getLogger('Adafruit_PN532.PN532').setLevel(logging.INFO) |
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
# E: Unable to parse package file /var/lib/apt/lists/repos.azulsystems.com_debian_dists_stable_main_binary-armhf_Packages (1) | |
# W: You may want to run apt-get update to correct these problems | |
# E: The package cache file is corrupted | |
sudo rm /var/lib/apt/lists/* -vf | |
sudo apt update |
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
# from here: https://www.vultr.com/docs/enable-ssh-login-notification-on-linux | |
# vim /etc/ssh/sshrc | |
IP="$(echo $SSH_CONNECTION | cut -d " " -f 1)" | |
HOSTNAME=$(hostname) | |
NOW=$(date +"%e %b %Y, %a %r") | |
echo 'Someone from '$IP' logged into '$HOSTNAME' on '$NOW'.' | mail -s 'SSH Login Notification' <YOUR_EMAIL_ADDRESS> | |
# service sshd restart |
OlderNewer