I installed torsocks on Manjaro Linux, then I run sudo tor and now if I run torsocks wget -qO - https://api.ipify.org I see that my IP address has changed, so it seems that torsocks works! But if I run firefox through torsocks the window does not appear or if I run any wine application it has no access to the internet.
luarocks
u/luarocks
I installed toml.lua through luarocks and ran this example without errors through luajit, but when I run it through love, I get the error: "attempt to read undeclared variable sol.TOMLDate.♻".
If this is a bug, who should I report it to, the love2d or toml.lua developers?
local s = "hello"
print(s[2]) -- nil?
The simplest instructions for installing the latest versions of lua + luajit + luarocks together on linux
github.com/lua-rocks/install-luaWhen I swapping palette using this method it applies to the entire image, not individual quads 😢
Normally, networking libraries only allow you to send and receive information via various network protocols, but I need a higher level of functionality. I would like to have a wrapper around a networking library that allows you to synchronize a table between many clients.
I envision it like this:
- Server creates a table and gives it rights or a group with rights.
- Clients connect to the server and get a copy of that table, but some of clients can only read the table fields, some can also write to it, and some don't get it at all, depending on what group the client is in.
- When a table field is changed on one of the clients that has rights to change, it is automatically changed everywher
I installed Tor Browser on Xubuntu 20.04 from default repositories and make it default browser but it can't open anything.
After installation it create .desktop file that run command torbrowser-launcher %u but it's broken because it doesn't accept any %u.
For example: torbrowser-launcher www.reddit.com just launch browser and ignore my link.
--[[
Here are two implementations of the same function,
which takes numbers, multiply them by two and returns results.
Question #1: How to skip non-number types?
Question #2: Which one is better?
Thank you!
]]
local function test1(...)
local results = {}
for index, value in ipairs {...} do
--if type(value) == 'number' then
results[index] = value*2
--end
end
return unpack(results)
end
local function test2(...)
local results = {}
for index = 1, select("#", ...) do
local value = select(index, ...)
--if type(value) == 'number' then
results[index] = v
I'm amazed how modern online games depend on "anti-cheats", which are not really different from viruses. And I'll never understand why game developers instead of patching their shitty code on servers do it on clients... Well, whatever.
The other day I wanted to play Ragnarok Online and I started trying different servers. I tried a few dozen of them and only one works perfectly - on pure prefix, the latest version of the Wine, without the need to install any additional libs! Here it is. If you know any other servers that are 100% compatible with wine, I would be very grateful if you could share them.
UPDATE: Just found another one server, called [H
Hello friends, I want to share with you a links to a project I've been working on for a few months now. I call it LUAPI - it is a generator of api-documentation from lua-sources.
The main differences between ldoc, luadoc and others:
- Simple and compact comment syntax
- Documentation output in markdown
- OOP support (all sources also in OOP style)
- Want to add compatibility with emmylua and lua-language-server in future
- The project is developing and I don't plan to give it up!
However, I still have a lot of work to do, so I can't even call this post a pre-release yet, just wanted to show off a little. If anyone would like to contribute to the project, I'll be very grateful for your pul
It turns out that I have to keep a window that eats 400+ megabytes of ram always opened just for notifications? And I can't even close it to tray??? 🙀
Fortunately, I don't have that problem with mail, because XFCE has a tray plugin that checks inbox for only ~40mb and can open Thunderbird when new mail received, but it can't access events from the Thunderbird calendar.