Interesting questions
-
0
votes0
answers54
viewsState 'Undefined' with React
I am making requests to an API through 'Aces', but the following error is happening: My code: import React, {Component} from 'react' import {GridItem, Tabs, Tab, TabList, TabPanels, TabPanel, Image}…
-
2
votes1
answer274
viewsAlign label to right of icon
I have the following list of ion-item with some ion-label misaligned <ion-list id="sidenav"> <ion-item> <ion-icon name="home" item-left></ion-icon>…
-
0
votes1
answer556
viewsDoubt binary search c++
https://www.codepit.io/#/problems/5369c33df6fa9de49e5c7d0e/view? index=1 I managed to resolve this issue as follows: #include <iostream> #include <algorithm> using namespace std; int…
c++asked 7 years, 7 months ago Gabriel Neri 11 -
0
votes0
answers36
viewshasMany does not work properly
good night!! I’m trying to launch data report(groups and networks) but it doesn’t work...the group model is like this: function Redes(){ return $this->hasMany('App\rede','grupo_id','id'); } in…
laravelasked 7 years, 7 months ago Horacio Neto 169 -
1
votes3
answers44
viewsHow to index subgroups in R
What I need is to index subgroups within a group and that R brings me a specific result, line by line, depending on the subgroup. First I need to group the data by process. This I got with group_by:…
rasked 4 years, 11 months ago Rodrigo Gregorio 21 -
0
votes0
answers64
viewsDelete $_Session when logging out of browser
Hey, guys, I’m making a panel of queries with Sesssions systems. I have a little doubt about him... How can I detect if the user has closed the browser? I already tried UNLOAD(); however it detects…
-
2
votes1
answer170
viewsApplication error when switching to enable 32-bit = True in IIS7
I use Cobrebemx in my Asp.net web application to print boletos. We switched server and now when I enable the option enable 32-bits = True for the "Application pool" of said application happens the…
-
2
votes0
answers54
viewsProblem with SFML in Code Blocks Windows 32 bits
I installed SFML in Codeblocks using the instructions here http://www.sfml-dev.org/tutorials/2.0/start-cb.php So I compiled the sample code from there, which should display a window with a green…
-
1
votes2
answers1011
viewsAlign vertically to center footer items
I’m trying to align vertically to the center, items of my footer, only by the image occupy a height bigger gets misaligned, how to solve? <footer class="panel-group panel-footer"> <div…
-
9
votes7
answers91443
viewsError: Unable to find or load the main class in Java (Eclipse or CMD)?
If you ever came across the error message: Erro: não é possível localizar nem carregar a classe principal you probably won’t be able to run your code in Java. In the eclipse I came across this…
javaasked 10 years, 7 months ago Maicon Herverton 877 -
2
votes2
answers262
viewsSort string in ascending order according to numeric value
I have to insert numbers and sort in ascending order to display the result. But I’m not getting the order right. Here’s what happens: Insert yourself for example 76,3,15,35 returns ordered as…
javascriptasked 5 years, 4 months ago Ana Sofia 43 -
3
votes1
answer198
viewsMethod "include?" returning false when there is a character in the Ruby string
I’m a beginner in Ruby and I’m trying to create a Hangman game to test my language skills. In a part of the code, I need to get a letter chosen by the user and check if that letter is present in the…
-
1
votes1
answer2298
viewsPass method parameters through the URL
How do I capture the parameters requested by the URL in a webservice? For example: I have the following webservice: http://localhost/teste/WebService1.asmx/Produto How to pass method parameters…
-
1
votes2
answers156
viewsHow to use preg_match_all in this excerpt?
<div> <span class="dark_text">Type:</span> <a href="https://myanimelist.net/topanime.php?type=var1">var2</a></div>~ I need to use preg_match_all to find the…
-
1
votes1
answer646
viewsHTML editor made in HTML
I need an HTML editor, like this one http://www.quackit.com/html/online-html-editor/full/ to change between visual mode and HTML mode. The problem is that I google, I search for ready-made codes and…
-
6
votes2
answers4450
viewsHow to use openssl_encrypt encryption method?
It’s been a week that I search in everything that is site but I can not understand, I’m very curious about the use of this function but I can not find anything that explains in a simple way, someone…
phpasked 9 years, 8 months ago Otavio Fagundes 978 -
0
votes1
answer7472
viewsShare content
Good afternoon, in my html project, I put a button that when I click it shares in Whatsapp with the title I put, I wanted it to share and appear my content, showing the title, the description...…
-
2
votes2
answers65
viewsSegmentation Fault when removing list occurrences
The following code aims to remove all occurrences of an integer in a list, (linked lists), returning at the end, the number of elements removed. Give me the error of Segmentation fault. I appreciate…
-
8
votes3
answers1459
viewsHow to get only the second class with Jquery?
<td> <input type="radio" value="5" name="Form1a1" class="abobrinha Form1comentarioA" /> </td> I have 2 classes inside in my radio input, in jQuery I would like to select only the…
-
1
votes1
answer88
viewsSeries using recursiveness
I’m trying to make a show x^(n)/n! but although it seems simple I have a constraint that is: It has to be a recursive function. What I’ve got so far that I don’t even know if it’s right is this::…