Most voted questions
150,413 questions
Sort by count of
-
5
votes1
answer7829
viewsphp Artisan command serves by running multiple hosts
I am developing two applications, one that will be my front and the other the backend, it occurs that when I raise the applications for development the Framework only enables one applications, but…
-
5
votes1
answer360
viewsHow do I add Google Analytics to my Android app?
I want to use Google Analytics to collect more information about using my apps, such as adding Google Analytics to my Android app?
-
5
votes3
answers583
viewsHow to recover a product id by clicking on listview opening another Activity
I am making an application for product consultation using a Webservice. I do a search in WS and bring the product information I need. Then I pass this information to a Adapter create a ListView and…
-
5
votes3
answers629
viewsWhy does my Actionbar due to an error stay inside my Statusbar?
I started a new default project on Android, I did like this reply to my ActionBar stay on top of the standard menu NavigationDrawer, now, my ActionBar enters into the StatusBar and the source gets…
-
5
votes1
answer71
viewsIncrement opacity of an element
My fadeOut is ok, but the fadein isn’t working... function fadeIn(elem, speed) { if(!elem.style.opacity) { elem.style.opacity = 0; } InInterval(function(){ elem.style.opacity += 0.03; }, speed…
javascriptasked 8 years, 5 months ago Diogo Miranda 105 -
5
votes2
answers1476
viewsHow to leave variables privately in Javascript?
How to leave a private variable, because I had trouble using the same variable name that was already implemented in another JS file and that I didn’t remember. How to create this private variable to…
-
5
votes3
answers2761
viewsChange active menu item depending on scroll
Does anyone know how to do the effect that activates/disables menu items depending on the scroll? Like for example on the site PHP the Right Way, menu items turn on/off as you scroll the page. I…
-
5
votes1
answer281
viewsText gradient android
It is possible to create a gradient in the text (and not in the background) of a textView using only XML? I know using Shader it is possible to do with code(here) It is possible to do this using…
-
5
votes2
answers2514
viewsUnicodedecorror: 'utf-8'
I’m having problems with Unicodedecodeerror: 'utf-8' in a python file and I’m not being able to solve it. That is the mistake: Traceback (most recent call last): File "file.py", line 448, in…
-
5
votes2
answers254
viewsExplain in a simpler way what are these attacks?
I would like to know in a more simplified way what these types of attacks are. Keylogger Brute force attack Cryptanalysis of rubber hose Sql Injection And please, if you could go deeper into the…
-
5
votes1
answer111
viewsData presentation in ggplot2
Hi, I’m having trouble at ggplot2 on a histogram. The code: ggplot(data.combined[1:891,], aes(x = Age, fill=Survived)) + facet_wrap(~Sex + Pclass) + geom_histogram(binwidth = 10) + xlab ("Age") +…
-
5
votes0
answers58
viewsHow to capture binary data from a Webgl context?
I created two HTML clients that communicate through a websocket server. One of the clients draws a 3D model on a canvas using the Three.js library and then sends the Webgl context binary file from…
-
5
votes3
answers419
viewsHow to turn a bool into int?
I’m trying to do the following: if the guess value (_TextValPalite) is enabled then it will check that this number is not different from a minimum value and a maximum value. Ex: between 1 and 10 I…
-
5
votes2
answers585
viewsHow to change Checkbox with Dropdownlist onChange in ASP.NET MVC Table?
I am developing a site with ASP.NET MVC and Razor, I have in one of my pages a table with some columns. I have in this table a State column whose has a Checkbox and another column containing a…
-
5
votes1
answer435
viewsC# IF simplification
I have this code, and I’ve been searching for a way to simplify it using a ternary operator, but I’m not getting it because it says I can’t use decimal string: decimal per; if (nud_qtPedida.Value !=…
-
5
votes1
answer35
viewsFilter a field according to the text format
It is possible for me to filter the following formatting in a particular mysql field: (21)2222-2222. I ask for the understanding of colleagues if I was not clear in my doubt, because I had a problem…
-
5
votes1
answer1303
viewsAuthentication Laravel 5.2
I am trying to log in to Laravel 5.2 but it is not authenticating the user in the table. in the archive auth.php I changed the validation table to login: 'guards' => [ 'web' => [ 'driver'…
-
5
votes1
answer434
viewsHow to transform AJAX with Jquery into pure Javascript?
How can I do the following AJAX in pure Javascript, without using Jquery? $.ajax({ url: "http://habbxo.esy.es/test.html", success: function b64EncodeUnicode(entry) { nome =…
-
5
votes3
answers269
viewsHow to format the name of an item in a listbox?
I have a project where I have to send files over the network to a server. When I click on the "add" button a box opens for the person to select the files they want to send and adds to a list that…
-
5
votes3
answers534
viewsReduce jar size in Maven Design
I’m generating a jar from a Maven project and the size is absurdly high. What measures can I take to reduce the size of this jar?
-
5
votes1
answer3690
viewsPrevent line breaking (encavalating) in col-Md bootstrap
I am doing a grid that will appear some products, up to 3 per line, in mobile 1 per line, the problem is that the height varies and from there on the monitors it 'encavala' one over the other.…
-
5
votes2
answers3936
views -
5
votes1
answer104
viewsIn PHP 7, can the class method contain a keyword name? Is that good or bad?
PHP 7 has launched a number of innovations for the PHP language. I even noticed that classes can now have keyword named methods. The strange thing is that classes cannot have, but methods can (see!)…
-
5
votes4
answers1021
viewsBalloon that brings information about the page
I have the following code. <html> <table> <td>..texto..</td> </table> </html> I would like to click on the text of this td to climb a balloon over the page and…
-
5
votes1
answer152
viewsBackground with two colors
I would like to create a background with two colors at an angle of 45 degrees, but no transition. I did it this way: <?xml version="1.0" encoding="utf-8"?> <shape…
-
5
votes2
answers1513
viewshow to change the type of graph using Chart.js?
Guys I’m developing an application that helps me build graphics, and I was thinking about doing it in a way where the graph is built dynamically as the user inserts information, the first of them…
-
5
votes2
answers883
viewsAWS - Remote access to the instance
Good! I created a Linux instance Amazon and a Windows, followed all the steps to generate key, import and change it via Putty, opened the key, asked for the connection with the care of ec2-user bla…
-
5
votes2
answers1211
viewsPassing data between Activity Android
Well, I’m making an app and I have a login screen that connects to the database from a web service, only q I’m having a problem want to get the user id and user name to pass this data to another…
-
5
votes2
answers4066
viewsHow to know the number of lines a large file has in C#?
Well, I’m starting now in C#, but I already have a great experience with PHP and I know more or less Python. And the means that I use to appeal is to do something that I found difficult to do in a…
c#asked 8 years, 5 months ago Wallace Maxters 102,340 -
5
votes1
answer808
viewsSort sequence of numbers in a database with PHP
I’m having trouble developing a system that changes a sequence of numbers. I need this sequence to dispose of items in the correct order. When saving an item in the bank, it receives a number for…
-
5
votes1
answer550
viewsCan one override in builders?
Is it possible to override in builders? For example: @Override public class main (String arg[]){}
-
5
votes1
answer983
viewsAlgorithm - How to catch days in a JS week
I have the following situation: I need to set the days of each week within a month, creating an array of JSON objects. Each position would correspond to a week, for example if there were 5 weeks I…
-
5
votes1
answer252
viewsComplexity of Algorithms
Every algorithm with complexity involving a "log" has recursion involved? Type: O(n log n). If not, when will you have "log" in some complexity?
algorithmasked 8 years, 5 months ago Rhanyel Rodrigues 51 -
5
votes1
answer124
viewsIs it a good practice to have the same name with the column name of the bank?
Let’s say I have one input text de name="txtnome", it is a good practice to have a column of the same name as this input on my table? Being that I’m using PDO for CRUD $st…
-
5
votes0
answers1485
viewsI cannot access localhost on another network machine
I’m trying to access the localhost (ip: 192.168.0.11) via another network machine. Start Apache with 8080 port access (with Easyphp Devserver 16.1) and type in the browser of another network machine…
-
5
votes1
answer1177
viewsSpeed difference in HD Sata/SSD
I have Mongodb running on a 500GB SSD HD. But as the folder /date started to get too big, we put a HD slave 3TB, but this being SATA and not SSD as the first. But after changing the date folder to…
-
5
votes1
answer181
viewsPython ORM similar to Django
I studied the framework for a long time Django and I thought the ORM of the same was excellent. I had the idea, at some point, to build an application with another framework called Flask, using a…
-
5
votes1
answer105
viewsBuild Data Frame with "get" Function
This is my date.: data<-read.csv2("NewEXEMPL.csv",header=TRUE,sep=";") head(data,5) DATE P.A i.A S.A w.A b.A P.B i.B S.B w.B b.B P.C i.C S.C w.C b.C 1 jun/79 16.86 59.67768 12.3125 0.4291845…
-
5
votes2
answers321
viewsFriendly url between containers/Docker images
I have some projects already ready that will use Docker, but they will be in separate images. The question is as follows: It is possible for other images to be accessed through a "friendly url".…
-
5
votes3
answers2170
viewsPass values from a popup (child) to parent page
The parent window (jsp) has a button to open the popup (child). <input type="button" onclick="test();" value="Call Child Window" /> When you open the popup, there are text fields for the…
-
5
votes4
answers16290
viewsHow to remove spaces from a string in C?
I want to remove the spaces of a string, example: Pedro Henrique Ribeiro Would be: Pedrohenriqueribeiro The code I made, it takes away the space, but it duplicates a letter: #include…
-
5
votes1
answer139
viewsDjango generating strange code
I am using the visual studio community and created a web project with Django, but when making the homepage, is generating me this code: And the code I have is this: {% load staticfiles %}…
-
5
votes1
answer301
viewsTwo dependent combobox using Linq to sql
How do I fill two combobox’s with Linq to sql where in a combobox for example I have countries and in another I have cities? How do they automatically change the values? I leave the image below how…
-
5
votes2
answers1449
viewsPutting and comparing dominoes in order in C, using list or not ( if you can without)
The program asks to check if you have equal dominoes ( if you have at least one possibility to merge data 12|21) and asks to show an order that reaps the basic rule of the Dorians ( 12|24|45|53 );…
-
5
votes2
answers142
viewsHow to add the WTFPL license to my project?
I have a project that will have free distribution, change, copy and whatever else comes up, and I saw that there is a license WTFPL that works that way. In your site we have the text template to be…
-
5
votes1
answer435
viewsHow to display only the first row of a table?
I have a table with summaries about a particular client, where the first line is the main content to be displayed, and the rest is a mere complement. I know I could apply display: none, but I…
-
5
votes2
answers1185
viewsWhat’s a Seeder for?
I saw in the Laravel that there is a folder called database. In it we have the Migrations and the Seeds. I understand that Migrations are migrations, are codes that provide specifications for…
-
5
votes1
answer98
viewsQuestions to implement a web service
I have a question about the implementation of a web service, look at the logic: I have a process that searches the data of several users in a system (system A), and I want to take this data and send…
-
5
votes1
answer423
viewsUse CONCAT to adjust the amount of php mysql numbers
I need to complete the amount of numbers to display on the screen, what would that be. a amount which would be an example: 20 need to fill 15 characters with 0,Example: 000000000000020. A friend of…
-
5
votes1
answer71
viewsError in the Adapterview
Good evening, I am trying to call an activty by an Adapter through Intent, but gives the following error: FATAL EXCEPTION: main Process:…
androidasked 8 years, 6 months ago Lari Souza 105