Schnellzugriff » 
Home 

Gentoo Linux auf dem MacBook Pro 6,2

August 14th, 2012 kcore

Bei der Installation von Gentoo Linux auf meinem MacBook Pro 6,2 bin ich über viele Fallstricke und Dinge gestolpert, die neu für mich waren. Dieser Artikel soll eine Sammlung von Tipps sein, die hoffentlich dem einen oder anderen, der sich für die Installation von Gentoo Linux auf einem MacBook Pro 6,2 interessiert, Zeit spart.
Partitionierung
Die Festplatte [...]

Weiterlesen »
Posted in Gentoo, Linux / Unix, MacBook | 2 Comments »

TYPO3 benutzt dummy.php als returnUrl

Juli 26th, 2012 kcore

TYPO3 arbeitet an manchen Stellen mit einem Parameter namens returnUrl. Dieser Parameter enthält die relative URI des zuvor geöffneten Dokuments und wird beispielsweise für die Weiterleitung auf eben dieses zuvor geöffnete Dokument benötigt, wenn ein Benutzer im Backend die Funktion “Speichern und verlassen” (Diskette mit X) benutzt.
Abhängig von zuvor getätigten Aktionen kann der Wert dieses [...]

Weiterlesen »
Posted in Uncategorized | 1 Comment »

Firefox 4 ist langsam und hakt beim Scrollen

April 10th, 2011 kcore

Hand aufs Herz – Mozilla Firefox ist ein toller Browser. Ich kann mir meinen Arbeitsalltag ohne dieses feine Stück Software (insbesondere wegen der zahlreichen Erweiterungen dafür) kaum vorstellen. Deshalb trafen mich die Probleme, die ich nach dem Update auf Firefox 4 hatte, gleich doppelt. Der Browser begann plötzlich damit regelmäßig zu haken. Bei dem Aufruf [...]

Weiterlesen »
Posted in Userland | 15 Comments »

PHP: making a file executable

Februar 24th, 2011 kcore

The following little code snippet shows you how to change a files permissions to allow its owning user and group to read and execute it.
public function makeExecutable() {
if(file_exists($this->executablePath)) {
if(DIRECTORY_SEPARATOR == ‘/’) {
// add executable (1) and read (4) bits for user and group
$filePermissions = decoct(fileperms($this->executablePath));
$filePermissions = substr($filePermissions, strlen($filePermissions) – 3);
$newFilePermissions = $filePermissions[0] | 5;
$newFilePermissions .= [...]

Weiterlesen »
Posted in PHP | Kommentare deaktiviert

TYPO3 4.5, t3mootools and JSMin

Februar 11th, 2011 kcore

If you are trying to open the backend module of t3mootools 1.3.0 in a TYPO3 4.5 installation you’ll probably notice that besides a PHP error (PHP Fatal error: Cannot redeclare class JSMinException in typo3_src-4.5.0/typo3/contrib/jsmin/jsmin.php on line 297) nothing is going to happen. This is happening because t3mootools includes (and uses) a copy of JSMin [...]

Weiterlesen »
Posted in Uncategorized | 11 Comments »

wget untar on the fly

Januar 21st, 2011 kcore

Downloading and extracting large tarballs usually takes plenty of time. Extracting tarballs during the their transfer reduces the waiting time because you a) don’t need to do wait for the transfer to finishes before starting the extraction and b) the machine doesn’t have to read the tarball from the disk while simultaneously writing to it.
One [...]

Weiterlesen »
Posted in Administration, Linux / Unix | Kommentare deaktiviert

TemplaVoilà: Default content for empty fields

November 26th, 2010 kcore

Thanks to stdWrap doing this is quite easy:
Edit the TemplaVoilà datastructure, search the field you want to fill with default content if it’s empty and look for it’s TypoScript configuration:
<TypoScript>
10 = RECORDS
10 {
source.current = 1
tables = tt_content
}
</TypoScript>
Add the following nodes under it:
<proc type=”array”>
<stdWrap><![CDATA[
ifEmpty {
cObject =< lib.sidebarDefaultContent
}
]]></stdWrap>
</proc>
lib.sidebarDefaultContent can be any content object of your choice, for [...]

Weiterlesen »
Posted in TypoScript | Kommentare deaktiviert

« Previous Entries

© 2007 - 2009 Thorsten Boock