Interesting questions
-
-2
votes1
answer31
viewsPositional path error in Python3
I’m doing a test code for python, and I’m getting the following error: Traceback (Most recent call last): File "test.py", line 7, in g= test('Type a number: ') Typeerror: test() Missing 2 required…
python-3.xasked 6 years, 5 months ago Leandro Sargi 67 -
0
votes1
answer77
viewsDoubt/Problem With Webservice on Android
The return on my Webservice is like this: "Hello! I’m not interested in your service. My name is Administrator B. Please contact me at (s) phone(s) (12) 3456-7891; (13) 21321-3213. My email is…
-
1
votes2
answers433
viewsFunction to clear html
How to make a function that cleans HTML? I have a field that comes from a WS and needs, before displaying on the page, to clear HTML. They sent me this: String result = Regex.Replace(htmlDocument,…
-
5
votes3
answers6934
viewsSymbol "->" in php
When I used Phpmailer I used (without knowing why) the symbol "->" in $mail->AddAdress(..., for example. Now removing a doubt in W3schools (http://www.w3schools.com/php/php_mysql_connect.asp)…
phpasked 10 years, 4 months ago Enrique René 403 -
-1
votes1
answer930
viewsProblems Installing Java 7 on Ubuntu
Hello! I am trying to install Java 7 on Ubuntu. I used the following commands: ~$ sudo apt-add-repository ppa:webupd8team/java ~$ sudo apt-get update But at that moment returns the following…
-
0
votes1
answer964
viewsShortcodes do not work in my wordpress theme
I’m creating my theme and it’s okay, But I installed a plugin and it doesn’t work properly when added shortcodes to the theme. On the page it looks like in the console the html tags of the plugin,…
-
16
votes3
answers1404
viewsHow to compare HTML elements by real z-index?
Given two arbitrary HTML elements A and B on the same page, how can I find out which one is "closest" to the user (i.e. if they overlapped, which one would obscure the other)? To css specification…
-
0
votes1
answer164
viewsHow do I receive the key of an array in the controller in a variable?
I’m sending a parameter in a view href="{{route('products.index', 'E')}}" I need to receive this parameter 'E' in a variable in the controller and send via compact(); in another view follow my…
-
0
votes2
answers2921
viewsConvert String to Integer on Android
Guys, I had already opened a question related to this subject but in java(Here), I could not solve and now in an android apk I have the same problem. I have a service with a thread running a server…
-
-1
votes1
answer52
viewsCreate Counter by incrementing a separate Digit every 60 seconds
As I don’t have much knowledge of javascript I would like a little help on how to do this script down. This script would be a counter where every 60 seconds points add up and that counter starts…
javascriptasked 6 years, 10 months ago Fabio Henrique 2,156 -
1
votes1
answer111
views -
3
votes2
answers743
viewsHow to control Scroll in JS / jQuery
I’m having a question, I created a system where there’s a 'navigation' between items, but I couldn’t make the scrollbar 'track' the items. Would anyone have an idea how to get him to follow? Link…
jqueryasked 7 years, 10 months ago Douglas Dreer 394 -
0
votes0
answers21
viewsError loading external URL in Electron.js application
I am using Electron.js to load an external url. In this case, the whatsapp web. However, the following error is occurring: "O Whatsapp funciona com Google Chrome 49 ou superior". I already changed…
electronasked 5 years, 5 months ago Elias Douglas 1 -
0
votes3
answers149
viewsHow to replace the extension but remain the title
I have a folder, in which covers several videos with equal names and different formats: https://sites.google.com/site/mplayerplugin/repositorio/monstros_sa_2.webm…
-
1
votes0
answers46
viewsIt is possible to get real-time data in a mysql database flock from my database and from Asterisk
I wonder how I can get the information from Asterisk bank in real time, in my bank only has after user turns off the phone there the information and recorded in the bank, but I wonder if it is…
-
0
votes0
answers182
viewsDecision Structure in Assembly
I’m programming in Assembly and here comes a mistake. To summarize, I have to make a framework to check two real values and so go for the rest of the program. Well, that was the idea. To illustrate…
assemblyasked 11 years, 3 months ago Vinícius Novelli 173 -
4
votes1
answer984
viewsWhat is Mersenne Twister?
PHP has a function called rand. There is also a function called mt_rand. I was studying about these functions and realized that, in previous versions, it was necessary to use such a "random number…
random-numbersasked 10 years, 2 months ago Wallace Maxters 102,340 -
1
votes0
answers55
viewsProblems connecting with Ive via Dbeaver
I have a problem connecting to Hive by Dbeaver! Could not open client transport with JDBC Uri: jdbc:hive2://b4fa09-edhhdinsightshadoopgbdev-Hdi-dev-Gb.azurehdinsight.net:443/finance_hz:…
-
6
votes1
answer197
viewsWhat is a Pentester?
Browsing the internet, I saw some hackers talking that they work or worked as Pentesters and I would like to understand more about this profession. There is some difference between Pentester, Hacker…
-
2
votes1
answer234
views2 action on a Ubmit button?
I’m putting together a form where I send the data to my database, only what kind of form I wanted to run 2 actions on a button submit only that in the case actions sane id="ajax_form" and…
javascriptasked 8 years, 6 months ago LeoS 59