Interesting questions
-
-4
votes1
answer50
viewsUse function to compare value and mark radio buttom
I need to create a function to compare value and mark radio buttom. $checklistIni = unserialize($row_rsRegistros['checklistIni']); $a = join(',', array_values($checklistIni)); function…
-
-1
votes1
answer24
viewsHow to use a repository like Package?
I started a project with create-React-library and made several customizable components with TS. A kind of Material UI. But this project cannot be public access. I previously wanted to post on npm, I…
-
2
votes1
answer1195
viewsHow to change the position of bootstrap elementals?
I wanted to change the position of elements of a page formed in bootstrap As I present in the following images as I resize the page the buttons [EN][PT][ES] change positions and I believe it is…
-
0
votes0
answers67
viewsManipulate Decimal Values in EXCEL + VB
I have an application that provides a webservice(Ws) (java) but I need to carry data to an excel sheet and print, my problem is, when I get Ws values depending on the operating system’s Reginal…
-
2
votes1
answer102
viewsProblems with C++ encryption
I’m making an encryption program that works as follows: It will read a string and then add to each character a respective prime number. Example: a(+2) b(+3) c(+5) d(+7) e(+11) = c e h k p In this…
-
0
votes1
answer38
viewsHow do I assign a function to Contextmenustrip in c#?
How do I assign a function to a Contextmenustrip that is on a Notifyicon? I have the following code: private void Thread_Notify_MouseClick(object sender, MouseEventArgs e) {…
-
0
votes1
answer34
viewsFunctions in HEREDOC PHP
I’ve been trying for a while but I can’t get the expected result, follow the example: <?php $titulo = "Título"; $foo = "foo"; function foo(){ $i = 1; while($i <= 10){ echo $i++; } } echo…
phpasked 4 years, 2 months ago user106463 -
-2
votes1
answer37
viewsProblem while uploading file
I am performing an operation where basically the client will be sending the images you want to the server. This way the way I am putting to occur the rescue is correct, but the user will not be…
node.jsasked 4 years, 2 months ago André Cabral 87 -
8
votes1
answer400
viewsIn Sass what is the difference between a mixin and a placeholder?
The two have the same end result, but do not know which is the correct or which has better performance example: %borda($circunferencia: 10px) { -webkit-border-radius: $circunferencia; border-radius:…
-
0
votes1
answer69
viewsMultiply value by taking only the first character
Personal I need a help because I have no knowledge of javascript In this script below it makes calculations according to a chosen field It works perfect for me, but my problem is in the dropdown.…
-
1
votes1
answer131
viewsSimulate keystroke - Delphi
Hello, I’m having trouble sending the keystroke in a game, I’m using Delphi, I tested functions like: SendMessage(hdle_do_game, WM_KEYDOWN , ord('a'), 0); keybd_event(65,0,0,0);…
-
2
votes0
answers409
viewsError saving data to Sqlite database
create table works, but when you set the code to save, the application compiles but does not save. Which can be? SQLiteDatabase winlife; EditText edt_meta; EditText edt_tempo; EditText…
-
5
votes2
answers68
viewsHelp with flexbox
I’m struggling to do this with flexbox. With float was very easy as it organizes easily. .slider > div > img { width: 100%; height: 100%; } .slider > div.item-1 { width: 60%; height: 500px;…
-
6
votes4
answers1095
viewsWhy can’t I release memory?
I have the following code: #include "iostream" int main(){ int* A = new int[4]; int* B = A; delete[] A; delete B; if(B == NULL) std::cout << "B = NULL" << std::endl; else std::cout…
-
4
votes1
answer65
viewsHow do I make a script work in a specific browser?
How do I make a script work only in a specific browser, for example: that works only in Chrome? And the opposite: block the script from working in a specific browser? What do I have to add to the…
-
0
votes0
answers35
viewsProblem with Regex and Java
my problem is to solve is to remove a substring from a string but ignoring accents, spaces and any special characters. I will paste the test scenarios that makes it easier to understand the problem.…
-
1
votes1
answer69
viewsTake html from a tag, including the tag itself
How would I get a piece of my html along with the tags? For example: I wanted to get this span inside the TD, in case I wanted it all together, up to the tag <span>, drew?…
-
1
votes0
answers60
viewsAttributeerror('Handler %s not found') python3 gtk3
I recently made a code in python3.x and for the interface I used a file . However when I execute the code the interface opens but does not perform any action and interpreter returns me the error…
-
0
votes0
answers110
viewsDoubt about data distribution between classes
I have a class called Socio who asks for his name, phone number... and I devised methods getters and setters. And another class called DadosDoUsuario who will ask for the information to fill out the…
-
3
votes1
answer4720
viewsHow do I put a CSS box-shadow-like effect on an Android layout?
Ex.: <LinearLayout android:layout_width="match_parent" android:layout_height="match_parent" android:orientation="vertical" android:layout_marginTop="10dp" android:background="@drawable/bg_white"…