Skip to content

Instantly share code, notes, and snippets.

View mrcaron's full-sized avatar
👾
Typing typing typing

Michael Caron mrcaron

👾
Typing typing typing
View GitHub Profile
@mrcaron
mrcaron / PowershellSnippets.ps1
Created July 30, 2013 19:24
Powershell snippets
# First N in file listing
function doSomething {}
ls $directory | select -first 10 | %{ &doSomething }
# Shutdown a list of machines with a name scheme of "machine-prefix-", numbered from 1-12
(0..12) | %{ shutdown -r -t 0 -f -m $("machine-prefix" + "{0:D2}" -f $_) }
@mrcaron
mrcaron / Radman_Dev_Box.ps1
Last active October 19, 2020 21:11
Radman Dev Box
# use http://bit.ly/radboxstarter4 as the link to this raw file
# Before using this script, make sure to turn on developer mode and insider builds and restart.
Set-WindowsExplorerOptions -showHiddenFilesFoldersDrives -showProtectedOSFiles -showFileExtensions
Install-WindowsUpdate
#Enable-RemoteDesktop
cinst -y chocolatey
cinst -y googlechrome
@mrcaron
mrcaron / TfsTeamChatNotification.js
Created November 1, 2016 16:54
TFS 2015 Team Chat Notification Tampermonkey
// ==UserScript==
// @name TFS Team Room notifications in Chrome
// @namespace http://solidworks.com
// @version 0.51
// @description Getting tired of switching back and forth between a browser and Visual Studio...just to see if you have any chat notifications? Use this script, and get your notifications directly on your desktop!
// @match http://sw-dev-tfs:8080/tfs/_rooms*
// @copyright 2016+, Michael Caron
// ==/UserScript==
// uncomment to debug
@mrcaron
mrcaron / TAP_Task_Problem_Matcher.json
Created January 13, 2017 22:29
VSCode TAP task problem matcher
"problemMatcher" : {
"owner": "TAP",
"fileLocation" : "relative",
"pattern" : [
{
"regexp": "^#\\s+(Failed test '.*')",
"message": 1
},
{
"regexp": "^#\\s+at (.*) line (\\d+)",

Keybase proof

I hereby claim:

  • I am mrcaron on github.
  • I am radman (https://keybase.io/radman) on keybase.
  • I have a public key ASCTiYxWf2BHH6SnoN6dKsGNXXvOigfsFPNemPP-vvyCkwo

To claim this, I am signing this object: