Skip to content

Instantly share code, notes, and snippets.

View Pvlerick's full-sized avatar

Philippe Vlérick Pvlerick

View GitHub Profile
@Pvlerick
Pvlerick / DockerClientExtensions.cs
Created December 24, 2018 08:17
DockerClientExtensions
using System;
using System.Text.RegularExpressions;
using System.Threading.Tasks;
using Docker.DotNet;
using Docker.DotNet.Models;
public static class DockerClientExtensions
{
public static async Task WaitForLogMessage(this DockerClient client, string containerId, string pattern, TimeSpan readDelay)
{
@Pvlerick
Pvlerick / Dockerfile
Last active November 23, 2017 15:47
Node App DevDay2017
FROM node:9.2.0-alpine
WORKDIR /usr/src/app
COPY package*.json ./
RUN npm install
COPY . .
@Pvlerick
Pvlerick / quotes.json
Created February 9, 2017 06:59
Duke Nukem 3D Quotes
{
"quotes": [
"Yeah, piece of cake!",
"I should have known those alien maggots booby-trapped this sub.",
"It's time to abort your whole freaking species!",
"My name's Duke Nukem.",
"It's time to kick ass and chew bubble gum, and I'm all outta gum!",
"I'm Duke Nukem, and I'm coming to get the rest of you alien bastards!",
"Nobody steals our chicks... and lives!",
"We meet again, Doctor Jones.",
@Pvlerick
Pvlerick / xUnit.snippet
Created October 14, 2015 07:11
Visual Studio Snippets
<?xml version="1.0" encoding="utf-8"?>
<CodeSnippets xmlns="http://schemas.microsoft.com/VisualStudio/2005/CodeSnippet">
<CodeSnippet Format="1.0.0">
<Header>
<Title>xUnit Fact</Title>
<Author>Philippe Vlérick</Author>
<Description>xUnit Unit Test - Fact.</Description>
<Shortcut>fact</Shortcut>
</Header>
<Snippet>
@Pvlerick
Pvlerick / Nuget update.txt
Last active September 16, 2015 06:43
Roslyn build
C:\Users\Phil\Documents\GitHub\Roslyn [issue-5094]> .\nuget.exe restore .\Roslyn.sln
Restoring packages for C:\Users\Phil\Documents\GitHub\Roslyn\src\Compilers\Core\CodeAnalysisTest\CodeAnalysisTest.csproj...
Restoring packages for .NETFramework,Version=v4.5...
All packages are compatible with .NETFramework,Version=v4.5.
Restoring packages for C:\Users\Phil\Documents\GitHub\Roslyn\src\Compilers\Core\Portable\CodeAnalysis.csproj...
Restoring packages for .NETPortable,Version=v4.5,Profile=Profile7...
All packages are compatible with .NETPortable,Version=v4.5,Profile=Profile7.
Restoring packages for C:\Users\Phil\Documents\GitHub\Roslyn\src\Compilers\Core\VBCSCompiler\VBCSCompiler.csproj...
Restoring packages for .NETFramework,Version=v4.5...
Restoring packages for .NETFramework,Version=v4.5 (win-anycpu)...