I hereby claim:
- I am patriksvensson on github.
- I am patrik (https://keybase.io/patrik) on keybase.
- I have a public key whose fingerprint is E593 4284 B512 7D90 91F4 6BCF C5F8 5792 0D28 8299
To claim this, I am signing this object:
| using System; | |
| using System.Collections.Generic; | |
| using System.Linq; | |
| using System.Text; | |
| using System.Dynamic; | |
| using System.Xml; | |
| using System.Xml.Linq; | |
| using System.Collections; | |
| namespace Patrik.Gists |
I hereby claim:
To claim this, I am signing this object:
| @echo off | |
| :Build | |
| cls | |
| echo Restoring NuGet packages for solution... | |
| "tools\nuget\nuget.exe" "restore" "src/OrigoDB.sln" | |
| echo. | |
| if not exist tools\Cake\Cake.exe ( |
| // Ragnar is available on NuGet: http://www.nuget.org/packages/ragnar | |
| // The source code is available on GitHub: https://github.com/libragnar/ragnar | |
| using System; | |
| using System.IO; | |
| using System.Linq; | |
| using System.Threading; | |
| namespace Ragnar.SampleClient | |
| { |
| MSBuild("./src/MySolution.sln", settings => | |
| settings.WithProperty("DeployOnBuild", "true") | |
| .WithProperty("PublishProfile", "profilename")); |
| public void DoMagic() | |
| { | |
| // TODO: magic | |
| } |
| using System; | |
| using System.Collections.Generic; | |
| using Cake.Common.IO; | |
| using Cake.Common.Tools.MSBuild; | |
| using Cake.Core; | |
| using Cake.Core.Diagnostics; | |
| using Cake.Core.IO; | |
| using Cake.Core.IO.NuGet; | |
| namespace MyBuildScript |
| #!/bin/bash | |
| ############################################################### | |
| # This is the Cake bootstrapper script that is responsible for | |
| # downloading Cake and all specified tools from NuGet. | |
| ############################################################### | |
| # Define directories. | |
| SCRIPT_DIR=$( cd "$( dirname "${BASH_SOURCE[0]}" )" && pwd ) | |
| TOOLS_DIR=$SCRIPT_DIR/tools | |
| NUGET_EXE=$TOOLS_DIR/nuget.exe |
| ////////////////////////////////////////////////////////////////////// | |
| // ARGUMENTS | |
| ////////////////////////////////////////////////////////////////////// | |
| var target = Argument("target", "Default"); | |
| var config = Argument("config", "Debug"); | |
| ////////////////////////////////////////////////////////////////////// | |
| // DIRECTORIES | |
| ////////////////////////////////////////////////////////////////////// |
| FROM ubuntu:15.10 | |
| MAINTAINER Patrik Svensson "[email protected]" | |
| # Make sure everything is up to date. | |
| RUN apt-get update | |
| RUN apt-get -y upgrade | |
| # Install SSH server. | |
| RUN apt-get install -y openssh-server | |
| RUN sed -i 's|session required pam_loginuid.so|session optional pam_loginuid.so|g' /etc/pam.d/sshd |