Most voted "script" questions
Scripts are "scripts" followed by computer systems and bring information that is processed and transformed into actions performed by a main program. Sounds complicated, but it’s not.
Learn more…372 questions
Sort by count of
-
-2
votes2
answers342
viewsWhat will be printed on the screen by this script?
What will be printed on the screen by this script ? <?php $foo = 'bar'; $bar = 'foo'; print ${$foo}; ?>
-
-2
votes1
answer2202
viewsHTML - How to show/hide content by clicking on a "link"?
I need to set up a FAQ in this style: I click on the question, it presents the answer on the side. If I click on another question, the answer should switch and show the answer referring to another…
-
-2
votes1
answer27
viewsNo PHP connection response
Good evening, could someone help me? I’m doing an academic project where I have to link HTML pages and make them pull information from the database. So far, I have created a table in my database,…
-
-2
votes1
answer201
viewsRun Javascript when updating the page
I have an Html5 application, with a single Javascript function, which keeps the scroll always at the end of the page, in this HTML, I have an update tag where I can set the automatic update time,…
-
-2
votes1
answer23
views"Tracking" updates with PHP
I would like some role tip or how to do to track or generate notifications if a web page undergoes changes or new insertions. However, I say this to track third-party websites (i.e., I don’t have…
-
-2
votes0
answers11
viewsDelete user folder via Access Denied script
Good afternoon! I am trying to run a script to delete all user folders in C: Users The script: Get-Childitem "C: Users" -recurse -Include . | Where-Object {$_. psIsContainer -eq $true} | remove-item…
-
-2
votes3
answers386
viewsChange tab title with script, how do you do?
I want to appear only the name of the product without the name of the site, as I use a platform ready not to edit the tag <title>, so I need to use a script to do this. At the moment appears…
-
-2
votes1
answer76
viewsHow to create a script on Ubuntu
I need to make a script to run the command below on the terminal several times: opencv_createsamples -img toras/toras_00001.jpg -bg negativas/negativas.txt -info positivas1/positivas1.txt -maxxangle…
-
-2
votes1
answer83
viewsjQuery1.7.2 compatibility issue for jQuery 3.3.1
I am layman in JS, but I need an urgent application and I found one that suits me, just make the adaptations. I have the following code below: function id( el ){ //return document.getElementById( el…
-
-2
votes1
answer46
viewsHow to put a DIV in place of a specific word with script?
I want you where you are text take for example <div> novo texto </div>, I was wondering if you could do this. In short, I want everywhere on the site to have the floor text change to a…
-
-2
votes2
answers51
viewsHow to insert a value filtered by SELECT within an UPDATE query in the PHP script
I just need to get the R.A’s of the SELECT and play at UPDATE, but every time I put $usuario['ra], of a mistake: Parse error: syntax error, Unexpected '' (T_ENCAPSED_AND_WHITESPACE), expecting '-'…
-
-2
votes1
answer82
viewsHow to pass multiple files with click python?
I have a directory with several files: arquivo.txt arquivo1.txt arquivo2.txt... And I have this code: import click @click.command() @click.argument("file", type=click.File('r')) def cat(file):…
-
-3
votes1
answer66
viewsCode or script "Loading..."
I would like to know what code or script to appear that famous phrase (Carrying...). Can someone help me?
-
-3
votes2
answers27
viewsReallocate line to a certain position of another line
Situation I was riding a script in which I knew there should be 17 fields, but I still didn’t know with these they would call, after I was defining them in the comments, in such a way that it stayed…
scriptasked 9 years, 2 months ago Guilherme Lautert 15,097 -
-3
votes1
answer3083
viewsDecrypt Java Script code, need to change url and am not finding
Is that code encrypted? I took this code from another site, it’s a popup, it pulls the pages of a site, So for me to put the pages with my links I need to figure out where to change, and this way is…
-
-3
votes1
answer147
viewsAdd sites in Popup script
I have this script to open 1 particular site every day. It would be possible to add other sites? Example: Popup opened for user and if you access it again will open 1 second site, and if you access…
-
-3
votes1
answer2212
viewsUnicodedecodeerror: 'utf-8' codec can’t Decode byte 0xd0 in position 0
line 1383, in <module> print(f.readline()) File "/usr/lib/python3.8/codecs.py", line 322, in decode (result, consumed) = self._buffer_decode(data, self.errors,…
-
-3
votes0
answers18
viewsSearching for Javascript session cookie does not work what to do?
I link the site, and when I look at the cookies, there appears the cookie from another domain (which is a specific tag that is on the site) so I need to create an if that locates if this cookie…
-
-3
votes0
answers59
viewsHow to create script that allows USB stick in Windows by Serial Number?
I would like to exchange some practical ideas with you to accomplish an achievement: Create a script for Windows that checks the Serial Number of a USB stick and can thus allow or deny that it…
-
-4
votes1
answer36
viewsShell script error while renaming a large set of folders
People were making a script to rename several folders in bulk that contains tabs+spaces+dots+dashes and many other characters in the name for something like: name_myname_folder. I made a script…
-
-4
votes1
answer33
viewsCreate Script to copy product links in a catalog
Good morning. I work in a company where we need to do a product link redirect, basically what we have to do is go in a product catalog (https://prnt.sc/yufxg0) right click on the cards go on "copy…
-
-8
votes2
answers209
viewsCreation of a module
I’m having a hard time creating my own module. I would like an example with a step by step steps to create a module so I can identify where I am missing.