Skip to content

Instantly share code, notes, and snippets.

View johannessteu's full-sized avatar
🌵
:)

Johannes Steu johannessteu

🌵
:)
View GitHub Profile
@johannessteu
johannessteu / composer.json
Last active August 29, 2015 14:28 — forked from kitsunet/composer.json
Neos Collection Install
{
"name": "typo3/neos-base-distribution",
"description" : "TYPO3 Neos Base Distribution",
"license": "GPL-3.0+",
"support": {
"email": "neos@typo3.org",
"irc": "irc://irc.freenode.org/typo3-neos",
"forum": "http://forum.typo3.org/index.php/f/121/",
"issues": "https://jira.typo3.org/",
"source": "https://git.typo3.org/"
Uncaught exception in line 133 of /home/vagrant/htdocs/flow-3.0.0/Packages/Libraries/doctrine/dbal/lib/Doctrine/DBAL/DBALException.php: An exception occured in driver: SQLSTATE[HY000] [2003] Can't connect to MySQL server on '127.0.0.1' (111)
29 Doctrine\DBAL\Driver\AbstractMySQLDriver::convertException("An exception occured in driver: SQLSTATE[HY000] [2003] Can't connect to MySQL server on '127.0.0.1' (111)", Doctrine\DBAL\Driver\PDOException)
28 Doctrine\DBAL\DBALException::driverException(Doctrine\DBAL\Driver\PDOMySql\Driver, Doctrine\DBAL\Driver\PDOException)
27 Doctrine\DBAL\Driver\PDOMySql\Driver::connect(array|6|, NULL, NULL, array|0|)
26 Doctrine\DBAL\Connection::connect()
25 TYPO3\Flow\Persistence\Doctrine\EntityManagerFactory_Original::create()
24 TYPO3\Flow\Object\ObjectManager::buildObjectByFactory("Doctrine\Common\Persistence\ObjectManager")
23 TYPO3\Flow\Object\ObjectManager::get("Doctrine\Common\Persistence\ObjectManager")
22 TYPO3\Flow\Persistence\Doctrine\PersistenceManager::TYPO3\Flow\Persis
➜ flow-3.0.0 composer show -i
composer/installers v1.0.21 A multi-framework Composer library installer
doctrine/annotations v1.2.7 Docblock Annotations Parser
doctrine/cache v1.4.2 Caching library offering an object-oriented API for many cache backends
doctrine/collections v1.3.0 Collections Abstraction library
doctrine/common v2.5.1 Common Library for Doctrine projects
doctrine/dbal v2.5.1 Database Abstraction Layer
doctrine/inflector v1.0.1 Common String Manipulations with regard to casing and singular/plural rules.
doctrine/instantiator 1.0.5 A small, lightweight utility to instantiate objects in PHP without invoking their constructors
doctrine/lexer v1.0.1 Base library for a lexer that can be used in Top-Down, Recursive Descent Parsers.
@johannessteu
johannessteu / ES Query for Filter.json
Last active September 9, 2015 17:53
Productfilter with TypoScript2 and ES
GET /typo3cr-1441789525/Vendor-Foo:Product/_search
{
"query" : {
"terms":
{ "sku": ["2239", "2235", " 2277", "2278", "2276", "2279"]}
},
"facets":
{
"color": {"terms": {"field": "color", "all_terms": false}}
}
@johannessteu
johannessteu / johannessteu.zsh-theme
Last active April 17, 2016 05:59
johannessteu.zsh-theme
ret_status="%(?:%{$fg_bold[green]%}➜ :%{$fg_bold[red]%}➜ %s)"
PROMPT='%{$fg_bold[yellow]%}%* %{$fg_bold[white]%}%M ${ret_status}%{$fg_bold[green]%}%p %{$fg[cyan]%}%c %{$fg_bold[blue]%}$(git_prompt_info)%{$fg_bold[blue]%} % %{$reset_color%}'
ZSH_THEME_GIT_PROMPT_PREFIX="git:(%{$fg[red]%}"
ZSH_THEME_GIT_PROMPT_SUFFIX="%{$reset_color%}"
ZSH_THEME_GIT_PROMPT_DIRTY="%{$fg[blue]%}) %{$fg[yellow]%}✗%{$reset_color%}"
ZSH_THEME_GIT_PROMPT_CLEAN="%{$fg[blue]%})"
Verifying that +johannessteu is my blockchain ID. https://onename.com/johannessteu
@johannessteu
johannessteu / garmin-log
Created November 19, 2016 07:39
Garmin Edge1000 Update 11.10
2016-11-19 08.35.29 (GMT+01:00) | 775 | I | Suppressing notification with message: Your Edge 1000 has successfully synced. View data at Garmin Connect.
2016-11-19 08.35.29 (GMT+01:00) | 775 | I | MapUpdateEx Flow: UpdateGroup initWithUpdateGroup 3885179958
2016-11-19 08.35.29 (GMT+01:00) | 775 | I | MapUpdateEx Flow: UpdateGroup initWithUpdateGroup 3885179958
2016-11-19 08.35.29 (GMT+01:00) | 775 | E | ServerRequest failed with Error:Error Domain=HttpStatusCodeErrorDomain Code=500 "(null)" UserInfo={NSErrorFailingURLKey=https://omt.garmin.com/Rce/ProtobufApi/ApplicationService/ReportSyncEvent}
2016-11-19 08.35.29 (GMT+01:00) | 775 | E | Error sending sync analytics report: Error Domain=HttpStatusCodeErrorDomain Code=500 "(null)" UserInfo={NSErrorFailingURLKey=https://omt.garmin.com/Rce/ProtobufApi/ApplicationService/ReportSyncEvent}
2016-11-19 08.36.01 (GMT+01:00) | 58903 | W | Failed to download http://download.garmin.com/software/Edge1000_1110.gcd: Error Domain=DownloadManagerErrorDomain Code=2 "MD5 did not
@johannessteu
johannessteu / composer.json
Created November 24, 2016 16:57
flow-dev collection pre namespace change
{
"name": "neos/flow-development-distribution",
"description": "Flow Development Distribution",
"license": "MIT",
"support": {
"email": "hello@neos.io",
"slack": "http://slack.neos.io/",
"forum": "https://discuss.neos.io/",
"wiki": "https://discuss.neos.io/c/the-neos-project/project-documentation",
"issues": "https://jira.neos.io/browse/FLOW",
{
"name": "vendor/package",
"description": "Foo site",
"license": "GPL-3.0+",
"config": {
"vendor-dir": "Packages/Libraries",
"bin-dir": "bin"
},
"require": {
"neos/neos-development-collection": "3.0.x-dev",
@johannessteu
johannessteu / Provider.php
Created May 4, 2017 10:14
Flow Rest-Token/Provider
<?php
namespace ...\Security\Authentication\Provider;
[...]
class JwtApiTokenProvider extends AbstractProvider
{
/**
* @Flow\Inject
* @var PolicyService