Awesome PHP has been relocated permanently to its own Github repository. No further updates will made to this gist.
Please open an issue for any new suggestions.
Awesome PHP has been relocated permanently to its own Github repository. No further updates will made to this gist.
Please open an issue for any new suggestions.
#!/usr/bin/env sh | |
## | |
# This is script with usefull tips taken from: | |
# https://github.com/mathiasbynens/dotfiles/blob/master/.osx | |
# | |
# install it: | |
# curl -sL https://raw.github.com/gist/2108403/hack.sh | sh | |
# |
use TYPO3\Flow\Annotations as Flow; | |
use Doctrine\ORM\Mapping as ORM; | |
/** | |
* A User | |
* | |
* @Flow\Entity | |
*/ | |
class User { |
worker_processes 1; | |
events { | |
worker_connections 1024; | |
} | |
http { | |
include mime.types; |
# Flow 3.0+ | |
Flow_Session_Storage: | |
persistent: TRUE | |
Flow_Session_MetaData: | |
persistent: TRUE | |
# Flow 2.0-2.3 (only works with Surf deployment – not flow:cache:flush command) | |
Flow_Session_Storage: | |
backendOptions: |
<?php | |
namespace WE\BaseBox\Aspects; | |
/* * | |
* This script belongs to the TYPO3 Flow package "WE.BaseBox". * | |
* * | |
* It is free software; you can redistribute it and/or modify it under * | |
* the terms of the GNU Lesser General Public License, either version 3 * | |
* of the License, or (at your option) any later version. * | |
* * |