Interesting questions
-
-2
votes1
answer1037
viewsDownload a torrent with python
How to download torrent files with Python in a simple way? There is a library in python that does this?
-
0
votes0
answers195
viewsUPDATE of information in the database with PHP using PDO
I’m trying to do an update after sending the data through the form but I can’t, it just doesn’t update anything. I check the data by $_GET['id'] and the $_POST is passing values and everything is…
-
-1
votes1
answer21
viewsHide menu, show Sticky
I am making a site in wordpress, but my problem is that, I want to hide the menu by default and make appear only the Sticky menu. How can I do this with javascript? I’ve tried and searched, but I…
-
0
votes1
answer278
viewsMongodb - Add documents that have a certain value within an array
Hello, thank you for your attention. If I have left any questions, please let me know. I found a problem that is driving me crazy. I have the following collection: { "_id":…
-
1
votes0
answers126
viewsSend objects larger than 5 Gb using Amazon S3 SDK
I’ve been using the Amazon S3 SDK for cloud server communications for a while, called Dreamhost or Dreamobjects. My application uses files for my Buckets. However, I started having problems because…
-
0
votes1
answer94
viewsHow to import CSV files from a same level folder (and/or above) in Python?
I have already searched several topics here, unsuccessfully however. So, if there is already an equal question, please forgive me and indicate a solution. My project is articulated as follows:…
-
0
votes0
answers17
viewsAutomatically generate post titles based on custom fields
all right? I am creating a website, unde will be registered several units of this company, in several cities in Brazil. I created a post type called drive and among the custom fields I created using…
-
2
votes2
answers48943
viewsHow to change the color of a single link?
How to change the color of a single link? I’ve tried to go on "Modify - Page properties - Links", however the settings that are put there go to ALL links, and is not what I want on my site.…
-
1
votes2
answers1049
viewsAdd values of different selects
Good morning To all, I have two select, I am showing next to each other, I need to add the value of one select to the other .. Is that possible? the two select are separate tables, I am displaying a…
-
2
votes1
answer44
viewsDoubt with "minor" in Visualg
I started a course of algorithms and I like it a lot! But lately I have been quite complicated with the question of "minor" in some situations. Follows the question: Create a program that reads the…
visualgasked 4 years, 9 months ago Lucas Silva 23 -
0
votes1
answer128
viewsPython and the ipaddress module
Hello, I have a TXT file containing 340,000 lines of decimal IP addresses, for example: 16777262. Using the ipaddress module I can convert the decimal to the punctuated format '1.0.0.46'. As…
-
1
votes1
answer99
viewsPHP and json how to print?
Could someone help me print each of these elements of this Json using php.…
-
1
votes0
answers536
viewsHow to encrypt a file using c#?
I need to create a function to encrypt files using the Caeser method without using the ready-made functions of the C#library. My code does not work for large files the computer hangs: public static…
-
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…
-
-2
votes1
answer1337
viewsIs there a way to add column comments in the same command as create table from Oracle?
There is a way to add column comments in the same command as the oracle create table, just as it is possible in Mysql? CREATE TABLE user ( id number COMMENT 'unique ID ' )…
-
0
votes1
answer107
viewsWhy does the class accept parameter and the method does not?
I’m studying classes in Python and I don’t understand one thing: considering the last two command lines below, why the value 4 is accepted in the class Operators and not in the method metade()? Do…
-
2
votes0
answers63
viewsData filter does not load six blocks as in "ALL"
Entering a category does not load six blocks coming from the bank fingered as in "ALL" only those that have already been loaded in all. I need you to press the same in ALL, for each category load…
-
4
votes1
answer71
viewsSum returns Nan for values above 999
I have a function that calculates subtotal + ascrescimo - desconto, but I went to test a value above 999 it returns NAN. //função para calcular o total da nota function calcular() { var soma1 = 0;…
javascriptasked 7 years, 4 months ago frodrigues 181 -
1
votes2
answers584
viewsMake a General Sum with all fields
I have the following tables: tb_product, tb_movement COD_PROD | DESCRICAO | TIPO | |01 | CEBOLA | ALIMENTO | |02 | ARROZ | ALIMENTO | |03 | CARNE | ALIMENTO | |04 | COCA-COLA | BEBIDA | |05 | PINGA…
-
-6
votes1
answer57
viewsHelp checking
I’m with making a record that I need verification prints an error if any of the options are changed. My code: $(document).ready(function(){ $("#concluir").validate({ rules:{ usuario: { required:…