Skip to content

Instantly share code, notes, and snippets.

wget https://raw.githubusercontent.com/atzimler/Patches/master/NAnt/xamarin.patch
cd /tmp
wget https://downloads.sourceforge.net/project/nant/nant/0.92/nant-0.92-src.tar.gz
sudo /bin/bash
port install wget
nuget.exe pack ThirdPartyLibrary.nuspec
<?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>
Restart-Service OpenDHCPServer
New-FirewallRule -DisplayName 'DHCP' -Profile @('Public', 'Domain', 'Private') -Direction Inbound -Action Allow -Protocol UDP -LocalPort @('67')
[LISTEN_ON]
192.168.128.1
[00:60:2F:00:00:02]
IP=192.168.128.2
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); }
}
vm.PropertyChanged += CallCounter;
using (vm.SuspendPropertyChangedEvent(CallCounter))
{
// do something that is raising PropertyChanged in normal, but CallCounter won't be called inside this block.
}