Skip to content

Instantly share code, notes, and snippets.

Keybase proof

I hereby claim:

  • I am neoblack on github.
  • I am neoblack (https://keybase.io/neoblack) on keybase.
  • I have a public key ASArnxDviRo5wVmux48xIjm9aWAhG65Z3IWW3zq7vGuuRgo

To claim this, I am signing this object:

@NeoBlack
NeoBlack / release-stats.sh
Created April 15, 2020 09:54
TYPO3 release statistics
#!/bin/bash
###############################
# TYPO3 release statistics
# Generator script to get some stats from the git repository
# Set the variable "tag" below to the first LTS version tag and start the script from the local master checkout
#
# Created by Frank Nägler (@NeoBlack)
###############################
<?php
namespace FooBar\BarFoo\Solr\IndexQueue;
use ApacheSolrForTypo3\Solr\IndexQueue\InvalidFieldNameException;
/**
* Class Indexer
*
* @package FooBar\BarFoo\Solr\IndexQueue
*/
<?php
namespace BowlingWissen\TmplWebsite\Solr\IndexQueue;
use ApacheSolrForTypo3\Solr\IndexQueue\InvalidFieldNameException;
/**
* Class Indexer
*
* @package BowlingWissen\TmplWebsite\Solr\IndexQueue
*/
@NeoBlack
NeoBlack / TYPO3-Upgrade
Created February 26, 2016 09:43
TYPO3 Upgrade from 4.5.x to 6.2.x
01) Update to latest 4.5 version
02) DB-Compare via install tool
03) Update extensions to 6.2 compatible version
04) deinstall unused extensions
05) delete deinstalled extensions
06) Repair failures reported bei EXT:smoothmigration
07) Update sys_refindex [1]
08) Update TYPO3 core to 6.2 (maybe restart webserver, APC?)
09) Run Upgrade Wizard from install tool
10) DB-Compare via install tool
@NeoBlack
NeoBlack / IconUtitly.php
Last active August 29, 2015 14:27
IconUtility
// @deprecated
IconUtility::getIcon()
//
// PUBLIC METHODS
//
// @access public: used 4 times in the core
IconUtility::skinImg()
// @access public: used 316 times in the core
@NeoBlack
NeoBlack / Traits.php
Created July 15, 2015 10:08
Example for PHP Traits
<?php
trait SharableTrait {
public function share($item){
return 'share this item';
}
}
trait MailableTrait {
public function mail($to){
mail($to, 'Foo', 'Body-Text');
@NeoBlack
NeoBlack / forger.js
Created June 17, 2015 14:15
Tampermonkey script for forger.typo3.org
// ==UserScript==
// @name Forger Remove Animated Process Bar
// @namespace http://naegler.hamburg/
// @version 0.1
// @description remove the animation from WIP statusbar part
// @author You
// @match http*://forger.typo3.org/sprint?boardId=*
// @require http://ajax.googleapis.com/ajax/libs/jquery/1/jquery.min.js
// @grant none
// ==/UserScript==
@NeoBlack
NeoBlack / cleanupFunctionalTestDatabases.sh
Last active August 29, 2015 14:21
shell script to remove functional test databases.
#!/bin/bash
################################################################################
# Cleanup databases after functional test runs
#
# call for a check:
# ./cleanupFunctionalTestDatabases.sh
# call for really delete databases:
# ./cleanupFunctionalTestDatabases.sh doit
################################################################################

First project with gulp

1. Install gulp globally:

$ npm install --global gulp

2. Install gulp in your project devDependencies: