Posts by Renan • 744 points
41 posts
-
0
votes2
answers34
viewsA: Travel variable keeps at 1 in the Firebase database, when button is pressed, instead of adding 1 more to the database
I was still in doubt about some things, but look at this. Inside the "Data of the Trip" you have the attribute Board and inside of Trip you an atrubuto with fixed name q would be a plate by q to…
-
0
votes5
answers54
viewsA: Close modal after saving to Bank
You can do this using the following code: $("#SuaModal").modal('hide'); An example of implementation: $.ajax({ type: "post", url: "/Receita/Create", data: viewModel, datatype: "json", success:…
-
0
votes2
answers526
viewsA: How to customize messages from Select2?
The title of the question speaks in "Customize", but in the comment it speaks in not appearing the message, so that being said, the codes below help in the part to hide and not to customize. To…
-
3
votes0
answers22
viewsQ: What is Edge Computing?
What would Edge Computing be? How does it relate to Industry 4.0 and Cloud Computing?
-
0
votes1
answer37
viewsQ: ASPNET Core - Error 500 when posting a method that returns a Partialview with only one object
I have a method in my controller called ListagemTarefasEmDesenvolvimento() that returns me a PartialView. However, when I call this method via ajax, the server gives me a status error 500. Below is…
-
1
votes3
answers96
viewsQ: Switch 3 status done in css, how can I disable the options?
I have the following code: .switch-toggle { float: left; background: #242729; } .switch-toggle input { position: absolute; opacity: 0; } .switch-toggle input + label { padding: 7px; float:left;…
-
3
votes2
answers1109
viewsA: Do if by denying a boolean in Python
You can do it like this: if not (u0 <= u <= u0+step): u0 = u0+ step # change the condition until it is satisfied else: do sth. # condition is satisfied is just an example of if, is just you…
-
0
votes3
answers1393
viewsA: What do I need to know to work with C#backend?
Well, first you obviously need to learn the language c#. If you are starting out, study . net core, and then study LINQ and lambda expressions, with them you can create a very good web application…
-
4
votes1
answer59
viewsQ: What is Fog Computing?
What would be this term Fog computing (also known as fog or fog computing) that is used in some Iot projects?
-
2
votes1
answer130
viewsQ: What is Smart Digital Mesh (Digital Mesh)?
Simply and objectively, what would be this term that many say is a trend in the area of information technology?
-
0
votes2
answers595
viewsA: Select2 does not work in adminLte + Laravel 5.8
This happens directly to me, a q way works with me is to add the Cdn call to the html head and add this js to the q page will have the select. $("select.select-menu-color").select2({ allowClear:…
-
-3
votes1
answer323
viewsQ: Aspnet core MVC - CRUD logic in the Controller, Model or Service
I came across a question, I have a very simple project here with three entities, being they Teacher, Student and Class. I created the classes at Model. Example namespace coreSchoolSimple.Models {…
-
0
votes0
answers21
viewsQ: Django - Upload image is not working
On the site already have some questions related to this, but none of them solved my problem in fact. I have a table in the database with a FK table User, in this table I put my image that would be…
-
1
votes1
answer153
viewsA: Modal flashing on mouseleave and mouseenter
Can insert the code, just put an image in the modal that ta solved. $(document).ready(function(){ $( "#test" ).hover(function() { $('.modal').modal({ show: true }); }); }); <script…
-
0
votes1
answer55
viewsA: Django - Charfield creates Int field in BD
With the increase of files in the folder in your app/Migrations directory/pychache, may cause some conflicts when migrating to the database. In this case, you have two ways to solve. First form:…
-
0
votes1
answer55
viewsQ: Django - Charfield creates Int field in BD
I have a simple project here, with two models that contain an attribute called phone in both. class Medico (models.Model): nome = models.CharField(max_length=50) endereco =…
-
3
votes2
answers1897
viewsQ: Django - Null and Blank Difference
I’m having a hard time understanding the real difference between null and blank on Django, For example: In this code, to my understanding the name field will be NOTNULL in the database, but what…
-
0
votes1
answer384
viewsA: Java project that requests two user numbers, and prints all integers between the first and the second number
Your algorithm is very weak from what I’ve seen, it’s been a long time since I programmed in java, I made a code here very fast and without testing obviously, but I believe it solves your problem.…
-
0
votes4
answers272
views -
0
votes1
answer36
viewsQ: Aspnet Core - Failed to display date in form
I’m making a system to exercise aspnet core. In the system I have a record of Transaction, that is already working correctly, and at this time I am making an option to edit a transaction that was…
-
3
votes3
answers1025
viewsA: Dropdown with click
Good afternoon, from what I understand you are not using any framework, in this case a look at this code, it shows how to do, just adapt in your code. $(document).ready(function(){…
-
2
votes2
answers584
viewsA: Transparent dropdown with bootstrap 4
Try this, .dropdown-menu { background-color: transparent; } .dropdown .dropdown-menu { background-color: transparent; } This is an example, but if possible, create a separate class to add the…
-
16
votes3
answers4406
viewsQ: Use @media, @media screen and or @media only screen and Have a difference?
I was wondering if there is any difference in css when using one of these media queries, Example A: @media(max-width:770px) { .texto{ color:red } } Example B: @media screen and (max-width: 770px) {…
-
0
votes2
answers259
views -
0
votes2
answers1014
views -
0
votes2
answers91
viewsA: What is the Hanging-punctuation property for and how?
The CSS property specifies whether a punctuation mark should be stopped at the beginning or end of a line of text. hanging-punctuation The suspended score can be placed outside the row box. /*…
-
0
votes2
answers327
viewsA: Transitions on a page
On the following sites, you can find suitable examples to add transitions between html pages using css3 libraries such as jquery. They include live demos and full code:…
-
2
votes2
answers80
viewsA: Div is not aligning CSS
I made an example, I think that’s what you need. To align items I indicate the Flexbox CSS. Take a look here: <!DOCTYPE html> <html> <head> <style> .flex-container { display:…
-
2
votes2
answers344
viewsA: In CSS, how do I, when giving a "Hover" in a text, give the image a "Scale(xx)" and underline the text?
Since a code wasn’t posted, take a look at this example, I think that’s what you’re looking for. rather than being a div, will be a picture. <!DOCTYPE html> <html> <head> <meta…
-
3
votes5
answers2803
views -
0
votes2
answers2473
viewsA: How to align an image to the right with in CSS and HTML?
From what I understand that’s what you need. Look at the code below. <style type="text/css"> #esquerda{ float: left; } #direita{ float: right; } </style> <div id="banner"> <img…
-
1
votes2
answers626
viewsA: Resize photos from Bootstrap and Javascript
Victor, See if this solves your problem. From what I understand, this will help you. Give your image a fixed dimension using CSS such as: .carousel-inner> .item> img { largura: 640px; altura:…
-
2
votes2
answers134
viewsQ: Disable Scroll for a period of time
I have a function that creates a load block that lasts 1 second on the screen, I need that when I call this function, the page scroll is disabled for 1 second as well. After that 1 second scroll…
javascriptasked Renan 744 -
1
votes1
answer46
viewsQ: C3js - Show circle only at the last point of the chart
My chart currently has all the dots hidden ( the dots I refer to are the "dots" circles), but I need it to show the dots only at the last dot. Look at this picture to see exactly what I need. As you…
-
2
votes3
answers1432
viewsA: Convert Double to Integer
See if that example helps you. double pi = 3.14159; int i = (int)pi;
-
2
votes1
answer584
viewsA: When to use span, hn and p tags
Span The HTML element <span> is an online Energy container for phrasing content , which does not represent anything by nature. It can be used to group elements for style purposes (using the…
-
3
votes2
answers945
viewsQ: Button that leaves the full screen
I have a button that when clicking on it the screen becomes full screen (does the same thing as F11). However when I click the button again, it does not leave the full screen. I need that when…
javascriptasked Renan 744 -
-2
votes3
answers1134
viewsQ: Create DIV with border crossing the title
I need to make a div that has a border of 2 px, but this div has a title and I need this title to be centered with the border. View and image: How can I do that? I searched here on the site but…
-
0
votes2
answers166
viewsA: Centralize CSS/HTML menu
try this #nav ul { display: inline-block; list-style-type: none; } Source : https://stackoverflow.com/questions/5995405/how-to-center-a-navigation-bar-with-css-or-html…
-
0
votes2
answers47
viewsA: problem when leaving items horizontally in a div
Good morning, my friend, see if this helps you. #container { display: flex; /* establish flex container */ flex-direction: row; /* make main axis horizontal (default value) */ justify-content:…
-
-1
votes2
answers767
viewsA: Difference between local variable VS global variable
I’ll tell you what I know about this. Answers: as far as I know there’s no difference. yes. ram memory. yes! A local variable can only be used within the method it was created, that is, if you try…