Skip to content

Instantly share code, notes, and snippets.

View jongravois's full-sized avatar

Jonathan Gravois jongravois

View GitHub Profile
@jongravois
jongravois / calcGrade.js
Created January 8, 2015 17:36
calcGrade Function
function calcGrade(fins, grads){
//console.log(fins);
//console.log(grads);
var grade = 'F';
_(grads).find(function(grad) {
//debt to asset
if (grad.debt2asset >= fins.debt2asset_ratio_adj) {
return false;
}
//current ratio
agrant@homestead:~/Projects/lenda$ git pull
Already up-to-date.
vagrant@homestead:~/Projects/lenda$ git remote -v
origin https://github.com/jongravois/LENDA.git (fetch)
origin https://github.com/jongravois/LENDA.git (push)
vagrant@homestead:~/Projects/lenda$ git branch -v
* master e8e5327 Added .run() config to fix page scrolling issue
vagrant@homestead:~/Projects/lenda$ git fetch --all
Fetching origin
vagrant@homestead:~/Projects/lenda$ git reset --hard origin/master
HEAD is now at e8e5327 Added .run() config to fix page scrolling issue
vagrant@homestead:~/Projects/lenda$ git log app/routes.php
commit 3e2c9c9d8ee8ec472e32c550f2df91e54abff7ab
Author: Jon Gravois <[email protected]>
Date: Thu Jan 15 08:08:20 2015 -0600
Several features added
commit ddd517c59c86c3560d18d11c1523e991d102226b
Author: Jon Gravois <[email protected]>
Date: Wed Jan 14 22:54:01 2015 -0600
@jongravois
jongravois / app.js
Last active August 29, 2015 14:15 — forked from sonicparke/app.js
(function() {
//'use strict';
angular.module('app', [
/* Shared modules */
'app.core',
/* Feature areas */
'app.layout'
var module = angular.module("example", ["angularGrid"]);
module.controller("exampleCtrl", function($scope, $filter) {
$scope.pending_view = true;
$scope.orderOptions = ['applicant', '-categoryOrder'];
$scope.orderOption = "['applicant']";
$scope.nextOrder = function(stat) {
console.log(stat);
if(stat === 0){
<!doctype html>
<html ng-app="example">
<head>
<meta charset="utf-8">
<script>document.write('<base href="' + document.location + '" />');</script>
<script src="bower_components/angular/angular.js"></script>
<script src="bower_components/ag-grid/dist/angular-grid.js"></script>
<link rel="stylesheet" type="text/css" href="css/bootstrap.css" />
<link rel="stylesheet" type="text/css" href="bower_components/ag-grid/dist/angular-grid.css">
<link rel="stylesheet" type="text/css" href="bower_components/ag-grid/dist/theme-fresh.css">
<span tooltip="Vote Needed"
tooltip-append-to-body="true"
tooltip-placement="bottom"
class="pendicon glyphicon glyphicon-exclamation-sign"
ng-class="{'cBlue': data.need_vote, 'cGray': !data.need_vote}"></span>
<span tooltip="Comments"
tooltip-append-to-body="true"
tooltip-placement="bottom"
class="pendicon glyphicon glyphicon-exclamation-sign"
return '<div style="text-align:center !important;"><span class="pendicon glyphicon glyphicon-exclamation-sign" ng-class="{\'penOn\': params.context.pending_view, \'penOff\': !params.context.pending_view}" ng-click="alertIT()"></span></div>';