Skip to content

Instantly share code, notes, and snippets.

View kkolyan's full-sized avatar

Nikolay Plekhanov kkolyan

  • Georgia, Batumi
View GitHub Profile
@kkolyan
kkolyan / depkm.lua
Created August 5, 2021 08:17
Love2D Script to extract original from PKM files
function string.ends_with(str, ending)
return ending == "" or str:sub(-#ending) == ending
end
local index = 1
local images = {}
local canvas
local function add(path, newname)
table.insert(images, { love.graphics.newImage(path), newname })
using System;
using System.Collections.Generic;
using System.Diagnostics;
using System.Runtime.CompilerServices;
public class LinearVsDictionaryTest
{
public static void Test()
{
int[] capacities = {1, 2, 4, 8, 10, 100, 1000, 10000, 100000};