This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
wget https://raw.githubusercontent.com/atzimler/Patches/master/NAnt/xamarin.patch |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
cd /tmp | |
wget https://downloads.sourceforge.net/project/nant/nant/0.92/nant-0.92-src.tar.gz |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
sudo /bin/bash | |
port install wget |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
nuget.exe pack ThirdPartyLibrary.nuspec |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
<?xml version="1.0" encoding="utf-8" ?> | |
<package> | |
<metadata> | |
<id>ThirdPartyLibrary</id> | |
<version>2258.1</version> | |
<title>Package Title</title> | |
<authors>Acme Corporation</authors> | |
<owners>Acme Corporation</owners> | |
<requireLicenseAcceptance>false</requireLicenseAcceptance> |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Restart-Service OpenDHCPServer |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
New-FirewallRule -DisplayName 'DHCP' -Profile @('Public', 'Domain', 'Private') -Direction Inbound -Action Allow -Protocol UDP -LocalPort @('67') |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
[LISTEN_ON] | |
192.168.128.1 | |
[00:60:2F:00:00:02] | |
IP=192.168.128.2 |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
protected void Set<T>(ref T propertyStorage, T newValue, IEnumerable<string> additionalPropertiesChanged = null, [CallerMemberName] string propertyName = null) | |
private T _property; | |
public T Property | |
{ | |
get { return _property; } | |
set { Set(ref _property, value); } | |
} |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
vm.PropertyChanged += CallCounter; | |
using (vm.SuspendPropertyChangedEvent(CallCounter)) | |
{ | |
// do something that is raising PropertyChanged in normal, but CallCounter won't be called inside this block. | |
} |