Skip to content

Instantly share code, notes, and snippets.

View grgaortiz's full-sized avatar

George Ortiz grgaortiz

View GitHub Profile
AuthClass.prototype.confirmSignIn = function (user, code, mfaType) {
var _this = this;
if (!code) {
return Promise.reject('Code cannot be empty');
}
var that = this;
return new Promise(function (resolve, reject) {
user.sendMFACode(code, {
onSuccess: function (session) { return __awaiter(_this, void 0, void 0, function () {
var cred, e_3;
{
font-family: "Chronicle Deck",Georgia,Times,"Times New Roman",serif;
font-size: 30px;
line-height: 36px;
color: #ff8500;
background: linear-gradient(left,#ce222b,#ff8500);
background: -webkit-linear-gradient(left,#ce222b,#ff8500);
-webkit-background-clip: text;
background-clip: text;
text-fill-color: transparent;
SELECT TOP 1
PhysicianName,
wrvuactualytd AS WRVU_Actual,
wrvuthresholdYTD AS WRVU_Threshold,
[Rate per Work RVU] AS RatePerRVU,
EarnedCompYTD AS EarnedComp,
clinicalbasedrawYTD AS BaseDraw,
QualityCompWithholdYTD AS QualityBonusWithold,
ExcessEarnedCompYTD AS ExcessEarnedComp,
TrueupQ1,
SELECT
l.LocationAddress1 AS location_address,
l.LocationAddress2 AS location_address_two,
l.LocationZip AS location_zip,
l.LocationPrimaryPhone AS location_phone,
l.LocationSecondaryPhone AS location_secondary_phone,
c.City AS location_city,
s.StateCode AS location_state,
co.County AS location_county,
pr.PracticeName AS practice_name,
Error message: Client found response content type of 'text/html; charset=UTF-8', but expected 'text/xml'.
The request failed with the error message:
--
<!DOCTYPE html>
<!--[if IE 9 ]><html class="ie9"><![endif]-->
<head>
<meta charset="utf-8">
<meta http-equiv="X-UA-Compatible" content="IE=edge">
<meta name="viewport" content="width=device-width, initial-scale=1.0, user-scalable=0" />
<title>DataRiver</title>
<?php
/**
* DataRiver - Discovery Redirect
* (c) Equation 2016
* Created by: nfiscus
* Date: 5/6/2016
* Description:
* Redirect for Discovery
*/
<script type="text/javascript"
src="https://discovery1.eqc.local:8843/spotfire/wp/GetJavaScriptApi.ashx?Version=1.0"></script>
<!-- Scripts -->
<script type="text/javascript">
mixpanel.track('Discovery: View');
window.onload = function () {
var customization = new spotfire.webPlayer.Customization();
customization.showTopHeader = true;
customization.showToolBar = true;
@grgaortiz
grgaortiz / web.config
Created February 22, 2016 23:34
7.0 web config
<?xml version="1.0" encoding="utf-8"?>
<configuration>
<!-- Do not edit these settings! -->
<configSections>
<sectionGroup name="applicationSettings" type="System.Configuration.ApplicationSettingsGroup, System, Version=2.0.0.0, Culture=neutral, PublicKeyToken=b77a5c561934e089">
<section name="Spotfire.Dxp.Internal.Properties.Settings" type="System.Configuration.ClientSettingsSection, System, Version=2.0.0.0, Culture=neutral, PublicKeyToken=b77a5c561934e089" requirePermission="false" />
<section name="Spotfire.Dxp.Framework.Properties.Settings" type="System.Configuration.ClientSettingsSection, System, Version=2.0.0.0, Culture=neutral, PublicKeyToken=b77a5c561934e089" requirePermission="false" />
<section name="Spotfire.Dxp.Data.Properties.Settings" type="System.Configuration.ClientSettingsSection, System, Version=2.0.0.0, Culture=neutral, PublicKeyToken=b77a5c561934e089" requirePermission="false" />
<section name="Spotfire.Dxp.Data.Access.Properties.Settings" type="System.Config
<!DOCTYPE html PUBLIC "-//W3C//DTD XHTML 1.0 Transitional//EN"
"http://www.w3.org/TR/xhtml1/DTD/xhtml1-transitional.dtd">
<html xmlns="http://www.w3.org/1999/xhtml">
<head>
<title>API Scenario</title>
<script type="text/javascript"
src="http://discoveryserver.eqc.local:8080/SpotfireWeb/GetJavaScriptApi.ashx?Version=4.0"></script>
<script type="text/javascript">
@grgaortiz
grgaortiz / PhysCompDisplay.php
Last active February 15, 2016 17:47
Display method for pays comp table
public function displayCompensation($instanceDBInt, $clientID, $query, $specialtyGroups, $providers, $currentPeriod) {
// Open conn
$conn = $this->conn($clientID);
$periods = array(
'201601'
, '201602'
, '201603'
, '201604'