Questions tagged as 'script'

1
answer

How to generate a pdf file containing the digital certificate information? [closed]

I have a PHP system that generates a pdf, and I need to use the client's Digital Certificate to sign this document. I've been reading documentation, and I've seen that the FPDF that I'm using does not yet support this method, since TCPDF give...
asked by 13.05.2015 / 03:29
4
answers

Capture user-entered input with PHP Shell

How can I get you to retrieve input data. Example: > Qual seu nome? ...Usuário digita o seu nome... > Olá, $nome-digitado How can I do this via Shell Script in PHP .     
asked by 02.01.2017 / 02:12
1
answer

What is the "application / ld + json" type used in a script tag?

I was looking at the source code of the Kickass page and this passage caught my attention: <script type="application/ld+json"> { "@context": "http://schema.org", "@type": "WebSite", "url": "https://kat.cr", "potentialAction":...
asked by 09.03.2016 / 00:52
3
answers

Show and hide content in list form. with Javascript

I'm trying to make a list of Youtube videos as follows. (ps:Eu sei que o Youtube ja tem uma playlist dele.) Example: List with video names. 1 - Trailer Reaction: Star Wars: Episode VII - The Force Awakens 2 - Star War...
asked by 13.12.2015 / 00:57
1
answer

How to Run JavaScript on the Java 8 Nashorn Engine Programmatically

From Java 8 we have a new Engine for running JavaScript, this is Nashorn. What Java SE platform classes are involved in engine discovery and scripting? How to execute JavaScript through the Java classes themselves in this new interpreter?...
asked by 26.06.2015 / 16:16
2
answers

Script to find and replace words in multiple files

I need to make a command that finds and replace a directory path with another path, in several HTML files, example of part of the HTML file: <DIV STYLE="margin-top:6pt;margin-left:36pt;" >< FONT ID="f16" > <A HREF="file:/export1...
asked by 15.12.2014 / 17:07
1
answer

Unsecured script

I'm developing a website with 2 scripts. But by submitting the site to the testing area, the scripts do not load, as in the image below. What should I do to run automatically and be recognized as safe?     
asked by 17.10.2017 / 19:24
2
answers

How to get result of selection of menu gdialog in variable in Shell Script?

I'm creating a simple script for learning in which the user should: Type number to be saved in variable NUM1 Enter a second number that will be saved in variable NUM2 Choose from the menu if it wants to add, subtract, multiply or...
asked by 09.03.2017 / 17:56
3
answers

Run Python and C # together

How can I in C # import, that is, execute some script in another language (Python)? Example: If you write "R" in a program in C #, it executes a file named ApertouR.py .     
asked by 27.12.2017 / 13:59
1
answer

Sum of the regression square of the R models

The presented models are different in only one additional coefficient (f), which multiplies the independent variable (x), allowing the calculation of the increase of the sum of the square of the regression, including the coefficient f with a val...
asked by 26.02.2018 / 14:33