Interesting questions
-
1
votes0
answers274
viewsCapture photo sequence and save automatically on Android
I am trying to use my android camera in an application so that when taking the first photo I am not redirected to the home screen. Currently the application is as follows: When clicking on "Take…
-
6
votes2
answers2640
viewsSum days on input date
I have a input date type, I would like to add to it 7 days and put this value in another input also date type, I tried to do so: <script> $('#txtSolicitacao').on('blur', function(){ data =…
-
0
votes1
answer130
viewsShow xml nfe tag value in datagridview columns
I have a little problem because I am reading the tags of an xml of Nfe, but I am not able to show in the columns of datagridview, my code is reading the correct tags, but do not notice anything in…
c#asked 7 years, 7 months ago Junior Guerreiro 617 -
5
votes1
answer753
viewsWith CSS is it possible to make a triangle with curved edges?
My intention is to get into this form. Only with CSS without SVG. Does anyone have a solution to this? The code I have so far is this. #tri { width: 0; height: 0; border-top: 0px solid transparent;…
-
3
votes1
answer723
viewsHow to center figure with max-width set?
I’m trying to centralize a figure with max-width defined. By centering without the max-width, right. But the background exists in it gets 100% and not centralized together with figure. For that I…
-
1
votes2
answers86
viewsModel, relationship with Dataannotations
If I have an entity Customers public class Cliente { public int ClienteId { get; set; } public string Email { get; set; } public string Nome { get; set; } } If I create a Boleto entity public class…
-
2
votes2
answers832
viewsLoad JS on mouse Hover
What technique did this widget use on blogger(?): http://tecplate.blogspot.pt/ When placing the cursor over the author’s name of the post, it loads a js with a popup. The idea is to use this to…
javascriptasked 11 years, 8 months ago Vinny Oliveira 77 -
1
votes1
answer109
viewsUsing Strong Attributes with Rails 4 and has_one relationship
I have a relationship has_one similar to its where a :person has a :address. It turns out that the relationship is generated but the street that I put in input :street (address attribute) is not…
-
1
votes2
answers144
viewsImproving Paging Scheme - PHP and Javascript
On the site I took over from a client, some pages have a pagination scheme. For example, a news page that shows record of 100 published news appear 7 news per page. The pagination will show me from…
-
0
votes1
answer28
viewsworking with dates
Could you help me please, I have a column service date that based on it brings me the last day of that month and I calculate that data_final_month + payment deadline and from there I can know what…
-
0
votes1
answer279
viewsHow do I check the browser type, version and if support Javascript?
I need to identify the browser, the browser version and if it is enabled to run javascript. In previous versions of Asp.Net I checked Global.asax using the command Request.Browser.JavaScriptbut this…
-
-2
votes1
answer86
viewsHow to skip line after comma of a variable stored in the Mysql database
In the view.php file, I need to display a field that is already stored in database, of the type sweep, but when displaying I want the text to be shown skipping lines when finding the comma character…
-
4
votes1
answer4379
viewsDifference between sorting methods Selection Dort, Insertion Sort and Bubble Sort
I’m studying the discipline data structure and I’m developing C programs++. I know basically these three types of ordination (Selection Sort, Insertion Sort and Bubble Sort), but I don’t know in…
classificationasked 9 years, 3 months ago user28366 -
2
votes1
answer109
viewsImage in C# Windows Forms
I’m doing a new project using C# windows Forms, and I needed to open an image and rotate it only horizontally. I looked for some examples on the Internet, but I couldn’t find one that was clear.…
-
-3
votes2
answers157
viewsHow to optimize this code?
A music loop is an excerpt of music that has been composed to repeat continuously (i.e., the excerpt starts again every time it reaches the end). Loops can be scanned for example using PCM. PCM,…
-
5
votes3
answers115
viewsRegular expression of citations in R
I would like to extract all reference keys I use in a document markdown beginning with the character @. Here is an example of the different ways I can quote a document using this key: line <-…
-
0
votes0
answers32
views"Error in Optim" using Hurdle Model
I have a data set, where the response variable of my study has many zeros; therefore, I decided to understand the influence of predictive variables using a "Hurdle model". Look at my code: fórmula…
-
-2
votes2
answers57
viewsRecyclerview does not display data
I have a problem where Recyclerview does not render on Activity. Textviews load normally. In the Emulator I use level 24 or 30 Apis and physical applications. This appearing this way, the Recycler…
java android android-layout android-recyclerviewasked 4 years, 11 months ago Filipe IKOGNYT Andrade 1 -
2
votes2
answers349
viewsselect and count checkbox
I cannot hit the code below: the total variable does not sum in countCheckedCheckboxes. And when you click the button mark all but uncheck some and click on the button again what was marked descends…
javascriptasked 9 years, 3 months ago user60252 -
0
votes1
answer88
viewsOrderby does not work in java
I have the following structure: a contract, has several additives then I have my contract class and my additive class in contract class, I call it: @OneToMany(mappedBy = "contrato", fetch =…