Scripting is a form of programming generally characterized by low formality, loose typing, and no requirement for explicit compilation. There are numerous scripting languages, and these are used in a wide variety of scenarios - command-line applications, GUIs, server-side applications, extension ...
0
votes
0answers
8 views
Conflicting Jquery scripts
I've got three different jquery scripts running on my page, I think using different versions of jquery, which will not all work at the same time. I've tried using noconflict to no avail- I imagine the ...
1
vote
5answers
23 views
Can I use ECHO to execute commands?
I've come up with a cool little script that will produce the output that I need, but it only displays on the screen, so I have to copy, then paste in the commands to get them to execute. Here's the ...
3
votes
3answers
100 views
C++ embedded scripting language for game development - can't find anything I like
I'm desperately looking for a fast, C-like syntax, easy to embed, easy to wrap scripting language to embed in my C++ games.
So far I've tried:
Lua: it works, but wrapping global C++ functions ...
-3
votes
1answer
25 views
Shell script to move files to their respective directories [on hold]
My question is simple : I have a folder containing lots of files. I want these files to be copied to their actual locations. The trickiest part is that, the path to which a file is moved is specified ...
0
votes
1answer
16 views
Bash error echo a command
I have a problem. I need to show a echo from a while, I use two echo the first one work but the second it give a error.
#!/bin/bash
conexiuni="/tmp/conexiuni"
if [ "$1" != "" ]; then
netstat -tuan | ...
0
votes
2answers
38 views
Can I make this bash script that writes to multiple files run any faster?
I have a script that reads in lines from a file, takes the first column of each line, and appends to a file named that line (I am trying to write many different files, named $id.txt).
Is it possible ...
0
votes
1answer
15 views
Visual Basic scripting dynamic array
So i have a vb script that sweeps through RAP (Run advertised programs) and if the program has no last run time, but that program's full name into an array, then i have this array echo to a message ...
0
votes
0answers
13 views
History.js scripts, .on() etc
I'm playing around with history,js, in fact, I'm using Ajaxify too https://github.com/browserstate/ajaxify
So got the basic pages up and running and the scroll back to the top works fine.
So I'm ...
2
votes
2answers
25 views
Rename files based on symbols in the name
I have a lot of files (images) like this (file names consist only from numbers):
123456.jpg
369258.jpg
987123.jpg
...
I need to make a copy of each in some other folder (let's name it output) and ...
-1
votes
1answer
31 views
PHP Fatal error: Call to undefined function setMethod() [on hold]
fixed, thanks! Now on to figure out how Web API works...
0
votes
0answers
19 views
Python run a method in background
I have written a simple http server by extending BaseHTTPRequestHandler. I am able to start it and process requests successfully. However it runs in the foreground, and the only way I can think of ...
0
votes
0answers
38 views
Parsing command output from bash
I am not very adept at bash so please forgive my ignorance.
I am writing a script where I need to parse the output of a command invocation which may result in several elements.
If I issue this ...
1
vote
2answers
29 views
Batch script: The syntax of the command is incorrect - when script is going trough subdirectories?
Hello folks,
my problem is probably very simple.
When I`m trying to use /r as a reference for batch script to go trough all the folders and subs in order to execute this small script I get the ...
0
votes
0answers
10 views
Automatically detecting a wireless network and connecting to it
I'd like to know, if there are any ways to automatically detect a network, verify it is the one you are looking (by its SSID) and then use the necessary key (WPE, WPA, what have you) to connect to it. ...
0
votes
2answers
42 views
Exit code of redirected command
So I want to verify the exit code of a specific command
runuser -s /bin/bash @user_name -c $command > /dev/null 2>&1 &
How can I find whether the command runuser -s /bin/bash ...