Interesting questions
-
1
votes1
answer148
viewsHow to send Json to another Activity?
How to send Json to another Activity? public class SolicitaDados extends AsyncTask<String, Void, String> { @Override protected String doInBackground(String... urls){ return…
-
-1
votes1
answer85
viewsCurrency formatting in input calculation
The script idea is correct. I just couldn’t put the currency formatting in the "minimal preco_n" field (with value script). If I put real currency formatting in that input, it does not calculate.…
-
1
votes1
answer4781
viewsVue.js with pure PHP
I’m starting at the Vue.js and now I’m in a moment that I can not do. I need for example connect in PHP and select the Mysql to bring some data. I do not know how to proceed in Vue.js, I’ll put the…
-
5
votes1
answer1794
viewsOnly get user name in AD
With this code, I bring everything, Dominio/User. ViewBag.User = System.Security.Principal.WindowsIdentity.GetCurrent().Name; I would like to bring only the user name. I can take all this, and take…
-
2
votes1
answer5249
viewsHow to use view variables in Laravel 5
I am developing a project of "loans" of things of a company and I am locked in a module of keys. So I don’t have much experience in the Laravel, so I came across the following situation: Database -…
-
0
votes1
answer647
viewsDecode JSON return faster
The System captures the user’s address through the ZIP code, I am using the Viacep, I do a front-end validation with jquery validate and a back-end with PHP, the validation with jquery takes the…
-
3
votes3
answers4462
viewsHow to display the result of a form on the same page?
I have a form that gives me the result on another page, but I would like the result to appear on the same page. <form name="calc" method="get" enctype="multipart/form-data"…
-
4
votes1
answer2064
viewsSolr, Lucene and Elasticsearch what are the differences? When to use one or the other?
What is the difference between Elasticsearch, Solr and Lucene? When using one or the other?
-
0
votes0
answers14
viewsTDD with Jest and sequelize - POSTGRES Migration error for SQLITE
I am implementing TDD with Jest in a Node with express application, my database is POSTGRES and I have several sequelize Migrations already configured, and for my test scenarios I am running these…
-
-1
votes1
answer66
viewsMargin does not push content to the center
I recently asked a question because my margin top did not push my div down, following the example in the previous question I was able to solve, but now, using the same explanation of the previous…
cssasked 5 years, 3 months ago Fernando Munhoz 163 -
0
votes0
answers60
viewsHow to calculate the next available house?
I’m doing a project right now and I’m having a problem with an algorithm. Taking into account the 4 directions ( North,East,South,West), if the user chooses one of the 4, should be allocated the…
-
1
votes2
answers167
viewsHow to limit a function parameter so that it is an element of a set?
My intention is to define a function that allows to simulate the execution of a deterministic finite automaton (DFA) datum. According to the formal definition a DFA is the 5-upla M = (Q, Σ, δ, q0,…
-
-1
votes1
answer24
viewsHow to display elements of specific sizes belonging to a list using lambda and filter functions?
In that code I wrote: lstNomes = ["casa", "google", "escola"] lstFiltro = list(filter(lambda x: x <= "5", lstNomes)) Is returning the empty array: [] I wanted to know how I get the element inside…
-
0
votes1
answer56
viewsHow can I replace this regular expression using Beautiful Soup
Currently I use this expression to extract everything below the tag <b> until I find another tag <b>: blocks = re.findall(r'<b>.+?<b>', str(element)) How can I do the same…
-
1
votes1
answer570
viewsTFS unable to locate part of the path
I’m trying to check in a project for my repository at visual studio online (Team Fundation Service). But I’m getting the following error message: Someone’s been through this trouble?…
visual-studio visual-studio-2015 team-foundation-serverasked 7 years, 7 months ago Matheus Saraiva 2,157 -
0
votes0
answers22
viewsHow to place the RSS Feed next to the Google Map API
Good morning, I’m trying to make a small HTML page with a Google Maps API and an RSS feed. However, I am unable to put my RSS feed on the right side of the API. Can anyone help me? Here is the…
-
2
votes1
answer97
viewsProblem in condition to handle string
It was only supposed to work with lower-case letters and when it arrived at symbols it did not change, but they are being changed. What’s the problem? #include <stdio.h> int main() { char…
-
2
votes4
answers1977
viewsSelect All checkbox by clicking a checkbox
I looked for the solution here in the forum, however they did not work. I want to select all the checkbox by clicking only 1 checkbox (selects all). Follows my code: <script…
-
1
votes0
answers49
viewsHow to partition an avi video using ffmpeg commands
I would like to partition a video in avi format into multiple files using ffmpeg. I found some commands on the web: ffmpeg -i input.avi -vcodec copy -acodec copy -ss 00:00:00 -t 00:12:00 1.avi…
ffmpegasked 6 years, 9 months ago Rodrigo Brito 43 -
-2
votes1
answer105
viewsHow to create a Constructor when there is if/Else and external variables?
I have several variables like this, that call an HTML element always with the same name: var $inputFromA = $(".inputFromA"); It’s at least 10: inputFromA, inputFromB, inputFromC… All these variables…