Skip to content

Instantly share code, notes, and snippets.

Phil Chuang philchuang

Block or report user

Report or block philchuang

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
@philchuang
philchuang / phil-dev-vm.boxstarter.package.ps1
Last active Aug 18, 2019
Personal dev boxstarter scripts
View phil-dev-vm.boxstarter.package.ps1
######## Phil's dev VM boxstarter script ########
###############
#### NOTES ####
###############
## After a restart/reconnect, even though it shows the login screen, boxstarter is still working
### NOTES when kicking off remotely from host to VM, fails on Configuring CredSSP settings
## check http://blogs.technet.com/b/heyscriptingguy/archive/2012/12/30/understanding-powershell-remote-management.aspx
@philchuang
philchuang / DependencyProperty.snippet
Created Aug 6, 2013
Visual Studio snippets for * quickly creating a MVVM property that raises INotifyPropertyChanged.PropertyChanged * quickly creating a MVVM DependencyProperty And related static methods for determining a property name via reflection at runtime
View DependencyProperty.snippet
<?xml version="1.0" encoding="utf-8"?>
<CodeSnippets mlns="http://schemas.microsoft.com/VisualStudio/2005/CodeSnippet">
<CodeSnippet Format="1.0.0">
<Header>
<SnippetTypes>
<SnippetType>Expansion</SnippetType>
</SnippetTypes>
<Title>MVVM Dependency Property</Title>
<Author>Phil Chuang</Author>
<Description>A snippet for generating a Dependency Property</Description>
@philchuang
philchuang / Example.cs
Created Mar 28, 2012
Simple object conversion extension method
View Example.cs
public static class Program
{
public static void Main (params String[] args)
{
// setup
var dict = new Dictionary<int, String> ();
dict[1] = "The Quick Brown";
dict[2] = "Fox Jumped";
dict[3] = "Over The";
dict[4] = "Lazy Dogs";
You can’t perform that action at this time.