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
import pytest | |
from hypothesis import given | |
from hypothesis.strategies import booleans | |
from gp.models import MbsCompany | |
@pytest.fixture(scope="session") | |
def django_db_use_migrations(request) -> bool: | |
return False |
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
.NET Core SDK (reflecting any global.json): | |
Version: 3.1.101 | |
Commit: b377529961 | |
Runtime Environment: | |
OS Name: Windows | |
OS Version: 10.0.18362 | |
OS Platform: Windows | |
RID: win10-x64 | |
Base Path: C:\Program Files\dotnet\sdk\3.1.101\ |
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 Brejc.Geometry; | |
namespace Brejc.DemLibrary.Shading | |
{ | |
public class ShadingParameters | |
{ | |
public int ShadingColor | |
{ | |
get { return shadingColor; } |
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.Drawing; | |
namespace Brejc.DemLibrary.Shading | |
{ | |
public class IgorShadingMethod : IShadingMethod | |
{ | |
public int MinAlpha | |
{ | |
get { return minAlpha; } |
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 class | |
TilesAcceptanceTests2 : IClassFixture<WebApplicationFactory<Startup>> | |
{ | |
public TilesAcceptanceTests2(WebApplicationFactory<Startup> factory) | |
{ | |
this.factory = factory.WithWebHostBuilder( | |
builder => | |
{ | |
builder.UseContentRoot( | |
@"E:\hg\serpentinite\serpentinite"); |
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
# Places a simple rectangular grid based on the current map view (or geometry bounds). | |
# Author: Igor Brejc | |
# License: public domain | |
from maperipy import * | |
# A helper Python method for ranging with float values | |
def xfrange(start, stop, step): | |
while start < stop: |
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
xmlWriter.WriteAttributeString("xmlns", "xsi", null, "http://www.w3.org/1999/XMLSchema-instance"); |
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
string inspectIncomingPackageCBName = "InspectIncomingPackageCircuitBreaker"; | |
container.Register(Component.For<ICircuitBreaker>().ImplementedBy<SimpleCircuitBreaker>() | |
.Named(inspectIncomingPackageCBName).LifeStyle.Transient); | |
container.Register( | |
Component.For<InspectIncomingPackageTask>() | |
.ServiceOverrides(ServiceOverride.ForKey("circuitBreaker").Eq(inspectIncomingPackageCBName)) | |
.LifeStyle.Transient); |
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
<component id="InspectIncomingPackageCircuitBreaker"> | |
<parameters> | |
<OpenPeriod>0:10:0</OpenPeriod> | |
</parameters> | |
</component> |
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 class EngineConfiguration : IEngineConfiguration | |
{ | |
public string DatabaseServer { get; set; } | |
public string DatabaseUsername { get; set; } | |
public string DatabasePassword { get; set; } | |
public IList<string> PluginAssemblies | |
{ | |
get { return pluginAssemblies; } | |
} |
NewerOlder