This file contains 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 isSquare = function(cords){ | |
console.log(cords); | |
for(var i=0;i<cords.length-1;i++){ | |
var currentVector = Math.pow(cords[i].x-cords[i+1].x,2) + Math.pow(cords[i].y-cords[i+1].y,2); | |
if(i==0){ | |
previousVector = currentVector; | |
console.log(currentVector, previousVector); | |
} | |
else{ | |
console.log(currentVector, previousVector); |
This file contains 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
{!! Form::textarea('content',null, ['id'=>'content']) !!} | |
<script>CKEDITOR.replace( 'content',{height: 500});</script> |
This file contains 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
$scope.chartBuilder = { | |
charts: [{ | |
name: 'Gauge Chart', | |
type: 'gauge', | |
description: '', | |
title: '', | |
series: [{ | |
resultQueryType: "", | |
resultQueryID: 0, | |
resultQueryFactID: 0, |
This file contains 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
=IFERROR((P2+N2- DATE(1970,1,1))*86400,0) |
This file contains 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 | |
namespace App\Console\Commands; | |
use Illuminate\Support\Str; | |
use Illuminate\Filesystem\Filesystem; | |
use Illuminate\Console\Command; | |
class MakeTransformerCommand extends Command | |
{ |
This file contains 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
(\w+):\s{0,1}\[{0,1}(\w+)\]{0,1} | |
private $2 $1; |