Interesting questions
-
1
votes0
answers36
viewsIs it possible to make a related Entity possible to display with Odata Expand (Webapi)?
Hello, I have a question regarding the following situation: I have an Entity that I defined in my model as Tasfafreq public partial class TarefaFreq { [Key] public int ID { get; set; } public string…
-
0
votes1
answer43
viewsWhy did I repeat it twice to get the answer right?
Find, in any vector of integer values, a certain element of this, given its value in php: <?php $vet=array(3, 9, 7, 5, 6); $chave = 9; // valor que se deseja localizar $nao_localizado = true;…
phpasked 10 years, 2 months ago Rebeca Queiroz 9 -
1
votes1
answer158
viewsHow do I test Htmlhelper, Ajaxhelper and Urlhelper methods?
I wrote some extensions for the MVC helpers. The problem is that I don’t know how to test these methods since I don’t have these objects in a test unit. How do I test the methods I created?…
-
0
votes1
answer23
viewsimport android.content. *
When I add the line "import android.content. *", it turns gray. Without it I can’t open another activity. I tried to create a new project, but it still has the same problem. Does anyone know what it…
-
1
votes1
answer108
views'app-welcome' is not a known element Angular 2+
My components are organized as follows: app module. src/ App.Module.ts: Importa os módulos dos componentes <br> App.Routing.module.ts: Rotas raiz do sistema Bemvindo.module src/app/components/…
-
0
votes1
answer25
viewsHow to change the Translationx property of an element through x:Name?
I have a XAML with the following structure: <swipeview:SwipeCollectionView ItemsSource="{Binding Items}" x:Name="swipeListView"> <swipeview:SwipeCollectionView.ItemTemplate>…
-
22
votes5
answers7447
viewsHow to prevent spam in contact forms without using CAPTCHA?
I am looking for a simple and efficient solution to avoid spam in contact forms. The idea is that the customer does not need to inform that he is a "person" (example CAPTCHA), the form presented…
-
0
votes4
answers1008
viewsError starting Rails Server
I’m trying to start the Rails Server but it is always returning me many errors, one of them was about the Sqlite that already corrected by downloading the Gem and modifying the require_paths no…
-
5
votes2
answers5176
viewsHow do I put an external source in my app?
I’m trying to put a custom font in my app, but I’m having too many mistakes. I’ve tried using Pixlui, I’ve tried several different codes and always error, or the application runs, but crash (app…
-
0
votes1
answer68
viewsJava Script Code Loading by Screen Resolution
Hello, I have a situation I need help with. I have a responsive site where the layout is adaptable to several screens, where the content presented and how to present will be according to the…
-
0
votes1
answer72
viewsShow mysql database data in a php/html page
I have a problem showing data from a database table on the screen. I was able to show the data but I can’t jump the line, show the data sequentially, code below. $sql = $connection->query("Select…
-
2
votes1
answer44
viewsTo continue if true
Well, I’m trying to run several downloads, one after the other, and I’d like you to start the next one after the other. The codes are these: if StrToInt(version) < StrToInt(version2) then begin…
-
0
votes1
answer48
viewsDoubt regarding the existence of an "if" in the code
Question statement: Construct a function that will receive two Strings of varying sizes and will return True or False if all characters (regardless of whether they are upper or lower case) are…
-
1
votes2
answers7350
viewserror when conver string to float in python
Hello I’m having a problem I’m not getting Contact string to float the program takes the price of a dps game converts to string and position through the character and I am unable to convert price…
-
-2
votes1
answer123
viewsFlatlist is not rendering - React Native
I’m making a screen here and I want to display a list of medical specialties, only I don’t want to have to do this manually, so I implemented Flatlist only though I’m getting the information,…
react-nativeasked 6 years ago Sarah Gonçalves 1 -
0
votes1
answer805
viewsChange favicon in a Wamp project
I used the following code inside to change the favicon of my project <link rel="shortcut icon" href="img/favicon.ico"/> It worked well on the index, but when entering the same code on the…
-
-1
votes1
answer29
viewsprint out non-repeated values
good evening, I am developing a question, it is almost complete, being able to delete repeated values sequentially, for example: 1 1 2 3 4 5 1, as it excludes 1 and 1 and leaves only 2 3 4 5 1,…
-
0
votes0
answers92
viewsCreating a Quiz in Django and Javascript
I’m doing a quiz in Django and using Javascript as well. However, I want each question to create a dictionary containing the question, options and the correct option. I was doing it that way: const…
-
3
votes1
answer96
viewsThe end of a capture in a regular expression
I don’t know which title could be better than that, because I don’t really understand technical terms related to regular expression. But let me describe my problem. I have a code, where I get a…
-
1
votes1
answer279
viewsHow to pass sentences to a variable and then display randomly
Well, I started programming yesterday in React Native and still do not understand very well how to do things.... I need to pass a series of sentences to several variables, each variable a sentence,…