Skip to content

Instantly share code, notes, and snippets.

Avatar

Chris Kooken chriskooken

View GitHub Profile
View enum.cs
[Description("")] IndividualAccountCreated = 1,
[Description("")] IndividualRecommendation = 2,
[Description("")] IndividualUserInvited = 3,
[Description("")] IndividualBulkInvite = 4,
[Description("")] IndividualSocialAccountLink = 5,
[Description("")] IndividualSocialJobShare = 5,
[Description("")] IndividualScenarioCreated = 6,
[Description("")] IndividualUserFavorited = 7,
[Description("")] IndividualAppliedFromRecommendation = 8,
View package.json
{
"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",
View webpack.js
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 = {
View packages.json
{
"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",
View webpack.js
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 = {
View agent.sh
#!/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:
#
View query
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
View TvOutManager.cs
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;
View gist:399066
bool mystery(unsigned int num){
unsigned int other = num - 1;
bool result = ((num & other) == 0);
return result;
}
View gist:397386
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)
{