Another UI piece in CSS. Hover over the stat box for a nice scale etc. This does need tidying up slightly and i will make it responsive at some point so it looks top banana on mobile.
A Pen by Jamie Coulter on CodePen.
| Edit In Place | |
| http://jsfiddle.net/timriley/9Wpyf/ | |
| Using A Directive to Controller | |
| Eg. Bind a click event of a div to delete a tweet | |
| http://www.thinkster.io/angularjs/IgQdYAAt9V/angularjs-directives-talking-to-controllers | |
| File Uploads (has link to example with S3) | |
| Allows with drag n drop as well. | |
| https://github.com/danialfarid/angular-file-upload |
| Hi. | |
| I was doing the Multi-tenant tutorial and for some reason I keep getting the same error | |
| over and over no matter what I do. | |
| I've redone the code several times and still get the error: | |
| Target [Illuminate\Database\Eloquent\Model] is not instantiable. | |
| Which I understand should have something to do with my ServiceProviders and | |
| binding them via the app.php file. |
| <script> | |
| @if (App::environment('local')) | |
| var $el = $("#card-number"); | |
| window.stripeData = { | |
| valid: function() { | |
| $el.val('4242424242424242'); | |
| }, | |
| successAddressFail: function() { | |
| $el.val('4000000000000028'); | |
| }, |
| Run in local OSX using Global Composer not on the VM | |
| $> php -dmemory_limit=-1 /usr/local/bin/composer install |
Another UI piece in CSS. Hover over the stat box for a nice scale etc. This does need tidying up slightly and i will make it responsive at some point so it looks top banana on mobile.
A Pen by Jamie Coulter on CodePen.
| $>homestead halt | |
| $>homestead up --provision |
| // LARAVEL 5.1 | |
| // composer.json | |
| "cartalyst/stripe-billing-laravel": "~3.0" | |
| //--------------------- | |
| // config/app.php | |
| //--------------------- | |
| 'providers' => [ | |
| Cartalyst\Stripe\Billing\Laravel\StripeServiceProvider::class, | |
| ... |
| // Gulfile | |
| var elixir = require('laravel-elixir'); | |
| require('laravel-elixir-vueify'); | |
| elixir(function(mix) { | |
| mix.sass('all.scss'); | |
| mix.browserify('main.js'); | |
| }); | |
| #!/bin/bash | |
| function coloredEcho(){ | |
| local exp=$1; | |
| local color=$2; | |
| if ! [[ $color =~ '^[0-9]$' ]] ; then | |
| case $(echo $color | tr '[:upper:]' '[:lower:]') in | |
| black) color=0 ;; | |
| red) color=1 ;; | |
| green) color=2 ;; | |
| yellow) color=3 ;; |