Skip to content

Instantly share code, notes, and snippets.

View chriskooken's full-sized avatar

Chris Kooken chriskooken

View GitHub Profile
ALTER VIEW [dbo].[vPatient] AS
SELECT [uid_Patient],
[uid_ProviderOrganization],
-- [uid_ProviderLocation],
[uid_LastEncounter],
[vc_MRN],
[vc_FName],
[vc_LName],
[c_Gender],
[dt_Birthdate],
Transform("NOTHING", () =>
{
return null as string;
});
Transform(@"(TODAY|TOMORROW|YESTERDAY) at ([0-9]{2})([0-9]{2})\Z", (string day, string time1, string time2) =>
{
var datePart = string.Empty;
switch (day)
{
bool mystery(unsigned int num){
unsigned int other = num - 1;
bool result = ((num & other) == 0);
return result;
}
using System;
using System.Collections.Generic;
using System.Drawing;
using System.Linq;
using System.Text;
using System.Threading;
using MonoTouch.CoreGraphics;
using MonoTouch.Foundation;
using MonoTouch.ObjCRuntime;
using MonoTouch.UIKit;
select c.name, c.is_nullable, o.name as TableName, t.name as TypeName from sys.columns c inner join Sys.objects o on c.object_id = o.object_id inner join
Sys.types t on t.system_type_id = c.system_type_id where o.name = 'v_SpreadsheetExport' ORDER BY column_id
TargetId 0 v_SpreadsheetExport uniqueidentifier
StudentCaseId 0 v_SpreadsheetExport uniqueidentifier
SkillArea 1 v_SpreadsheetExport varchar
Program 1 v_SpreadsheetExport varchar
Name 0 v_SpreadsheetExport varchar
Type 1 v_SpreadsheetExport varchar
DurationInSec 1 v_SpreadsheetExport varchar
#!/bin/sh
# ------------------------------------------------------------------------------------------------
# Please do not modify this script, your changes will be lost after each TeamCity server upgrade !
# ------------------------------------------------------------------------------------------------
# ---------------------------------------------------------------------
# TeamCity build agent start/stop script
# ---------------------------------------------------------------------
# Environment variables:
#
const path = require('path');
const webpack = require('webpack');
const merge = require('webpack-merge');
const AotPlugin = require('@ngtools/webpack').AotPlugin;
const CheckerPlugin = require('awesome-typescript-loader').CheckerPlugin;
module.exports = (env) => {
// Configuration in common to both client-side and server-side bundles
const isDevBuild = !(env && env.prod);
const sharedConfig = {
{
"name": "DataFinch.Pinnacle.Web",
"private": true,
"version": "0.0.0",
"scripts": {
"test": "karma start ClientApp/test/karma.conf.js"
},
"dependencies": {
"@angular/animations": "4.2.5",
"@angular/common": "4.2.5",
const path = require('path');
const webpack = require('webpack');
const merge = require('webpack-merge');
const AotPlugin = require('@ngtools/webpack').AotPlugin;
const CheckerPlugin = require('awesome-typescript-loader').CheckerPlugin;
module.exports = (env) => {
// Configuration in common to both client-side and server-side bundles
const isDevBuild = !(env && env.prod);
const sharedConfig = {
{
"name": "DataFinch.Pinnacle.Web",
"private": true,
"version": "0.0.0",
"scripts": {
"test": "karma start ClientApp/test/karma.conf.js"
},
"dependencies": {
"@angular/animations": "4.2.5",
"@angular/common": "4.2.5",