Skip to content

Instantly share code, notes, and snippets.

View chuenniger's full-sized avatar

Christian Hünniger chuenniger

View GitHub Profile
@chuenniger
chuenniger / LinuxRepair
Created November 13, 2013 15:43
Linux Repair
Best Distro: SystemRescueCd: SystemRescueCd_Homepage
Fix MBR Windows HDD
-------------------
- http://tips.mistergeek.com/87
- sudo ms-sys -m /dev/<YOUR_HDD>
@chuenniger
chuenniger / TYPO3 Tipps
Last active December 23, 2015 19:48
TYPO3 Tipps
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
@chuenniger
chuenniger / TYPO3.ts
Last active December 23, 2015 19:29
TYPO3 / TypoScript: Increase the amout of items in TYPO3 Backend List - web_list
# 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
}
}
@chuenniger
chuenniger / diff_mysql_databases.sh
Created September 11, 2013 09:51
Compare the mysql structure between two databases on shell without external tools
#!/bin/bash
# Info
# - ignores AUTO_INCREMENT (replacement via sed)
# settings
db1=DB1
db2=DB2
db1_user=root