Interesting questions
-
0
votes1
answer23
views$("body"). delegate in Plain javascript
I’m implementing a class calendar events, but when I click the button to go to the next month or earlier, the div events of the selected day of the click event no longer work. If I use the…
javascriptasked 6 years ago Marcio Andre 31 -
2
votes2
answers672
viewsEdit a file name using Python
I am working with hundreds of pdf files, I have to rename them with the folder name where they are allocated. for example: pasta |--- pastajoão |-- celular.pdf |--- pastamaria |-- caderno.pdf has…
pythonasked 6 years, 3 months ago user172268 -
1
votes1
answer64
viewsDynamically manipulate webcontrol element
There is how to manipulate webcontrols name dynamically? ex: I have 90 Textbox textBox_01_name textBox_02_name textBox_03_name textBox_04_name ... today I have the following code if…
-
3
votes2
answers246
viewsUpload xml file to Gridview?
In my project, I need to select an XML file (table) from my tablet and then read its contents and show in a Gridview. I don’t know how to start, does anyone have any idea how? I think with the…
-
1
votes1
answer1531
viewsValidate password using Laravel
I have the following form My password fields are like this: <div class="form-group {{ $errors->has('senha') ? ' has-error' : '' }}"> <label for="senha">Senha</label> <input…
-
1
votes1
answer259
viewsError md5 when renaming upload php file array
I have the following code that uploads multiple files: <?php if(isset($_FILES['files'])){ $errors = array(); foreach ($_FILES['files']['tmp_name'] as $key => $tmp_name){ $file_name =…
-
-2
votes2
answers1565
viewsImport: No module named 'chatterbot'
Anyone help me? My code gives the following error: Traceback (most recent call last): File "main.py", line 1, in <module> from chatterbot import ChatBot ImportError: No module named…
-
0
votes1
answer204
viewsHow to define Dart parameter
class Checkbox extends StatelessWidget { final String title = 'Checkbox'; // final String value ='CheckboxValue'; @override Widget build(BuildContext context)…
-
3
votes1
answer353
viewsCan I set up Gitlab-CI to only run a particular job with a branch name Pattern?
I’m using Gitlab for code evolution management. It’s all quiet about it. Usage merge-requests to review code changes. I also generally use the Gitflow, only using the name rc-* for launch branches…
-
1
votes1
answer59
viewsDuplication of jQuery event
Test scenario index <!DOCTYPE html> <html> <head> <script src="https://code.jquery.com/jquery-3.3.1.min.js"></script> <title></title> <script…
-
1
votes1
answer56
viewsCheckbox values in array session as string
I intend to join in a array the values of a checkbox but how string and so that they are separated by array('string1','string2'), to be able to use in a mysql query IN('string1','string2'). These…
-
0
votes1
answer167
viewsFind more than one standard re python?
I’m trying to rename files using regex in python, with only one standard works: def new_string(pattern): text = pattern.group().lower() renturn "{}_{}".format(text[0], text[1]) regex =…
-
-1
votes1
answer52
viewsHow to apply str_replace only in identical terms?
I created the function below: function setFamiliarURLsInsteadOfNames($FamURLsList=array(), $texto){ if(!is_array($FamURLsList) || empty($FamURLsList)) return…
phpasked 6 years, 3 months ago Diego Borges 43 -
2
votes0
answers163
viewsSocket + SSL does not work PHP
Good morning, I have a system that uses a chat created by me and your communication by socket, all in php. The point is, I asked hostgator install the SSL in the domain, it has been installed and…
-
1
votes1
answer321
viewsUpdate carrinho codeigniter
I’m having a problem updating the quantity in a shopping cart using codeigniter, because whenever I update and the cart has for example 3 items, the cart only updates the last item and does not…
codeigniterasked 9 years, 6 months ago Flavio Domingos 75 -
0
votes1
answer123
viewssave an object list
I have an object called message and another one called frames.. That is, in my application I can have a list of frames related to the same message. I already have this list in my ManagedBean, now I…
-
0
votes0
answers77
viewsError: Could not find or load main class in module Pdvapplication
I can’t run the PDV application to test. I cloned the project from github to my folder and ran it using Maven in the Intellij IDE. Inside the Intellij the main is this below. It runs error-free on…
-
4
votes1
answer616
viewsThread problem
public class ThreadTest implements Runnable { private String word; private long time; public ThreadTest(String word,long time){ this.word = word; this.time = time; } public void run() { try {…
-
1
votes0
answers197
viewsPHP 7 (Debian) connection error with Sybase 16
I have the following difficulty: I need to configure the PHP environment to connect to a Sybase 16 base. I am not a PHP programmer and I am helping another colleague. Everything that has been tried…
-
-1
votes2
answers558
viewsJava Calculator Problem Using Switch Case
Hi, I have a problem with calculator, when you enter the switch case, does not change operation and does not resume to default. package aprimoramentos; import java.util.Locale; import…
javaasked 6 years, 2 months ago user174054 7