Skip to content

Instantly share code, notes, and snippets.


James Hirka jameshirka

View GitHub Profile
jameshirka / sessionabandon.aspx
Created Mar 31, 2017
A quick way to drop your session in sitecore to write to xDB
View sessionabandon.aspx
<%@ Page Language="C#" AutoEventWireup="true" %>
<script runat="server">
// TODO: to enable the page, set enableUnlockButton = true;
private bool enableUnlockButton = true;
protected void Page_Load(object sender, EventArgs e)
jameshirka / gupfile-CI.js
Created Sep 30, 2016
A gulp file I used to do CI with a habitat based website.
View gupfile-CI.js
var gulp = require("gulp");
var gutil = require("gulp-util");
var foreach = require("gulp-foreach");
var rimrafDir = require("rimraf");
var rimraf = require("gulp-rimraf");
var runSequence = require("run-sequence");
var fs = require("fs");
var path = require("path");
var xmlpoke = require("xmlpoke");
var config = require("./gulpfile.js").config;
You can’t perform that action at this time.