- Broadway - Infrastructure and testing helpers for creating CQRS and event sourced applications
- EventCentric.Core - Event Sourcing and CQRS in PHP
- LiteCQRS - Small convention based CQRS library for PHP
- predaddy - Common DDD classes including an annotation driven message bus and tools for CQRS and Event Sourcing
- ProophEventSourcing - Provides basic functionality for event-sourced aggregates
- ProophEventStore - PHP 5.4+ EventStore Implementation
- ProophServiceBus - PHP Enterprise Service Bus Implementation supporting CQRS and DDD
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
XVFB=/usr/bin/Xvfb | |
XVFBARGS=":1 -screen 0 1024x768x24 -ac +extension GLX +render -noreset" | |
PIDFILE=/var/run/xvfb.pid | |
case "$1" in | |
start) | |
echo -n "Starting virtual X frame buffer: Xvfb" | |
start-stop-daemon --start --quiet --pidfile $PIDFILE --make-pidfile --background --exec $XVFB -- $XVFBARGS | |
echo "." | |
;; | |
stop) |
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
<?php | |
// curl -sS https://getcomposer.org/installer | php | |
// php composer.phar require aws/aws-sdk-php | |
// export AWS_ACCESS_KEY_ID=... | |
// export AWS_SECRET_ACCESS_KEY=... | |
$queueUrl = '<INSERT_URL_OF_EXISTING_QUEUE_HERE>'; |
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
# Local Dates: | |
git log --date=local --pretty=format:"%h%x09%an%x09%ad%x09%s" > commits.local.tsv.txt | |
# ISO Dates: | |
git log --date=iso --pretty=format:"%h%x09%an%x09%ad%x09%s" > commits.iso.tsv.txt |
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
var debug = process.env.NODE_ENV !== "production"; | |
var webpack = require('webpack'); | |
module.exports = { | |
context: __dirname, | |
devtool: debug ? "inline-sourcemap" : null, | |
entry: "./js/scripts.js", | |
output: { | |
path: __dirname + "/js", | |
filename: "scripts.min.js" |
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
core/template: This block renders a template defined by its template attribute. The majority of blocks defined in the layout are of type or subtype of core/template. | |
page/html: This is a subtype of core/template and defines the root block. All other blocks are child blocks of this block. | |
page/html_head: Defines the HTML head section of the page which contains elements for including JavaScript, CSS etc. | |
page/html_header: Defines the header part of the page which contains the site logo, top links, etc. | |
page/template_links: This block is used to create a list of links. Links visible in the footer and header area use this block type. |
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
head command example to print first 10/20 lines | |
head -10 bar.txt | |
head -20 bar.txt | |
sed command example to print first 10/20 lines | |
sed -n 1,10p /etc/group | |
sed -n 1,20p /etc/group | |
awk command example to print first 10/20 lines | |
awk 'FNR <= 10' /etc/passwd |
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
#!/bin/sh | |
for user in $(cut -f1 -d: /etc/passwd); do sudo crontab -u $user -l; done |
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
wget https://centos6.iuscommunity.org/ius-release.rpm; rpm -Uvh ius-release.rpm \ | |
rpm -ivh http://dl.iuscommunity.org/pub/ius/stable/Redhat/6/x86_64/ius-release-1.0-13.ius.el6.noarch.rpm \ | |
yum install t1lib libtool-ltdl libc-client automake autoconf file libtidy \ | |
yum --disablerepo=* --enablerepo=ius-archive install php53u-mcrypt.x86_64 php53u-xml.x86_64 php53u-soap.x86_64 php53u-mbstring.x86_64 php53u-gd.x86_64 php53u-imap.x86_64 php53u-bcmath.x86_64 php53u.x86_64 php53u-xcache.x86_64 php53u-ioncube-loader.x86_64 php53u-devel.x86_64 php53u-cli.x86_64 php53u-mysql.x86_64 php53u-tidy.x86_64 php53u-common.x86_64 |
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
UPDATE `eav_attribute` SET `backend_model` = 'eav/entity_attribute_backend_datetime' WHERE `backend_model` = 'catalog/product_attribute_backend_startdate_specialprice’; |
NewerOlder