Questions tagged as 'script'

1
answer

Access your mobile camera in a WebView in Android Studio

I'm creating a QR code reader on a website and now I need to use this site in a Mobile version, so I'm creating a WebView that is opening the site. In any browser, the QR code reader works, either on the desktop or on the mobile phone. But wh...
asked by 07.03.2018 / 21:06
3
answers

How to speed up a script for maximum speed in python?

I was playing around with a method to approximate the PI number and realized that the code runs very slowly in the Python 3.6 interpreter, and the process is only using 30% of the processor. Would you have a way to run this script at full thr...
asked by 27.12.2016 / 23:58
1
answer

Image "run / fly" through the Site

Can I make a "Fly" or "Run" Image Alone on my site? I would like to put on my site a kind of "Puzzle", a Mystery. I want to put a link in the Image. It has to be a little quick to click. Do you know the Twitter Bird that flies through the Blo...
asked by 08.05.2015 / 05:32
3
answers

BATCH SCRIPT - Automating login to sites

I have the goal of creating a .bat file that automates my login to a particular site. I can open the site with .bat via the start chrome.exe "myite.com" command, and I would like to know how to create a script that double-presses the TAB ke...
asked by 11.06.2015 / 16:43
1
answer

How to create formulas at runtime in C #?

There are many advantages when things change for the better, so were the changes from Clipper to Delphi and C #, in fact just the visual part. There was in Clipper a fantastic feature called MACRO SUBSTITUTION. Well, in Clipper it was possibl...
asked by 19.01.2016 / 23:35
2
answers

How to group data by an id in R

I have the following database: id x 1 2 1 3 2 3 3 3 3 3 3 3 I wanted to create a new database without repeating the value of the field id , to solve this I can average the values of field x tha...
asked by 12.04.2015 / 19:19
2
answers

Climatempo to include in the site

Would anyone know if I could find an xml or some script to insert the weather forecast for the beach tabua de tides on my site? I need something like this from this site: link Could you give me a help?     
asked by 24.06.2015 / 13:55
1
answer

Compare performance of two PHP script

I worked on a PHP script, later I found it too complex and cumbersome and felt the need to simplify it. I've deleted some unnecessary functions; I have simplified some parts of the code repeated in functions; I chose POO to make the sc...
asked by 17.12.2016 / 16:39
2
answers

Setting execution timeout to infinity can affect server performance?

Generally, I see a lot of people (including myself I've had) run-time issues with a PHP script. This is because, by default, PHP sets a time limit for running a script in 30 seconds. These problems usually occur when PHP is working on a lengt...
asked by 09.01.2017 / 19:20
2
answers

Problem with the Unity camera

I'm creating a game with unity 5 in 2d, and tried to create a script for the camera to follow the character by moving the camera transform. For this I followed some tutorials on youtube but when I was compiling the code indicated in the Lerp met...
asked by 08.02.2016 / 17:29