Skip to content

Instantly share code, notes, and snippets.

View akordowski's full-sized avatar

Artur Kordowski akordowski

  • Hamburg, Germany
  • 16:39 (UTC +02:00)
View GitHub Profile
@burkeholland
burkeholland / prd.md
Created April 10, 2025 19:50
TheUrlist PRD

Project Requirements Document: The Urlist Website

The following table outlines the detailed functional requirements of The Urlist website.

Requirement ID Description User Story Expected Behavior/Outcome
FR001 Creating a New URL List As a user, I want to be able to start a new, empty list so I can begin adding URLs. The system should provide a clear way for the user to initiate the creation of a new list, potentially presenting an empty list view or an "add new list" button.
FR002 A
@jamiephan
jamiephan / README.md
Last active September 4, 2025 00:46
A script to automatically add ALL items to your account in quixel

Script to add all items from quixel

As quixel is being removed, all items are free to aquire. This script is to automate the process to add items to your account (As of writing, a total of 18874 items)

Note: This script only tested in the latest version of Chrome.

How to use

  1. Copy the script from below (run.js)
  2. Login into https://quixel.com
@aivascu
aivascu / CombinatorialNames.cs
Created June 16, 2021 23:25
Combinatorial names generator
public class CombinatorialNames : IEnumerable<FullName>
{
private readonly IEnumerable<FullName> names;
public CombinatorialNames(IEnumerable<string> firstNames, IEnumerable<string> lastNames)
{
names =
from firstName in firstNames
from lastName in lastNames
select new FullName(firstName, lastName);
@hmans
hmans / .editorconfig
Created August 13, 2020 10:04
Unity ♥️ Git
root = true
[*]
end_of_line = lf
insert_final_newline = true
charset = utf-8
indent_style = tab
indent_size = 4
trim_trailing_whitespace = true
@hasmukhlalpatel
hasmukhlalpatel / CustomLinqProvider.cs
Last active March 19, 2025 19:06
Custom IQueryable and Custom IQueryProvider
using System;
using System.Collections;
using System.Collections.Generic;
using System.Linq;
using System.Linq.Expressions;
using System.Reflection;
namespace Titan.ODataClient
{
public class CustomLinqProvider<T> : IQueryable<T>, IQueryProvider
@pingec
pingec / DumpHttpRequests.cs
Created November 14, 2017 20:35
C# Simple http server to dump requests to console (HttpListener)
using System;
using System.Collections.Generic;
using System.IO;
using System.Net;
using System.Text;
namespace DumpHttpRequests
{
internal class Program
{
@StephenRedd
StephenRedd / dotnet-bump.ps1
Last active June 13, 2023 11:43
Powershell script for incrementing .Net Core *.csproj assembly versions
<#
.SYNOPSIS
Increment .NET *.csproj file version.
.DESCRIPTION
Script will increment either the minor or patch version for all projects under /src.
.PARAMETER mode
Specify 'minor' or 'patch'
@dotnetchris
dotnetchris / EnsureModelStateIsValid.cs
Last active June 27, 2019 09:09
AspNetCore.Mvc action filter for ensuring validation of both model state and all action parameters as a precondition to a MVC action
/// <summary>
/// This action filter ensures ModelState.IsValid is true as a precondition to entry into the MVC action
/// </summary>
/// <remarks>
/// This class also validates all action parameters unlike the default behavior of ModelState.IsValid
/// </remarks>
/// <see cref="https://blog.markvincze.com/how-to-validate-action-parameters-with-dataannotation-attributes/" />
public class EnsureModelStateIsValid : ActionFilterAttribute
{
private static readonly ConcurrentDictionary<MethodInfo, ParameterInfo[]> MethodCache
@jmarolf
jmarolf / editorconfig.md
Last active June 16, 2025 23:46
List of all options and how they may be implemented in editorconfig

Advanced

editorconfig name possible values
dotnet_sort_system_directives_first true , false

Indentation Options

editorconfig name possible values
csharp_indent_block_contents true , false
csharp_indent_braces true , false
@bastman
bastman / docker-cleanup-resources.md
Created March 31, 2016 05:55
docker cleanup guide: containers, images, volumes, networks

Docker - How to cleanup (unused) resources

Once in a while, you may need to cleanup resources (containers, volumes, images, networks) ...

delete volumes

// see: https://github.com/chadoe/docker-cleanup-volumes

$ docker volume rm $(docker volume ls -qf dangling=true)

$ docker volume ls -qf dangling=true | xargs -r docker volume rm