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
| liquibase | |
| --driver=com.microsoft.sqlserver.jdbc.SQLServerDriver | |
| --classpath="C:\\Program Files\\Microsoft JDBC Driver 6.0 for SQL Server\\sqljdbc_6.0\\enu\\jre8" | |
| --url="jdbc:sqlserver://localhost:1433;databaseName=AdventureWorksProd;integratedSecurity=false;" | |
| --username=liquibase | |
| --password=liquibase@123 | |
| --logLevel=debug | |
| diff | |
| --referenceUrl="jdbc:sqlserver://localhost:1433;databaseName=AdventureWorks2017;integratedSecurity=false;" | |
| --referenceUsername=liquibase |
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
| using System.Reflection; | |
| using Microsoft.EntityFrameworkCore; | |
| using Microsoft.EntityFrameworkCore.Query; | |
| using Microsoft.EntityFrameworkCore.Query.Internal; | |
| using Microsoft.EntityFrameworkCore.Storage; | |
| public static class IQueryableExtensions | |
| { | |
| private static readonly TypeInfo QueryCompilerTypeInfo = typeof(QueryCompiler).GetTypeInfo(); |
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
| using System; | |
| using System.Threading.Tasks; | |
| using NUnit.Framework; | |
| namespace PuppeteerSharp.Contrib.Sample | |
| { | |
| public class Examples | |
| { | |
| async Task<IBrowser> Browser() | |
| { |
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
| Jenkins.instance.queue.items.findAll { !it.task.name.contains("Extenda") }.each { | |
| println "Cancel ${it.task.name}" | |
| Jenkins.instance.queue.cancel(it.task) | |
| } | |
| Jenkins.instance.items.each { | |
| stopJobs(it) | |
| } | |
| def stopJobs(job) { | |
| if (job in jenkins.branch.OrganizationFolder) { | |
| // Git behaves well so no need to traverse it. |
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
| // File: RollThroughLibrary/CreateMaps/JunctionPoint.cs | |
| // User: Adrian Hum/ | |
| // | |
| // Created: 2017-11-19 2:46 PM | |
| // Modified: 2017-11-19 6:10 PM | |
| using System; | |
| using System.Diagnostics.CodeAnalysis; | |
| using System.IO; | |
| using System.Runtime.InteropServices; |
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 busybox | |
| ARG FOO | |
| RUN env && echo $FOO |
Here I have 2 methods for running portainer on windows, a quick, preferred method only requiring a fairly recent version of docker, or a more complicated method to try if that does not work.
This setup will let you run Portainer on windows by using the host.docker.internal endpoint (docker.for.win.localhost is depricated since docker version 3.2.1, but older versions may use this instead).
Please note:
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
| using System; | |
| using System.Collections.Generic; | |
| using System.Linq; | |
| using System.Security.Principal; | |
| using System.Text; | |
| using System.Web; | |
| using System.Web.Mvc; | |
