История изменений
Исправление LINUX-ORG-RU, (текущая версия) :
--apt install lua
--🤡🤡🤡🤡🤡🤡🤡🤡🤡🤡
local clown =
{
thread = "https://www.linux.org.ru/forum/talks/17179498";
clowns = 0;
clown = 1;
};
--🤡🤡🤡🤡🤡🤡🤡🤡🤡🤡
function clown:get()
local body = io.popen("curl '"..self.thread.."' 2>/dev/null","r"):read("*all");
if not body then
print("🤡");
return "🤡";
end
for facepalm in string.gmatch(body,"🤡") do
self.clowns = self.clowns + self.clown;
end
print(self.clowns,"🤡");
end
--🤡🤡🤡🤡🤡🤡🤡🤡🤡🤡
clown:get();
Исправление LINUX-ORG-RU, :
-- apt install lua
--🤡🤡🤡🤡🤡🤡🤡🤡🤡🤡
local clown =
{
thread = "https://www.linux.org.ru/forum/talks/17179498";
clowns = 0;
clown = 1;
};
--🤡🤡🤡🤡🤡🤡🤡🤡🤡🤡
function clown:get()
local body = io.popen("curl '"..self.thread.."' 2>/dev/null","r"):read("*all");
if not body then
print("🤡");
return "🤡";
end
for facepalm in string.gmatch(body,"🤡") do
self.clowns = self.clowns + self.clown;
end
print(self.clowns,"🤡");
end
--🤡🤡🤡🤡🤡🤡🤡🤡🤡🤡
clown:get();
Исходная версия LINUX-ORG-RU, :
local request = require("ssl.https").request; -- apt install lua
--🤡🤡🤡🤡🤡🤡🤡🤡🤡🤡
local clown =
{
thread = "https://www.linux.org.ru/forum/talks/17179498";
clowns = 0;
clown = 1;
};
--🤡🤡🤡🤡🤡🤡🤡🤡🤡🤡
function clown:get()
local body = io.popen("curl '"..self.thread.."' 2>/dev/null","r"):read("*all");
if not body then
print("🤡");
return "🤡";
end
for facepalm in string.gmatch(body,"🤡") do
self.clowns = self.clowns + self.clown;
end
print(self.clowns,"🤡");
end
--🤡🤡🤡🤡🤡🤡🤡🤡🤡🤡
clown:get();