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" ?> | |
<Project xmlns="http://schemas.microsoft.com/developer/msbuild/2003"> | |
<Target Name="AfterResolveReferences"> | |
<CallTarget Targets="Obfuscate"/> | |
</Target> | |
<Target Name="AfterClean"> | |
<CallTarget Targets="CleanObfuscate"/> | |
</Target> |
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
using System; | |
using Xamarin.Forms; | |
namespace Luax.Xaml.AttachedBehaviours.Blog | |
{ | |
public class ClickBehavior | |
{ | |
#region ClickedProperty | |
public static readonly BindableProperty ClickedProperty = BindableProperty.CreateAttached<ClickBehaviour, Command>( | |
bindable => ClickBehavior.GetClicked(bindable), |
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
using System; | |
using System.Collections.Generic; | |
using System.Globalization; | |
using System.Linq; | |
using System.Text; | |
using System.Threading.Tasks; | |
using Xamarin.Forms; | |
namespace Luax.Xaml.AttachedBehaviours.Blog | |
{ |
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
FROM phusion/baseimage | |
RUN apt-get update | |
RUN apt-get install -y mono-devel mono-gmcs | |
RUN apt-get install -y libtool autoconf g++ gettext make git | |
RUN git clone https://github.com/mono/mono | |
RUN cd mono && \ | |
./autogen.sh --prefix /opt/mono && \ | |
make -j 4 && \ | |
make install |
Loading
Sorry, something went wrong. Reload?
Sorry, we cannot display this file.
Sorry, this file is invalid so it cannot be displayed.
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
#r "../packages/FSharp.Data/lib/net40/FSharp.Data.dll" | |
open FSharp.Data | |
type Flights = JsonProvider<"QXPRequest.json", RootName="QXP"> | |
type FlightsResponse = JsonProvider<"QXPResponse.json"> | |
let slice1 = Flights.Slouse(origin = "BER", destination = "NYC", date = "2015-11-26") | |
let slice2 = Flights.Slouse(origin = "NYC", destination = "CDG", date = "2015-11-28") | |
let slice3 = Flights.Slouse(origin = "CDG", destination = "BER", date = "2015-11-30") |
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
if [ ! -f swagger2markup-cli.jar ]; then | |
curl -H "Accept: application/zip" http://central.maven.org/maven2/io/github/robwin/swagger2markup-cli/0.9.2/swagger2markup-cli-0.9.2.jar > swagger2markup-cli.jar | |
fi | |
mkdir -p doc | |
java -jar swagger2markup-cli.jar generate -i wwwroot/REST-Spec.yml -o doc -l ASCIIDOC | |
cat doc/overview.adoc doc/definitions.adoc doc/paths.adoc > doc/all.adoc | |
asciidoctor-pdf doc/all.adoc -o Besichtigung20-API.pdf | |
#need to install asciidoctor-pdf first. | |
#On Mac it's easy: |