Skip to content

Instantly share code, notes, and snippets.

@Kerogi
Kerogi / lua-5.4.4.sln
Last active March 27, 2023 12:13
Visual Studio 2022 solution(with projects) for Lua 5.4.4
Microsoft Visual Studio Solution File, Format Version 12.00
# Visual Studio Version 17
VisualStudioVersion = 17.5.33502.453
MinimumVisualStudioVersion = 10.0.40219.1
Project("{8BC9CEB8-8B4A-11D0-8D11-00A0C91BC942}") = "lua-src", "lua-src.vcxitems", "{9B8A2B56-CF43-4745-8E7D-03D178770192}"
EndProject
Project("{8BC9CEB8-8B4A-11D0-8D11-00A0C91BC942}") = "lua-lib-static", "lua-lib-static.vcxproj", "{90DF1FAC-A845-4F47-8EFB-9593E7258593}"
EndProject
Project("{8BC9CEB8-8B4A-11D0-8D11-00A0C91BC942}") = "lua-compiler", "lua-compiler.vcxproj", "{813E2C48-3E0F-4AAC-AB16-81F92EC94712}"
@Kerogi
Kerogi / greencountry.ua.anti-cheat.user.js
Last active March 21, 2023 16:40
GreenCountry.ua self-study anti-cheat
// ==UserScript==
// @name Greencountry Anti-Cheat
// @namespace http://tampermonkey.net/
// @version 0.1
// @description Userscript for prevent cheating on GreenCountry online cources specifically self-study pages.
// @author Igor [Kerogi] Kostenko
// @match https://enbook.greenforest.ua/book/49047f7584c4a23bf0c9a883a65bff414d50f7af*
// @icon https://www.google.com/s2/favicons?sz=64&domain=greenforest.ua
// @grant none
// ==/UserScript==
@Kerogi
Kerogi / main.cpp
Created May 24, 2019 08:31
test std::vector allocation pattern
#include <iostream>
#include <vector>
#include <string>
#include <algorithm>
#include <iomanip>
#include <bitset>
template<typename> struct int_ { typedef int type; };
struct has_no_member_to_string {};
#!/usr/bin/python
# -*- coding: utf-8 -*-
import requests
import json
import pprint
import sys
import codecs
import locale
#reload(sys)