Lua is a scripting language that gained popularity due to how easy it is to embed and learn.

learn more… | top users | synonyms

0
votes
0answers
15 views

Trying to convert a luc file to a lua

If I understand correctly, I first have to decompile the luc, not sure. I have a lua reader and I can open the luc with another program but it's gibberish. What I am trying to do is covert a mod from ...
1
vote
0answers
14 views

Change serial connection speed in ExtraPuTTY automatically

I really need help.. I'm using ExtraPuTTY to open a terminal on some serial port on my PC. At the beginning of the session I want to transfer a file over Putty XMODEM feature to the end-point at 3Mb/s ...
1
vote
0answers
17 views

PuTTY - change serial line speed automatically during session

I'm using ExtraPuTTY to connect my PC to an Arduino like machine. At the beginning of the session I want to transfer a file from my PC to the machine at 3Mb/s, then, after the file was transferred, I ...
0
votes
0answers
24 views

How to launch a lua server?

I wanted to know how to launch a lua server. I found a game I'd like to play with friends, though we do not know how to start the server that is .lua. The game is here. Could you help us please?
0
votes
2answers
115 views

Awesome WM : How can I write a rule to make a window appear floating under the mouse?

I am using a clipboard manager and I would like to see it appear just under the mouse when I press a shortcut key. I have written different rules for awesome wm, I see how to focus the good client, ...
1
vote
1answer
153 views

Installing luabind on Ubuntu

So I've been looking on the internet for a moment and found nearly no tutorial, or good instructions on how to install luabind. I found that I need to have boost and lua 5.xx installed to install it; ...
0
votes
0answers
64 views

FFmpeg Degrades Quality of Video [closed]

I have been tasked with converting a batch of videos from MOV to MP4 for an application my company is building. We're converting the videos because a short MOV file has an extremely large file size ...
0
votes
0answers
123 views

Xbee Serial communication with RaspberryPi

I want to know how Xbee serial communication actually works. Normally we uses python libraries to communicate with Xbee in RaspberryPi. But I have to implement the serial communication in Lua ...
1
vote
1answer
1k views

How to take screenshot(using selection) in awesome wm via scrot

Tried: awful.util.spawn("scrot -s") awful.util.spawn("urxvt -e \"scrot -s\"") os.execute("scrot -s") and all possible combinations even with sleep. Also tried daemonize. Nothing works =( P.S. All ...
0
votes
2answers
89 views

How to install luadoc

I am trying to install luadoc. Running the command make targeting the Makefile does not make any effect. make: Nothing to be done for '/Users/ernestbofill/.luadoc/Makefile'. I have lua installed via ...
1
vote
0answers
27 views

Run a script with Apache2 in a certain directory

I am trying to run WebMCP on an Apache2 server. It's got 2 executable files, which I have in /opt/webmcp/cgi-bin/webmcp.lua and /opt/webmcp/cgi-bin/webmcp-wrapper.lua If I run the wrapper from a ...
0
votes
1answer
189 views

How do I write an imapfilter “does not contain” email rule please?

I've recently installed imapfilter. I have some simple copy and pasted rules that I like, such as this in my config lua file: results = account1.INBOX:contain_from('git@gitosis.mycompany.com') ...
1
vote
1answer
140 views

Using convert template from Wikipedia throwing Scribunto error

I imported the convert template (Template:convert) from Wikipedia to use on my Wiki; it throws the following error when used: Internal Eroror [18eba24f] 2013-07-09 15:00:33: Fatal exception of ...
-1
votes
1answer
504 views

Building LuaPlus with VS2012 [closed]

I've been trying to build luaplus with vs2012 but jamplus report missing files in projects. Vs2012 report same errors when i'm building from the ide. I've checked ...
3
votes
0answers
283 views

MonoDevelop can't find .so file in LD_LIBRARY_PATH

I'm making a game using MonoGame and a Linux implementation of LuaInterface. However, whenever I try to build the project, MonoDevelop gives an error saying that it is unable to load liblua5.1.so, ...
0
votes
1answer
31 views

Building and Using Lua for iMac

I successfully built Lua for my iMac and I can run simple controls in terminal, but I have longer programs I want to run. On Windows, I was able to just double click my sample.lua file and it would ...
3
votes
1answer
3k views

Macro hotkey for “Save Image As…” in Firefox?

Relevant PC info: Windows 7 64bit Firefox (latest) Logitech g710+ Keyboard with Logitech Gaming software Right now, I have to: Hover over an image right-click Click "Save Image As.." Click ...
1
vote
1answer
517 views

Awesome Window Manager - Open Chromium Developer Tools on Different Screen Than Chromium

I have three screens. One is for URxvt and VIM, another is for Chromium, Firefox, and Opera, and the third is for Chromium's Developer Tools. Below are the rules I've created in my rc.lua in an ...
0
votes
2answers
536 views

How might a video website be blocking direct access to the flv/mp4 files?

I've been trying to tinker with making VLC support video websites that aren't included in the default distribution. When I view the source of the video webpage, I am able to extract something that ...
3
votes
4answers
568 views

Focus on application when changing workspaces in awesome-wm

I am using archlinux in combination with awesome-wm for quite a while now. I still haven't figured out how to automatically grab the focus on an application when changing workspace through Mod+number. ...
0
votes
1answer
287 views

Awesome WM buttons stop working

This is an excerp from my rc.lua: testcfg ={} testcfg.s = 1 testcfg.widget = widget({type = "textbox", name = "testcfg.widget", align = "right"}) testcfg.widget.text = testcfg.s testcfg.command = ...
7
votes
1answer
616 views

Awesome-wm a signal to rise client when focus received

I've got my Emacs running on a tag worker with server-start launched. I have a file manager opened somewhere else (another monitor for example) and when I open a text file with emacsclient it ...
0
votes
2answers
1k views

How to setup and use lcurses (curses for Lua)?

I'm not very good at manual installation. I want to use lcurses, a binding of curses for Lua in a program, with require('curses'). When I run make in the lcurses directory, there is an error ...
1
vote
3answers
6k views

Awesome Window Manager - Rule assigning programs to tags

I have a set of tags 'main', 'www', and 3: -- {{{ Tags tags = { names = {"main", "www", 3}, for s = 1, screen.count() do tags[s] = awful.tag(tags.names, s, tags.layout) end } -- ...
1
vote
1answer
684 views

Can't install lua on Mac 10.6.4

I uccessfully installed MacPorts on Mac 10.6.4 but I can't install lua. I know MacPorts is installed because from my Administrator account I can successfully execute 'port selfupdate' and 'port search ...
1
vote
1answer
799 views

Linking to lua libraries w/ codeblocks on linux

After I downloaded the source for lua, I followed the install instructions, doing... make linux install make generic install I've also done the make test and it passes, printing out Hello World, ...
0
votes
2answers
1k views

I want to replace a number with successive numbers, starting at 1 and going up

I'm aware that this is something people can easily program, but I'm not familiar with those things, so I was hoping there was an easier solution. I've edited a large database of questions, including ...
0
votes
1answer
946 views

How match 'other' applications to a tag in awesome-wm?

I use version 3.3.4 of awesome and it is fine. But I miss one thing I could do with an older version of awesome (without configuration via Lua): I could add a matcher with the regular expression .* to ...