Skip to content

Instantly share code, notes, and snippets.

James jameshirka

Block or report user

Report or block jameshirka

Hide content and notifications from this user.

Learn more about blocking users

Contact Support about this user’s behavior.

Learn more about reporting abuse

Report abuse
View GitHub Profile
@jameshirka
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)
{
Session.Abandon();
@jameshirka
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.