Rotating Pricing Table for Laravel Spark
Can be placed anywhere, try it out on welcome.blade.php

$sparkPlans = Spark::plans(); with $sparkPlans = Spark::teamPlans();
| Let's start simple. | |
| Add your name, contact info (twitter) and a line or two describing where you're holding and what you're looking to get out of a pairing in the comments below. | |
| If you make a connection, come back and remove your comment. | |
| Over the course of a week (max) pledge each other one hour of code review. | |
| Throw some code in a gist or a repo, invite your partner and see what happens. |
| server { | |
| listen 80 default_server; | |
| listen [::]:80 default_server ipv6only=on; | |
| # Automatic generation of the server-name. | |
| # both subdomain.domain.tld and storeview.subdomain.domain.tld work. | |
| server_name ~^(((?<storeview>.*)\.)?((?<subdomain>.*)\.)(?<domain>[^.]+)\.(?<tld>[^.]+))$; | |
| # set root folder. both storeview.dev.magen.to and dev.magen.to resolve to /var/www/magen/htdocs | |
| root /var/www/${subdomain}/htdocs; |
| find . -path './app/code/core' -prune -o -iname '*php' \! -type d -print0 | xargs -0 grep -il "global/crypt/key" |
| * { | |
| font-size: 12pt; | |
| font-family: monospace; | |
| font-weight: normal; | |
| font-style: normal; | |
| text-decoration: none; | |
| color: black; | |
| cursor: default; | |
| } |
| # This is an annotated subset of the Nginx configuration from our Magento production platform @ www.hypernode.com | |
| # See https://www.byte.nl/blog/magento-cacheleak-issue | |
| # !!!! If you are a Hypernode customer, do not use this config as it will result in duplicate statements. !!!!! | |
| user app; | |
| worker_processes 4; | |
| pid /var/run/nginx.pid; | |
| events { |
| <?php | |
| namespace App\Http\Middleware; | |
| use Closure; | |
| use Illuminate\Http\Request; | |
| use Illuminate\Http\Response; | |
| use Symfony\Component\DomCrawler\Crawler; | |
| class PjaxMiddleware |
| <?xml version="1.0"?> | |
| <config xmlns:xsi="http://www.w3.org/2001/XMLSchema-instance" xsi:noNamespaceSchemaLocation="urn:magento:framework:Acl/etc/acl.xsd"> | |
| <acl> | |
| <resources> | |
| <resource id="Magento_Backend::admin"> | |
| </resource> | |
| </resources> | |
| </acl> | |
| </config> |
Can be placed anywhere, try it out on welcome.blade.php

$sparkPlans = Spark::plans(); with $sparkPlans = Spark::teamPlans();
| <?php | |
| use UI\App; | |
| use UI\Window; | |
| use UI\Point; | |
| use UI\Size; | |
| use UI\Area; | |
| use UI\Controls\Box; | |
| use UI\Draw\Pen; | |
| use UI\Draw\Brush; | |
| use UI\Draw\Path; |