Interesting questions
-
0
votes1
answer133
viewsadd number and delete n in python
I have the txt file: NOME,n1,n2 JOAO,8,5 MARIA,5,6 PEDRO,0,9 I want to add up the numbers, I did it this way: arq=open('pergunta.txt','r') conteudo=arq.readlines() arq.close() for i in conteudo:…
pythonasked 7 years, 5 months ago Matheus Andrade 205 -
5
votes2
answers785
viewsE-mail UTF-8 via ASP with CDONT
I am trying to send a form to an email using CDONT, but the charset is coming incorrectly and is not showing the accented characters correctly. <% Response.ContentType = "text/html"…
-
4
votes0
answers46
viewsHow to iterate a recursive array without redundancy?
I have in certain directory thousands of software package files, which in turn has versions, as for example: /var/cache/fetch/archives/python-3.5.0-1-x86_64.chi.zst…
-
3
votes2
answers179
viewsHow do I redirect a page by clicking an option from a select by google Chrome?
I am using this jquery already tried to use change also but does not run <script> $(document).ready(function(){ $("#select-native-fc").on('click', function(){ if($("#select-native-fc").val()…
-
0
votes1
answer38
viewsError exporting to excel
This below is my controller. public function atletaExport(AtletaModalidadeRequest $request){ $alunosModalidade =…
-
1
votes1
answer396
viewsReact does not render the result of this code
I am studying React and I have a problem, more precisely in the state part, where my code does not render on the screen. In this case I have a h1 and a ul and none of them appear on the screen, but…
-
-1
votes1
answer46
viewsPositioning a FORM on the page
I’m trying to put two SELECT MENU next to each other on my page. However, when I put the first it appears, when I put the second and appears in the switched position. If I invert and put the second…
-
4
votes2
answers245
viewsNested data class built from a dictionary
Consider the following: implementation: from abc import ABC # Base class DictModel(ABC): def __init__(self, model=None): if model: for k, v in model.items(): if isinstance(v,dict): setattr(self, k,…
-
7
votes1
answer146
viewsIs there a specific type for passwords other than String in . Net?
I see very commonly the use of strings to store passwords in the program memory, not only on . Net, but in all the programming languages I’ve used. At first, I don’t see a problem in it. But as I…
-
0
votes1
answer383
viewsCompare URL to PHP
I want to make a if to compare Urls, I tried using parse_url... but I’m not sure how to use it. Someone could help me out a little? <?php $url1 = parse_url ( "http://enquetegoias.esy.es" ); $url2…
phpasked 10 years, 8 months ago Fernanda Ferreira 197 -
0
votes1
answer1273
viewsCSS - Overlay action
Friends I am not very good with CSS or HTML, but I can manage with some things. I am creating my site (https://girundi.com/) just that they need a help: As I created in cargocollective the template…
-
0
votes0
answers200
viewsError running program in C "No such file or directory"
I am trying to run a program in C, but an error occurs I take the following steps: gcc -c prog.c -o prog /.prog And it turns up: bash: /.prog: No such file or directory…
-
0
votes1
answer1013
viewsHow to search for users in the database without select option
Good staff always found bad a method I use to search users in the database in a select option, when I have many records the page takes to load and only tends to get worse, someone has some idea of…
phpasked 11 years, 5 months ago Rafael Assmann 381 -
6
votes1
answer1124
viewsDoes Angular 2 replace jQuery and AJAX?
With the use of Angular 2, it is still necessary to use jQuery and AJAX or Angular to replace 100% of these 2 technologies?
-
2
votes2
answers1143
viewsPass variable with various input/select
I have a form with several input that I create with a for cycle, I pass by POST to another page and change its name as in the example: <form action="page2.php" method="post"> <?php…
-
1
votes2
answers60
viewsSave form attribute without name defined
I have a problem with a php script. The name attribute of a page receives a value that is generated by an array. What I need to do is basically generate a table in which each row has a button that…
-
0
votes2
answers71
viewsHow to do WHERE with an incomplete name to find the record that in the bank is with the full name?
Hello, I need to get the system to email the registered person on a form as the engineer in charge. Then I need to make an SQL that looks for the email from the name. So far ok. If the person type…
-
2
votes2
answers3247
viewsSeparating strings from an Arraylist with comma
I don’t have much knowledge of Java, I would like to separate the string from my List, with ", ". List<String> nomes = Arrays.asList("Paulo", "Ana", "Zeno", "Beno"); for(int i=0;…
-
2
votes1
answer132
viewsAndroid Graphic Data Listing
Good morning, I have an application where I can visualize the customer data in a graphic and listing form, I wanted a suggestion from you which component I could use in mobile to view the data in…
-
1
votes1
answer607
viewsHow to create a Listview in a Navigation Drawer?
1 My goal is this: instead of these items that come by default in Navigation Drawer I would like to put a series of Lists that will change as I create, delete and edit these lists. I tried to create…