Interesting questions
-
0
votes3
answers5118
viewsJava Tabulated Calculation, using Repeat Loops
I’m having trouble solving the following exercise: Display the tabulated results of any number. The user informs what value he wants. The tabulation should be performed from 0 to 10, using the loop…
-
1
votes2
answers266
viewsHow to search for old files on Linux?
I need to use the command tail -f, to do a search on logs bygones. I know there’s a tail -f | grep "". But I don’t know how to find the old ones with the parameter I want. Can someone help me?…
-
0
votes0
answers58
viewsShould I create constructor with Setter? PHP
Which best and safest method to create the constructor? Netbeans creates direct by changing the variable, but has how to use Setter. So, which is the best and safest method? For example: Without…
-
1
votes1
answer2437
viewsHow to catch the first and last day of the current month ? PHP
Hello, everybody. I would like to take the first and last day of the current month and store them in two variables to use them in a query condition of a MYSQL query. You know a way to accomplish…
-
0
votes2
answers243
viewsConvert VB code to C# which turns characters into numbers
I have this code in VB and need to convert to C#. Public Function eNumero(s As String) As Boolean If s = "" Then eNumero = False Else eNumero = Asc(s) >= Asc("0") And Asc(s) <= Asc("9") End If…
-
1
votes1
answer1981
viewsAutomappermappingexception: 'Error Mapping types. '
Could you help me with this mistake described in the title, please. I am using the Automapper in the same way in other classes and only in those classes is it making this mistake. I couldn’t…
-
2
votes1
answer81
viewsHow do I print the name of an instance in Python?
class Panzer(): def __init__(self): self.life = 100 self.blin = 100 drogo = Panzer() cabal = Panzer() sirius = Panzer() group = [drogo, cabal, sirius] for i in group: print() What should I put on…
-
2
votes1
answer515
viewsProblem with svg background
I’m studying a little bit about svg And I found the giant shapes on the sites amazing, but I’m having a really hard time reproducing correctly. I created a 693x768 shape that will cut a page, but I…
-
3
votes3
answers183
viewsRemove repeated elements using two lists
How would you remove without using collections and while, only with for. I wanted a search structure element by element, because I already know how to remove this way. So I want to use at least two…
-
2
votes1
answer90
viewsSearch in mysql database
I have to do a search in a table, I have to pass up to 3 parameters to filter my search, this is my method: public List<Motores> pesquisaMotores(String serie, String marca, String modelo) {…
-
2
votes1
answer42
viewsParameter crossing error from an Activity to a Pageadpter
Good night, I have an Activity Class that generates an Array String, I need to pass this array to another Class but this class is a Pageadapter. What I need to do is take the Activity Filearray…
androidasked 8 years, 6 months ago Fabricio Aguiar 129 -
4
votes1
answer616
viewsThread problem
public class ThreadTest implements Runnable { private String word; private long time; public ThreadTest(String word,long time){ this.word = word; this.time = time; } public void run() { try {…
-
0
votes1
answer56
viewsHow to remove screen header on some routes
Good morning guys, in my angular project 4 I completed the Adm screen and I wish the header did not appear in it, I know I could do this with ngIf but I’m lost >_>, Can someone give a light?…
-
1
votes2
answers264
viewsAdd code before the </head> and after the <body>
I need a cogido javascript that adds this code before closing the tag </head> <link rel="stylesheet" type="text/css" href="http://cdn.grupospotlight.com/nav/navbar.css"> And this one…
javascriptasked 7 years, 11 months ago Bruno Antonio 353 -
0
votes2
answers127
viewsUpdate variable values on repeat loop
I ran a simple cash-and-deposit operation code on a variable. The code works and meets withdrawal and deposit operations normally, it happens that when I want to do a new operation, the value that…
-
5
votes1
answer166
viewsProblems with mouseenter() and mouseleave()
When I hover the mouse on the first link with the show_post class it displays the correct div it has to display, but when I hover the mouse on the second link the script opens the 2 Divs and not…
-
0
votes1
answer77
viewsHow do I change the background color of the element if there is a child element?
I have the body tag and the background color will be changed if there is a div.login as a daughter. ... <body> <div class="container"><div class="login"></div></div>…
sassasked 6 years, 9 months ago fabiano.campos 1 -
3
votes1
answer77
viewsDouble Binding is not working with Angularjs
<div ng-controller="TestController"> <div class="col-md-6 col-md-offset-2"> <table class="table table-bordered"> <tr ng-repeat="column in columns track by $index" >…
-
6
votes1
answer290
viewsGenerate an APK on a server
I was thinking of an architecture that would work as follows. The user would have a series of parameters to fill and generate code automatically, then to click on in a Buttom, be it in version web…
-
4
votes2
answers175
viewsShould I make sure the threads end at Dispose?
There are already some questions about the interface IDisposable and the using, for example: What types of resources are released in a statement using I should always use Disposis Still I’m not sure…