Skip to content

Instantly share code, notes, and snippets.

View MattHarrington's full-sized avatar

Matt Harrington MattHarrington

  • San Francisco, CA
View GitHub Profile
@MattHarrington
MattHarrington / sgestat.sh
Created February 6, 2018 19:28
Display SGE statistics
#!/bin/sh
#
# Probably written by someone in the Shoichet lab. Maybe Teague?
# Save and then run with "sh sgestat.sh" or "chmod +x sgestat.sh" and
# then "./sgestat.sh". -MH 06-Feb-2018
#
# This file is not located here on hook (sgehead) at UofT.
#
#if [ ! -e "/opt/sge" ]; then
# echo ssh to sgehead;
public class TodoItem
{
public int Id { get; set; }
[DataMember(Name = "text")]
public string Text { get; set; }
[DataMember(Name = "complete")]
public bool Complete { get; set; }
@MattHarrington
MattHarrington / Win8AppLaunch
Created January 11, 2013 07:03
This is a Windows 8 console application which will launch a Windows Store app by its AppUserModelId.
#include "stdafx.h"
#include <shlobj.h>
#include <stdio.h>
#include <shobjidl.h>
#include <objbase.h>
#include <atlbase.h>
#include <string>
/*++