A radar chart visualizes multivariate data in a 2D chart of three or more quantitative variables represented on axes.
The project is created using AngularJS and D3.js.
| <?php | |
| /* | |
| HHVMinfo - phpinfo page for HHVM HipHop Virtual Machine | |
| Author: _ck_ | |
| License: WTFPL, free for any kind of use or modification, I am not responsible for anything, please share your improvements | |
| Version: 0.0.6 | |
| * revision history | |
| 0.0.6 2014-08-02 display fix for empty vs zero | |
| 0.0.5 2014-07-31 try to determine config file from process command line (may not always work), style improvements |
| # | |
| # Acts as a nginx HTTPS proxy server | |
| # enabling CORS only to domains matched by regex | |
| # /https?://.*\.mckinsey\.com(:[0-9]+)?)/ | |
| # | |
| # Based on: | |
| # * http://blog.themillhousegroup.com/2013/05/nginx-as-cors-enabled-https-proxy.html | |
| # * http://enable-cors.org/server_nginx.html | |
| # | |
| server { |
| <?php namespace App\Http\Middleware; | |
| use Closure; | |
| use Illuminate\Contracts\Routing\Middleware; | |
| use Illuminate\Http\Response; | |
| class CORS implements Middleware { | |
| /** | |
| * Handle an incoming request. |
| .timeline { | |
| list-style: none; | |
| padding: 20px 0 20px; | |
| position: relative; | |
| } | |
| .timeline:before { | |
| top: 0; | |
| bottom: 0; | |
| position: absolute; |
A radar chart visualizes multivariate data in a 2D chart of three or more quantitative variables represented on axes.
The project is created using AngularJS and D3.js.
Our Virtual Machines are provisioned using Vagrant from a Linux base box to run using VirutalBox. If the Hard Disk space runs out and you cannot remove files to free-up space, you can resize the Hard Disk using some VirtualBox and Linux commands.
The following steps assume you've got a set-up like mine, where:
| [data-slides] { | |
| background-image: url(../../uploads/banner1.jpg); /* Default image. */ | |
| background-repeat: no-repeat; | |
| background-position: center top; | |
| background-size: cover; | |
| transition: background-image 1s linear; | |
| } | |
| /* Use additional CSS to control the `height` of `[data-slides]`, like so: */ |
| <style type="text/css"> | |
| .breadcrumb li { | |
| display: inline; | |
| } | |
| .breadcrumb li+li:before { | |
| content:"» "; | |
| } | |
| </style> | |
| <ol class="breadcrumb"> |
| function calculate_median($arr) { | |
| $count = count($arr); //total numbers in array | |
| $middleval = floor(($count-1)/2); // find the middle value, or the lowest middle value | |
| if($count % 2) { // odd number, middle is the median | |
| $median = $arr[$middleval]; | |
| } else { // even number, calculate avg of 2 medians | |
| $low = $arr[$middleval]; | |
| $high = $arr[$middleval+1]; | |
| $median = (($low+$high)/2); | |
| } |
Custom recipe to get OS X 10.9 Mavericks running from scratch, setup applications and developer environment. I use this gist to keep track of the important software and steps required to have a functioning system after a semi-annual fresh install.
The software selected is software that is "tried and true" --- software I need after any fresh install. I often install other software not listed here, but is handled in a case-by-case basis.