Questions tagged as 'script'

1
answer

Bash autocomplete

I am creating an interactive menu in Bash where I want to be writing a text entry, at the same time read a file.txt and with that information show us options to autocomplete our input, something like the autocomplete in jquery. The question is:...
asked by 03.09.2018 / 18:03
1
answer

Enable javascript effect when it is in the center of the screen

I have this effect in javascript. // [email protected] version is used // Docs: http://progressbarjs.readthedocs.org/en/1.0.0/ var bar = new ProgressBar.Circle(container, { color: '#aaa', // This has to be the same size as t...
asked by 06.07.2018 / 08:39
1
answer

Shell Script: making this exit [closed]

if grep ttt $i > /dev/null 2> /dev/null     
asked by 03.05.2018 / 15:29
2
answers

Insert Error in a Linked Server

I have the following problem, I am running a script that makes an export of a SQL Server 2012 server to another SQL Server that is tied by a Linked Server, the script is as follows: INSERT INTO [192.168.10.82].[INTERFAZ_IQWARE].[dbo].[T_FACTUR...
asked by 03.05.2018 / 20:12
1
answer

Problem with loading Internet Explorer browser controlled by Powershell

I'm trying to make sure that while the browser is ready, it waits for seconds until it is ready and the code is executed but this is skipped and the code is executed when the browser is not ready. How do I prevent this from happening? / p> cls...
asked by 24.04.2018 / 19:23
1
answer

JavaScript doubt: clutter array with loop

I am doing an exercise for a job and I have a problem when messing an array. That is, I have an array called "numbers" and a function that messes up. Then I create an empty array called "disordered numbers" which I will fill with three positions...
asked by 12.05.2018 / 18:15
1
answer

Error 1064 (42000) syntax sql error

I have the following line of code in a bash script. echo password | sudo -S su -l otrouser -c 'mysql -e "GRANT ALL ON wordpress.* to 'usuario'@'localhost' IDENTIFIED BY 'userpass';"' I want to execute the mysql statement as another...
asked by 06.02.2018 / 16:54
1
answer

Open web page on predetermined date [closed]

I calculate that it must be a script so that the predetermined date arrives, another page is opened instead of the current page. Ex: current index.html, arrived on January 1 does not show that index.html but index2.html. Using the schedule of th...
asked by 19.12.2017 / 20:57
3
answers

Problem with jquery Notice: Undefined index

Good morning I have a problem with the combobox and the jquery , the event is not "activated" from the drop-down menu (I have 2 dependent menus mark-> model) script that is in the html head <script language="javascript" src...
asked by 21.12.2017 / 21:18
2
answers

How to simulate a Ctrl + Click on a link?

I want to simulate a Ctrl + Click on a link to open another tab but in the browser does not follow that new tab, I mean? I want to stay on the same tab. The example and problem: <a class="btn btn-small" href="/en/upload-file" data-original-...
asked by 18.10.2017 / 07:03