Skip to content

Instantly share code, notes, and snippets.

View hendrik-goebel's full-sized avatar

Hendrik hendrik-goebel

  • Bordelum
View GitHub Profile
@hendrik-goebel
hendrik-goebel / pandas_snippets
Created September 20, 2020 08:41
Pandas Snippets (Jupyter Notebook)
#!/usr/bin/env python
# coding: utf-8
# In[ ]:
import as pd
import numpy as np
@hendrik-goebel
hendrik-goebel / imag-tca
Created October 1, 2014 09:59
TYPO3:TCA Configuration for image including Alt and link field
'image' => array(
'exclude' => 0,
'label' => 'LLL:EXT:seminars/Resources/Private/Language/locallang_db.xlf:tx_seminars_domain_model_icon.image',
'config' => \TYPO3\CMS\Core\Utility\ExtensionManagementUtility::getFileFieldTCAConfig(
'image', array('maxitems' => 1,
'foreign_types' => array(
'0' => array(
'showitem' => '
--palette--;LLL:EXT:lang/locallang_tca.xlf:sys_file_reference.imageoverlayPalette;imageoverlayPalette,
--palette--;;filePalette'
@hendrik-goebel
hendrik-goebel / terms.php
Created July 8, 2014 10:15
TYPO3 user function
<?php
class user_terms {
var $cObj; // The backReference to the mother cObj object set at call time
/**
* Call it from a USER cObject with 'userFunc = user_randomImage->main_randomImage'
*/
@hendrik-goebel
hendrik-goebel / gist:949c744ae0e789ce28b7
Created May 26, 2014 15:39
PHP: Enable error reporting
error_reporting(E_ALL);
ini_set('display_errors', 1);