This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
-- darkrp textWrap fork | |
-- adds maxLines arg | |
local GetTextSize = surface.GetTextSize | |
local sub, gsub = string.sub, string.gsub | |
local function charWrap(text, remainingWidth, maxWidth) | |
local totalWidth = 0 | |
text = gsub(text, ".", function(char) |
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
--[[------------------------------------------------------------------------- | |
2019.01.16 | |
Урезанный класс для склонения русских слов | |
https://github.com/petrovich/petrovich-php | |
В оригинале работает с именами | |
Полезные ссылки: | |
https://petroleks.ru/gramota/13.php | |
https://pymorphy2.readthedocs.io/en/latest/ |
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
--setfenv(1,_G) | |
local meta={} | |
local co=setmetatable({},meta) | |
_G.co=co | |
-- todo | |
-- error handler wrapper? | |
-- select() polling support (epoll() please :c) | |
-- co.make steal parameters | |
-- ? |
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
----------------------------------- | |
-- utilx | |
-- A project stared by Gbps | |
-- expanded with community input | |
----------------------------------- | |
utilx = {} | |
utilx.Version = 1.0 | |
-------------------- |