Questions tagged as 'script'

1
answer

Control of idle time in different windows php + java script

I have been investigating about the closing of sessions due to inactivity in my page, I have achieved it with the following code in my main page (index.php): script <script> function idleLogout() { var t; window.onload = res...
asked by 09.05.2018 / 21:27
0
answers

Skip script questions

I need to know if there is a way of when you execute a command in bash that executes a program, for example the certbot, I would like to automate the different questions that the program runs through the script. To execute only a confirmation...
asked by 07.05.2018 / 12:50
0
answers

To be able to answer email received from form without field "for" (email_from)

I have a contact form running on my website but it lacks a detail to fix. When receiving it in my mail tray it shows me the requested fields that are Names, telephone email and message of the client. But when I'm going to answer it, I do not get...
asked by 05.05.2018 / 03:44
0
answers

Does anyone know how to configure terraform?

I am trying to configure nginx in a terraform script for the management of two instances that are served in different ports and I want to direct them to some domain names. Does anyone know ??     
asked by 05.05.2018 / 05:04
0
answers

add bookmarks google maps MYSQL

Do not add the markers on the map, the following code: I clarify that the db has all the data <?php $consultaB = "SELECT * FROM markers "; if ($bus = $enlace->query($consultaB)) { /* obtener el array de objetos */...
asked by 27.04.2018 / 23:18
0
answers

Play random sounds without repeat - HELP 2018

I WANT TO RANDOMIZE THIS CODE: WE HAVE TO IMPROVE IT. 1- I NEED TO APPEAR THE NORMAL AUDIO PLAYER, AS A PICTURE APPEARS. 2- WHEN FINISHING A SONG DOES NOT CONTINUE WITH THE FOLLOWING. The code that makes the random is fine, you just have to impr...
asked by 20.04.2018 / 04:33
0
answers

Open Firefox browser on different screens with batch script

I have a computer which is connected with two screens I would like to raise firefox with a script (.bat) and that I see a page on one screen and another page on the other screen. In chrome I found this solution: @echo off start chrome --use...
asked by 20.04.2018 / 22:35
1
answer

script delete folders according to the current date

I have made a script to delete folders when the disk is, for example 80%, I want to use it in centOS with asterisk. where folders are organized "/ var / spool / monitor / 2018 / {01/02 /.../ 12}" Well, I did this script that erased 2 months a...
asked by 20.04.2018 / 18:55
1
answer

JavaScript in WordPress

I need to insert a script in a wordpress page but at the time of execution it does not show me the script, I do not know if I need to add it in the base code of the wordpress page or add a plugin <script type='text/javascript'> width=640...
asked by 18.04.2018 / 17:33
1
answer

Run Script with probability of failure in Python every second

Good afternoon, classmates. I am relatively new to programming and I developed my first Bot for some tasks, it is already finished but I have a small problem to execute it constantly since it occasionally fails for a foreign reason (sometimes...
asked by 10.04.2018 / 00:17