Skip to content

Instantly share code, notes, and snippets.

View TrueType's full-sized avatar
💭
Doing civil project now

Henri Nathanson TrueType

💭
Doing civil project now
View GitHub Profile
'use strict';
class Elasticsearch {
$elasticsearch;
$form;
$searchwords;
awesomplete;
ajaxUrl = '/?type=215236';
isHeaderMode;
data;
@TrueType
TrueType / FluxFalUpdateWizard.php
Last active September 24, 2020 15:54
TYPO3 EXT:flux field.file -> field.inline.fal migration script
<?php
namespace MyVendor\Sitepackage\Updates;
/**
* This file is part of the TYPO3 CMS project.
*
* It is free software; you can redistribute it and/or modify it under
* the terms of the GNU General Public License, either version 2
* of the License, or any later version.
*
@TrueType
TrueType / gist:848bec0d89bbe353c7a030f2c622e88c
Created May 11, 2017 11:18
Exception with h:uri.action viewhelper and missing contentObject
Uncaught TYPO3 Exception
#1416846201: Context record must be of type string "NULL" given. (More information)
Helhum\TyposcriptRendering\Configuration\ConfigurationBuildingException thrown in file
.../web/typo3conf/ext/typoscript_rendering/Classes/Configuration/RecordRenderingConfigurationBuilder.php in line 66.
86 Helhum\TyposcriptRendering\Configuration\RecordRenderingConfigurationBuilder::resolveTableNameAndUidFromContextString(NULL)
.../web/typo3conf/ext/typoscript_rendering/Classes/Configuration/RecordRenderingConfigurationBuilder.php:
00042: public function configurationFor($extensionName, $pluginName, $contextRecord = 'currentPage')
00043: {
00044: list($tableName, $uid) = $this->resolveTableNameAndUidFromContextString($contextRecord);
00045: $pluginSignature = $this->buildPluginSignature($extensionName, $pluginName);
#!/bin/sh
clear
openssl genrsa -out private.pem 2048
openssl rsa -in private.pem -out public.pem -pubout
echo
echo