Skip to content

Instantly share code, notes, and snippets.

View devzerker's full-sized avatar
:octocat:

devzerker

:octocat:
  • St. Petersburg, Russia
View GitHub Profile
@devzerker
devzerker / History|-10156391|entries.json
Last active February 6, 2023 20:24
Visual Studio Code Settings Sync Gist
{"version":1,"resource":"file:///home/ivan/dev/CraftTalk/opbot/src/opbot/BotMediator/Stats/AllDialogScores.fs","entries":[{"id":"RJDf.fs","source":"searchReplace.source","timestamp":1665166871057},{"id":"BTl9.fs","source":"searchReplace.source","timestamp":1665207359975},{"id":"Yq7I.fs","source":"searchReplace.source","timestamp":1665231511299},{"id":"RXwE.fs","timestamp":1665232466625}]}
@devzerker
devzerker / BulkInsertBench.csproj
Created May 2, 2021 16:20
Bulk insert benchmark EF, EF Extensions and Linq2Db
<Project Sdk="Microsoft.NET.Sdk">
<PropertyGroup>
<OutputType>Exe</OutputType>
<TargetFramework>net5.0</TargetFramework>
<StartWorkingDirectory>$(MSBuildProjectDirectory)</StartWorkingDirectory>
</PropertyGroup>
<ItemGroup>
<PackageReference Include="BenchmarkDotNet" Version="0.12.1" />
@devzerker
devzerker / Program.cs
Created May 4, 2021 17:22
SQLite EF concurrent test
using System;
using System.Collections.Concurrent;
using System.Collections.Generic;
using System.Linq;
using System.Threading.Tasks;
using Bogus;
using Bogus.DataSets;
using Microsoft.EntityFrameworkCore;
namespace SqliteConcurrentTest
@devzerker
devzerker / EFBench.csproj
Created June 3, 2021 08:19
EF6 read/insert read benchmark
<Project Sdk="Microsoft.NET.Sdk">
<PropertyGroup>
<OutputType>Exe</OutputType>
<TargetFramework>net6.0</TargetFramework>
</PropertyGroup>
<ItemGroup>
<PackageReference Include="BenchmarkDotNet" Version="0.13.0" />
<PackageReference Include="Bogus" Version="33.0.2" />
@devzerker
devzerker / docker-compose.yml
Created April 25, 2023 18:54 — forked from ryands/docker-compose.yml
gitlab-ce omnibus docker behind a local nginx reverse proxy (letsencrypt ssl termination at local nginx)
version: '3'
services:
gitlab:
image: gitlab/gitlab-ce:latest
hostname: gitlab.example.com
environment:
GITLAB_OMNIBUS_CONFIG: |
external_url 'https://gitlab.example.com/'
nginx['listen_port'] = 80
nginx['listen_https'] = false