Questions tagged as 'script'

1
answer

Import .csv files to MySql WorkBench

I have a .csv file that in column A I have:    Product1    Product2    ...    In column B I have:    1    2    ...    If you want to, for example, insert column 1 in line 1 of Produt1 as I proceed in the script? And what kind...
asked by 13.06.2015 / 01:47
1
answer

How to insert angular script? In simple HTML it works!

Well, my .html component looks like this: <script> window.onload = function () { var chart = new CanvasJS.Chart("chartContainer", { animationEnabled: true, title:{ text: "Monthly Expenses, 2016-17"...
asked by 12.09.2018 / 20:35
1
answer

Problem with script in Python

People, I have a slight problem with a script I created in Python. print("Agora eu vou dizer algo para você.") idade = int(input("Me diga sua idade.")) if idade < 18 print("Me desculpe, você não pode dirigir.") else print("Que bom, você pod...
asked by 02.07.2018 / 07:17
1
answer

PostgreSQL Download Script Shell

I am writing a code in Shell Script to download the source code of the latest updated version of PostgreSQL by checking the link to the current version automatically. So based on this I did the following: I created the variable URL_PKG...
asked by 05.03.2018 / 08:07
3
answers

Get value from all checked checkboxes

How do I get all checked-in checkbox values and switch to GET. $("#subcategoria").click(function(){ var checados = []; $.each($("input[name='subcategoria[]']:checked"), function(){ $.get("inc_...
asked by 03.08.2017 / 00:36
1
answer

Jquery Chosen not returning value

How to get chosen to display search value. It is not showing the options inside the select. HTML <select id="habilidades" name="habilidades[]" multiple class="input col-lg-10 chosen-select margem20" required> </select>...
asked by 01.08.2017 / 16:01
1
answer

Questions with exercise in Shellscript

I would like some help to resolve these exercises: In the ex4.1.sh script, add the option to enter the word and filename directly from the command line like this: $ ./ex4.1.sh <palavra> <arquivo> In script ex4.1.sh the ou...
asked by 28.03.2017 / 15:03
1
answer

Creating new users through Shell Script

I'm trying to create a shell script to add new users to the GNU / Linux system But without entering native commands like adduser or useradd in the script, it would be something on the nail. I'm with something almost fine (ready!), bu...
asked by 19.12.2016 / 02:48
2
answers

Image upload using CGI Python - It does not work!

Hello, I created an html file with one and I want to select an image from a directory and after clicking on submit this image should be saved in another directory. Any help? This is what I've tried so far ... index.html <form name="py...
asked by 29.04.2016 / 21:46
2
answers

Count Script - SQLServer

I have the Telefone table, which records the phones you called. I need to make a script that shows the 'quantity' of the phones they called. if a phone calls more than once does not count. I need to do it via Microsoft SQL SERVER Manageme...
asked by 02.05.2016 / 14:13