Posts by Rafael Cabral • 592 points
22 posts
-
0
votes1
answer304
viewsQ: Web Application for Script Monitoring
What is the best way to monitor the execution of a script? I have a.py script that needs to be running "endlessly", and I would like to know if it is running or not. I would like a web application…
-
0
votes3
answers149
viewsA: How to delete a DIV if there is a word in another DIV in jQuery?
You can use the :contains(), that checks if the element contains the value passed as parameter. See below how to use. $(document).ready(function () { $('#button').click(function () { if…
-
5
votes1
answer14471
viewsA: Remove PHP from Ubuntu 14
With the command below, you remove all packages that the name starts with PHP and everything related to it sudo apt-get -y purge php.* You can see more about this here…
-
2
votes1
answer57
viewsA: Include in <head> Djanto Templates
So the problem was in the file encoding .HTML, I opened the file in a text editor, and saved it as UTF-8, and corrected the bug. The browser was generating a special character that was considered…
-
2
votes1
answer57
viewsQ: Include in <head> Djanto Templates
I have the following files: base.html: <!-- base.html -- --> <html> <head> <title>Title</title> {% include "head.html" %} </head> <body> Body </body>…
-
1
votes4
answers444
viewsA: Incorrect date on return of json
On the return of your date you can convert it to ToShortDateString, ai in your ajax’s Success it already comes formatted Example: DateTime.Now.ToShortDateString();…
-
4
votes3
answers3063
viewsA: Check whether "1" list value contains "2" list
you can do so: #LISTA 1 track_list = ['iphone 6', 'iphone 5', 'moto x2', 'galaxy s6'] #LISTA 2 tweets_data = ['Eu queria um iphone 6 sérião', 'nao gostei do moto x2', 'iphone 5 é coisa do passado']…
pythonanswered Rafael Cabral 592 -
1
votes1
answer931
viewsA: Where can I find Microsoft.Reporting.Webforms.Reportviewer dll?
You can install via nuget Go to Tools>Nuget Package Manager > Package Manager Console And install the package with this command: Install-Package Microsoft.ReportViewer.WebForms…
-
1
votes2
answers32
viewsA: Problems saving information to a database column
Voce forgot to pass table field in query $sql = mysql_query("UPDATE jogador SET campoTabela=$pont WHERE cmbjogador= $id );
-
-1
votes2
answers1501
viewsQ: How to get JSON from an external url
I’m trying to catch a JSON from an external page, I’m using the dataType=jsonp, but only that the url, returns me a JSON and the following error: Uncaught Syntaxerror: Unexpected token : The JSON…
-
1
votes2
answers490
viewsA: Error installing Visual Studio 2013 Community
I had this same problem because my windows 7 version was too old, activated the automatic updates, appeared some updates, I updated and worked. I recommend you do the Windows updates.
-
4
votes3
answers1166
viewsA: Write Timespan in full
Just to add more content this is my somewhat similar solution, where I pass a datetime as a parameter: public static string TimeAgo(DateTime dt) { TimeSpan span = DateTime.Now - dt; if (span.Days…
-
1
votes2
answers1854
viewsA: Pagination C# MVC Asp . NET
You can use the Pagedlist MVC. It will help you a lot! You can do this step by step here, that will teach you to use. Install, open the Package Manager Console and install via the Nuget command:…
-
3
votes2
answers1428
viewsQ: Send objects to a base.html Django template
My situation is this, I have a file base.html where more than one page extend in it. My question is, how do I send two objects to this file, so that these objects are shown in all other views, which…
-
3
votes4
answers14354
viewsA: Line break in bootstrap
You can use the .row that Voce jumps down without spacing, but if you use the class form-group You can already get a spacing between the fields above and below. can look a little more on this one…
-
12
votes4
answers17968
viewsQ: Remove elements from a Python List
I have a problem with lists in Python. I have a list of 2 different variables with the same value, but if I remove an element from any of the lists, the list that was meant to be intact also has its…
-
1
votes1
answer103
viewsA: Doubt about iis 6 with Asp.net mvc
Yes, the . NET 4.5 cannot be installed on windows server 2003. but as Voce said there, there is a way to change the version of your project. If you use visual studio, do the following: Open the…
-
0
votes3
answers166
viewsA: How do I make an Alert?
It is possible yes, it can do this way: if (confirm('Deseja mudar de pagina?')) { window.location.href='http://google.com'; } else { // fica na pagina } You can use javascript, you can look at this…
-
-1
votes3
answers664
viewsA: Problem with window.open() JS
use window.location.href, and puts a bar after the link, ` window.location.href("http://www.webmotors.com.br/"+link);
-
2
votes1
answer102
viewsA: Problem with page return according to C#profile
tries to use this in place of redirect: return RedirectToAction("NomeDaAction");
-
0
votes2
answers1229
viewsA: Scroll through a table (grid) Razor MVC
you can pass this value as parameter. [HttpPost] public ActionResult Salvar(string Valor) { //passe o tipo }
-
1
votes2
answers861
viewsA: Datepicker Asp.Net
You can use HTML5, it’s quite simple <input type="date"> PS: not compatible with IE…