Skip to content

Instantly share code, notes, and snippets.

View keybase.md

Keybase proof

I hereby claim:

  • I am philchuang on github.
  • I am philchuang (https://keybase.io/philchuang) on keybase.
  • I have a public key ASAulAIfwV2Mc-SSkiiMP_-E3w7_vREh0nwVrmN2_FFG9wo

To claim this, I am signing this object:

@philchuang
philchuang / phil-dev-vm.boxstarter.package.ps1
Last active Jun 19, 2021
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";