Skip to content

Instantly share code, notes, and snippets.

View TimMurphy's full-sized avatar

Tim Murphy TimMurphy

View GitHub Profile
choco install autohotkey.portable --ignoreChecksums
choco install conemu --ignoreChecksums
choco install curl --ignoreChecksums
choco install DotNet4.5 --ignoreChecksums
choco install DotNet4.5.1 --ignoreChecksums
choco install dropbox --ignoreChecksums
choco install git --ignoreChecksums
choco install git.install --ignoreChecksums
choco install gitpad --ignoreChecksums
choco install git-credential-manager-for-windows --ignoreChecksums
@TimMurphy
TimMurphy / croquet-scores-import-results.md
Last active June 29, 2016 23:43
Croquet Scores - Import Results

Croquet Scores - Import Results

Revision Notes

Wednesday, 29 June 2016 23:38 UTC

  • Added support for names as "T Murphy"

Tuesday, 28 June 2016 16:13 UTC

@TimMurphy
TimMurphy / Azure Table Storage.cs
Last active May 6, 2016 19:40
Azure Table Storage
// WIP
public interface IAzureStorageTable<TEntity> where TEntity : ITableEntity
{
Task AddAsync(TEntity entity)
Task CreateIfNotExists()
Task DeleteAsync(TEntity entity)
Task UpdateAsync(TEntity entity)
Task<IEnumerable<TEntity>> GetAsync(string partitionKey)
Task<TEntity> GetAsync(string partitionKey, string rowKey)
Task<IEnumerable<TEntity>> FindAsync()
@TimMurphy
TimMurphy / Developer can request current branch to be published.feature
Last active February 28, 2016 08:20
Versioning with Git & Continuous integration
Feature: Developer can request current branch to be published
As a developet
I want tell to the CI to publish the current branch
# git describe --tags --long
# http://stackoverflow.com/a/1064505/22941
Scenario Outline: Publish master branch with valid arguments
Given the current branch is master
When npm publish <bumpLevel> is called
Write-Host
Write-Host
Write-Host "---------------------------------------------------------------"
Write-Host "Path: " $env:Path
Write-Host "---------------------------------------------------------------"
Write-Host
Write-Host
Write-Host "---------------------------------------------------------------"
Write-Host "where choco"
cmd /c where choco
Public static class DependencyResolver
{
Private static IServiceProvider _customServiceProvider;
Private static IServiceProvider _defaultServiceProvider;
Public static void SetResolver(IServiceProvider)
Internal static GetService(Type)
(
Var service = _currentServiceProvider.GetService(type);
@TimMurphy
TimMurphy / create-angular-project.md
Last active December 10, 2015 18:38
Create angular project
@TimMurphy
TimMurphy / screencasts-boxstarter.ps1
Last active November 22, 2015 19:00
Boxstarter script for the Windows 10 Virtual Machine I use for screencasts
# Usage:
#
# - Open Internet Explorer or Edge
# - Go to http://boxstarter.org/package/url?https://gist.githubusercontent.com/TimMurphy/5a9ef3035e95cb6f8cb2/raw/screencasts-boxstarter.ps1
#
# See http://boxstarter.org/WebLauncher for more details.
# Windows configuration
Set-ExplorerOptions -showFileExtensions
Enable-MicrosoftUpdate
Write-Host "Hello. My name is '$($env:ComputerName)'."