This is still a work in progress, hoping to get this finished tonight
I hereby claim:
- I am djekl on github.
- I am djekl (https://keybase.io/djekl) on keybase.
- I have a public key whose fingerprint is 928E 4816 1767 01CF 726B 9FD1 96DD EEDA 9DCA 2ECF
To claim this, I am signing this object:
Did I hear you wanted AJAX charts instead of hard coded? You got it.
Follow this guide to integrate bar chart reports into your Laravel application with AJAX. Reports like the following come with this guide:
- Total number of Orders by day
- Total number of Users subscribed by day
- etc
The library used for the charts is: http://www.oesmith.co.uk/morris.js/
Follow this guide to integrate bar chart reports into your Laravel application. Reports like the following come with this guide:
- Total number of Orders by day
- Total number of Users subscribed by day
- etc
The library used for the charts is: http://www.oesmith.co.uk/morris.js/
First put this into your page that will have the reports (in the Blade view) to include Morris library:
<?php | |
// start with our test NHS number | |
$nhs_no = '401 023 2137'; | |
function validNhsNumber($nhs_no) | |
{ | |
// save the input number for the exception | |
$input_nhs_no = $nhs_no; |
(function() { | |
"use strict"; | |
// once cached, the css file is stored on the client forever unless | |
// the URL below is changed. Any change will invalidate the cache | |
var css_href = './index_files/web-fonts.css'; | |
// a simple event handler wrapper | |
function on(el, ev, callback) { | |
if (el.addEventListener) { |
<?php | |
namespace Acme\Html; | |
use Illuminate\Html\FormBuilder as IlluminateFormBuilder; | |
class FormBuilder extends IlluminateFormBuilder { | |
/** | |
* An array containing the currently opened form groups. |
Verifying that +djekl is my Bitcoin username. You can send me #bitcoin here: https://onename.io/djekl |
Ubuntu 14.04+ 32bit (ubuntu-mate.org)
Simple steps for installing required tools after fresh Ubuntu install.
Or use installer and uninstaller scripts, they won't break anythng!!
- Licensed Sublime Text 3 (build 3065)
- Nginx 1.6.2 (stable version)
- PHP 5.6.3 (stable version)
- NVM v0.20.0 (for Node.js and NPM)
# Tail Laravel and Webserver (NGINX & Apache 2) log files | |
# Compatible with Laravel 4 & 5 | |
# | |
alias tl="ls -d /var/log/nginx/* /var/log/apache2/* storage/logs/* app/storage/logs/* storage/laravel.log | grep -v 'gz$' | grep -v '1$' | xargs tail -f" |