Most voted "scripting" questions
Scripting languages allow the creation of files containing sequences of commands to be executed in a host environment (software of any nature, such as a text editor, a web browser or a shell).
Learn more…13 questions
Sort by count of
-
22
votes2
answers2225
viewsCompile string as code
There is how I compile a string within C#? Example: Console.WriteLine(\"Hello World\");. Like a eval javascript? 'Cause I had a project to load a code into a text file or something.…
-
10
votes5
answers1668
viewsHow to use a language other than Javascript in your browser?
Despite the enormous plurality of programming languages in various environments (desktop, server, mobile devices), browser continues to support one and only one language: Javascript. The reason for…
-
6
votes1
answer850
viewsHow to "call" a function from a Lua table in C++
I’m trying to "call" a function of a table written in Lua. The problem is that I’m not managing to pass three arguments to this function. When I pass the arguments, it’s as if the Lua skip the first…
-
4
votes1
answer175
viewsProblem with echo` -e`
I’m starting to learn shell script and am doing some simple scripts to train. The script below tests whether whoever is running the script is logged in as root. # !/bin/bash # # This script test if…
-
3
votes2
answers428
viewsProblem with IF Shell Script Syntax
I have the code below: RESPOSTA=$(asterisk -rx "sip show peers" |grep 4003 |awk -F" " '{print $6}') if[["$RESPOSTA" == "OK"]];then echo $RESPOSTA elif[["$RESPOSTA" == "Unmonitored"]];then…
-
2
votes0
answers201
viewsSet order of startup scripts
I’ve been using So Linux Ubuntu since version 7.04, but I’ve used other distros before, and I realize that with each version something changes inexplicably, things that often get in the way. My…
-
2
votes2
answers4410
viewsrun script with admin permission
I have the following code snippet: foreach($File in $(Get-ChildItem -Path $FromPath)){ $ObjFolder.CopyHere($File.fullname, $CopyOptions); } it copies the files to the windows folder, however users…
-
2
votes1
answer146
viewsScripting language for JVM and DVM
I intend to use a scripting language attached to Java SE applications, my fear is to develop something and later have difficulties in porting it to Android platform. I am not professional in the…
-
1
votes2
answers277
viewsBashscript. How to execute a command at a given time?
I am trying to create code in Bash Scripting, and I need it to run this script in the background and run this command daily at this predetermined time and run only once. I’m having problems, because…
-
1
votes0
answers33
viewsOracle Pivot returning more than one line
all right, guys? I have a problem here. I have the code below: SELECT /*+parallel(12)+*/ DES_REGIS, DES_CONTR, COMPRAS_OFFUS_PARC_COM_JUROS, COMPRAS_OFFUS_PARC_SEM_JUROS, COMPRAS_OFFUS_AVISTA,…
-
0
votes1
answer52
viewsHow to use Olliders in Unity?
I’m creating a little basketball game, but I’m having trouble making the points system in this case (2 and 3). Right now I’m trying with Colliders and I’m having a hard time putting the two…
-
0
votes1
answer55
viewsShell script detect Aps and Mac Address
My goal is to develop a script on Linux environment (Kali Linux) that Automatizes certain tasks such as while running, detect Access Points next showing me the intensity of the signal and the Mac…
-
0
votes0
answers55
viewsExcept System.Platformnotsupportedexception when trying to compile code with Codedom
I’m using a code, which I saw in a reply of this page: var csc = new CSharpCodeProvider(); var parameters = new CompilerParameters( new[] { "mscorlib.dll", "System.Core.dll" }, "teste.exe", true) {…