Skip to content

Instantly share code, notes, and snippets.

// HUDL DOMAIN
definition hudl/user {}
definition hudl/team {
relation member: hudl/user
permission read = member
}
// GSL DOMAIN
definition gsl/package {
pub fn add_types(module: Module) -> String {
for module_item in &module.body {
let declaration = module_item.as_stmt().and_then(|st| st.as_decl());
match declaration {
Some(Decl::Fn(function)) => {
update_function_declaration(function);
}
_ => println!("not a statement"),
}
}
detox[22651] INFO: instances > with default timeline: add an instance to an existing playlist [FAIL]
detox[22651] INFO: instances > with default timeline: remove an instance from a playlist
detox[22651] TRACE: [DETOX_BEFORE_EACH] running test: "instances with default timeline remove an instance from a playlist"
detox[22651] TRACE: [ARTIFACTS_LIFECYCLE] artifactsManager.onTestStart({
title: 'remove an instance from a playlist',
fullName: 'instances with default timeline remove an instance from a playlist',
status: 'running',
invocations: 1
})
detox[22651] TRACE: [ARTIFACT_START] starting SimulatorLogRecording
@Vannevelj
Vannevelj / program.cs
Created March 28, 2019 21:18
Mongo filtering
<Project Sdk="Microsoft.NET.Sdk">
<PropertyGroup>
<OutputType>Exe</OutputType>
<TargetFramework>netcoreapp2.1</TargetFramework>
</PropertyGroup>
<ItemGroup>
<PackageReference Include="Mongo2Go" Version="2.2.9" />
<PackageReference Include="MongoDB.Driver" Version="2.8.0" />
Severity Code Description Detail Description
Warning CS8032 An instance of analyzer VSDiagnostics.Diagnostics.Exceptions.ExceptionThrownFromProhibitedContext.ExceptionThrownFromProhibitedContextAnalyzer cannot be created from C:\Users\jeroen.vannevel\Documents\Github\VSDiagnostics\VSDiagnostics\packages\VSDiagnostics.1.9.4\analyzers\dotnet\cs\VSDiagnostics.dll: Could not load type 'VSDiagnostics.Diagnostics.Exceptions.ExceptionThrownFromProhibitedContext.ExceptionThrownFromProhibitedContextAnalyzer' from assembly 'VSDiagnostics, Version=1.9.2.0, Culture=neutral, PublicKeyToken=null'.. System.TypeLoadException: Could not load type 'VSDiagnostics.Diagnostics.Exceptions.ExceptionThrownFromProhibitedContext.ExceptionThrownFromProhibitedContextAnalyzer' from assembly 'VSDiagnostics, Version=1.9.2.0, Culture=neutral, PublicKeyToken=null'.
at System.Reflection.RuntimeAssembly.GetType(RuntimeAssembly assembly, String name, Boolean throwOnError, Boolean ignoreCase, ObjectHandleOnStack type)
at System.Reflection.
Konijn met pruimen:
bak de konijnebillen aan in een goede brok boter langs beide kanten.
Doe ook wat peper en zout er op.
Als je ze langs beide kanten wat aangebakken hebt, voeg dan een paar glazen zoet bruin bier toe.
Laat de pot met deksel op bij een zacht vuurtje stoven.
Voeg na ongeveer drie kwartier wat gedroogde pruimen en rozijnen toe.
Laat verder stoven tot het vlees zacht aan voelt (kan gemakkelijk anderhalf uur duren, hangt af van de grootte van de billen).
Er op letten dat niet al het vocht verdampt, want anders zal het aanbakken.
Dus eventueel een beetje water toevoegen naar t eind toe.
async Task Main()
{
var t = Do();
Console.WriteLine("Main");
await t;
Console.WriteLine("done");
}
async Task Do()
{
async Task Main()
{
var t = Do();
Console.WriteLine("Main");
await t;
Console.WriteLine("done");
}
async Task Do()
{
<div class="col-lg-2 text-center" style="margin-top: 57px;">
@if (Model.ShowPushOptions)
{
<div style="display: inline; margin-left: 10px;">
@if (needsAction && !string.IsNullOrWhiteSpace(Model.LeftEntity))
{
<button onclick="handlePush('right')" id="pushToRight" class="btn btn-danger">Push <i class="glyphicon glyphicon-arrow-right"></i></button>
<br/>
}
Finished feeding threads
Processing received element in thread 11
Processing received element in thread 6
Processing received element in thread 12
Processing received element in thread 16
Processing received element in thread 14
Processing sent element in thread 11
Thread name: Task 1 Thread ID:10 Value:0
Processing sent element in thread 10
Thread name: Task 4 Thread ID:12 Value:0