Interesting questions
-
5
votes2
answers954
viewsExhaust character
I’m having trouble understanding the escape characters, I already know that the \n break line in a string, but the other characters could not understand. Ex: \a \b \f \r \t \v, found the…
c#asked 10 years, 8 months ago Samuel Renan Gonçalves Vaz 720 -
-2
votes3
answers188
viewsRead two notes and display a string according to the average between them
Make a program that receives two notes, calculate and show the average and the message that is in the following table: 0,0 - 4,0 Reprovado 4,0 - 7,0 Exame 7,0 - 10,0 Aprovado print('ATIVIDADE 2…
-
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 12 years, 5 months ago Vinny Oliveira 77 -
0
votes1
answer24
viewsPlace all items inside a folder in the firebase database
I’m trying to take all the items in the database and put them in a folder. When I went to the database I forgot to put the directory for the items to go to a folder…
-
0
votes3
answers204
viewsOrder by or filter in Sql Server
It’s possible to use order by or some filter in Ner Join or left Join or I’m trying to do it wrong. I need to bring in a query a column that is in a daughter table, but I need it to be the column of…
-
0
votes1
answer123
viewsCron job that runs a bash script (which runs a python script) behaving differently than when executed manually
Hello.. I have a python script that plots two different graphs and that needs to be run daily to update these graphs on a website The data that is used by this script, is in a certain directory in…
-
-3
votes4
answers117
viewsHow to simplify javascript "getElementByid"
I was wondering if it is possible to simplify this instruction when clicking on imputs. I can put input-smtpname, input-smtplogin.... etc...? document.getElementById('customSwitch1').onchange =…
javascriptasked 6 years, 3 months ago Gleriston Castro 11 -
2
votes1
answer518
viewsAttach File to Gmail via Intent
I have a problem... When I try to open Gmail via Intent to attach a file, it pops up the part of writing a new email, but it doesn’t attach my file. The PDF is inside a folder of the app itself with…
-
3
votes2
answers349
viewsHow to calculate the result of an arithmetic expression contained in a tuple respecting the operators' precedence?
I have a tuple containing the tokens of an arithmetic expression: ('5', '+', '2', '*', '5'). I tried to calculate the result of the expression, but it is not respecting the precedence of the…
-
2
votes1
answer403
viewsTable is not generated in Oracle database
That normal wheel: create table M_VENDEDORES ( ID_VENDEDOR number (10,0) not null, NOME varchar2 (100) not null, CPF number (11,0) not null, ENDERECO varchar2 (100) not null, NUMERO varchar2 (10)…
-
1
votes1
answer452
viewsSolve mathematical expressions in java using string
I cannot make this code solve the expressions contained in the database. In the database, the expressions are like this: All expressions registered in the database follow the pattern described…
-
1
votes1
answer180
viewsHelp with post login menu in JSF in Javaweb
Talk to the guys, all right? I’m making a project manager in Javaweb with Hibernate, TDD, MVC, JSF, Primefaces and more I don’t remember kk, Next, when I log in to my project I make the menu appear…
-
3
votes3
answers2223
viewsHow to group for weeks using sql?
I have the following problem . I have several requests , and I want to group them for weeks. I’ve seen several examples ,almost none helped me, I wonder if there is a function that when you put it…
-
-4
votes3
answers89
viewsWith putting together a query on Eloquent?
How do I put this query in Eloquent? SELECT juros FROM tbl_parcelas WHERE 2500 BETWEEN tbl_parcelas.valor_min AND tbl_parcelas.valor_max CODE: DB::table('SELECT juros FROM tbl_parcelas WHERE 2500…
-
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…
-
4
votes1
answer926
viewsLoad data during page scrolling with jQuery
I need help to complete a code I’m developing. How can I do, so that when the user enters the page already appear the last 8 posts, and when the user gives the scroll, load the posts, within a loop,…
-
0
votes1
answer54
viewsError "Argument of type is not Assignable to" in function with Rest parameters in Typescript
I got a guy Role which must be a roles object key and a function that returns all keys: export type Role = keyof typeof roles; export function allRoles(): Role[] { return Object.keys(roles) as…
-
0
votes2
answers43
viewsHow to pass product information with parameters and pull in shopping cart?
i am new in the programming area and am creating an Ecommerce, until I came across the following situation when submitting my form via ajax. Items sold on the site have parameters, for example: The…
-
3
votes0
answers44
viewsCustomer Management with Oauth
Good evening, everyone I’m starting to study Oaauth, and doing some tests using twitter and google. But I had the following doubts for the given scenario, for example: After developing a Rest API,…
oauthasked 10 years, 7 months ago Van Oliveira 91 -
0
votes0
answers75
viewsStart reading the beginning of the string list
How do I after adding a string to a list (can be on list A or B), my code goes back and starts reading the beginning of the string list, or the first string? I have a list with 20 strings. But it’s…