Skip to content

Instantly share code, notes, and snippets.

@sekrasoft
sekrasoft / comparators.c
Created March 9, 2016 16:41
Мощь выделения компараторов из алгоритма сортировки
#include <stdio.h>
#include <stdlib.h>
#include <string.h>
struct computer {
char* name;
int frequency;
int memory;
};
@sekrasoft
sekrasoft / delayed-localStorage.user.js
Last active January 9, 2019 20:43
Подменяет localStorage Storage-подобным объектом с сохранением данных в настоящем хранилище.
// ==UserScript==
// @name Отложенная запись в localStorage
// @include http://*/*
// @include https://*/*
// @version 1.0.0
// @grant none
// ==/UserScript==
(function(){