This file contains hidden or 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
FROM debian:latest | |
RUN apt-get update | |
RUN apt-get install -y wget openssh-server mc | |
RUN wget https://packages.microsoft.com/config/debian/11/packages-microsoft-prod.deb -O packages-microsoft-prod.deb | |
RUN dpkg -i packages-microsoft-prod.deb | |
RUN rm packages-microsoft-prod.deb | |
RUN apt-get update |
This file contains hidden or 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
<PropertyGroup Condition="$(TargetFramework.Contains('-ios'))"> | |
<RuntimeIdentifier>ios-arm64</RuntimeIdentifier> | |
</PropertyGroup> |
This file contains hidden or 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
if ((CollectionChanged != null) && (CollectionChanged.GetInvocationList().Length > 1)) | |
throw new InvalidOperationException(SR.GetString(SR.ObservableCollectionReentrancyNotAllowed)); |
This file contains hidden or 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
public void ItemsToBeAddedAreRejectedCorrectlyWhileSomeoneElseIsListening() | |
{ | |
var observableCollection = new ObservableCollection<int>(); | |
observableCollection.CollectionChanged += (o, e) => | |
{ | |
if (e.Action == NotifyCollectionChangedAction.Add) | |
{ | |
observableCollection.Clear(); | |
} | |
}; |
This file contains hidden or 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
public void ItemsToBeAddedAreRejectedCorrectly() | |
{ | |
var observableCollection = new ObservableCollection<int>(); | |
observableCollection.CollectionChanged += (o, e) => | |
{ | |
if (e.Action == NotifyCollectionChangedAction.Add) | |
{ | |
observableCollection.Clear(); | |
} | |
}; |
This file contains hidden or 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
make install prefix=/opt/local |
This file contains hidden or 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
export PATH=/Library/Frameworks/Mono.framework/Versions/Current/bin:$PATH |
This file contains hidden or 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
tar -xvvzf ../precompiled_resx.tar.gz | |
patch -p1 <../precompiled_resx.patch |
This file contains hidden or 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
resgen src/NAnt.Core/Resources/Strings.resx bootstrap/NAnt.Core.Resources.Strings.resources | |
Error: Invalid ResX input. Could not find valid "resheader" tags for the ResX reader & writer type names. | |
make: *** [bootstrap/NAnt.Core.dll] Error 1 |
This file contains hidden or 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
tar -xvvzf nant-0.92-src.tar.gz | |
cd nant-0.92 | |
patch -p1 <../xamarin.patch |
NewerOlder