3,013 Recommended Topics

Remove Filter
Member Avatar for
Member Avatar for razstec

Hi, im trying to set a radio and youtube playlist player my code works with radio and single youtube link but with playlist it says that the link is unrecognized, can somoene help? import os from os import path from random import randrange from tkinter.ttk import Combobox import pafy import …

Member Avatar for razstec
0
172
Member Avatar for emsanator

Hi, I'm trying to create a theme-compatible category system, but I missed some points. For example; `category_name_women_clothing` and `category_name_women_bag`, etc.. are supposed to be collapsible, but I was not successful in this. How can I make a model that opens and closes sub-categories, where am I missing? [This is what …

Member Avatar for Dani
0
163
Member Avatar for larry29936

I'd like to improve security of my website. Currently, the download filename is passed to the download script. The filenames are stored in a database table with an index number (primary key). I'd like to pass that index number to the download script instead of the filename and do a …

Member Avatar for Dani
0
116
Member Avatar for nalb4242

I have been trying to connect to watermelonDB however i keep getting this error TypeError : null isnot an object (evaluating 'DatabaseBridge[methodName]') I looked all over the network but couldn't find a solution the problem that i am not generting or writing the DataBaseBridge it should be generated automatically with …

Member Avatar for Dani
0
82
Member Avatar for pok4

Hello guys, I'm using mustache php template engine with classes. My system is extendable via extensions which is injected in basecontroller construct method... The extensions is working correctly, but in them i have html and js... I want to move html/js in external files but i need to works with …

0
73
Member Avatar for Just_3

I want to ask. I have 3 textfield. For example I just have 2 number so I fill at the first and second textField. But, if I want to calculate the value of this textfield, I need to enter 0 to the third textfield. So, I want to ask about …

Member Avatar for JamesCherrill
0
71
Member Avatar for Divyansh_5

Hi,i tried my level best but couldn't create a PHP Script to Upload Files to FTP (To Uploadify) from my local computer. Any Help..! If anyone can share the Code/ Script?

Member Avatar for Dani
0
68
Member Avatar for Mariam_20

Hi, can someone give me an easy command that prevents a user from entering a negative value in the following code i made? thanks. #include <iostream> using namespace std; int main() { int X; int Y; cout<<"please enter the value of X and Y"; cin>>X; cin>>Y; float result; result=4*X^3+Y^3-4; cout<<"the …

Programming c++
Member Avatar for Schol-R-LEA
0
65
Member Avatar for COKEDUDE

I was looking at this struct tutorial. https://www.tutorialspoint.com/cprogramming/c_structures.htm It mentions "The structure tag is optional". How would you refer to your struct if there is no structure tag? struct { char title[50]; char author[50]; char subject[100]; int book_id; }; //something like this? struct random_name;

Member Avatar for Schol-R-LEA
0
64
Member Avatar for Mriel

Do you think that the structured programming is still useful now on day (for developing)?

Programming c java sql
Member Avatar for Schol-R-LEA
0
61
Member Avatar for kenben10

how do I make it so when I click a picture, it takes me to a new page?

Programming html
Member Avatar for Dani
0
59
Member Avatar for David_239

Hi, i wana ask about what would be a great topic for literacy review, discussion paper or research paper for those who encounter system specification morphisms thanks

Member Avatar for rproffitt
0
48
Member Avatar for nextsmm

I'm currently building a SaaS product, it's just me working on it, and its been a long process. I need to generate revenue and created an Instagram account to find clients that need web & graphic services, I'm thinking of making it a recurring monthly package that costs about 100$ …

Member Avatar for Dani
0
46
Member Avatar for مبشر

//Basic libraries #include <stdio.h> #include <stdlib.h> #include <string.h> #include <conio.h> #include <stdbool.h> #include <time.h> #define Empty 0 #define P1 1 #define P2 2 #define Height 6 #define Width 7 int board[Height][Width]; char gamestr[41]; void show_game_list(){ //Open game file for reading FILE * fp; char * line = NULL; size_t len …

Member Avatar for Fifth Horseman
0
94
Member Avatar for larry29936

When user tries to download .iso, tar.gz, or .deb from my website php is opening the file instead of downloading it. I'm having a problem with a download script. It runs fine on my local apache server, but when I put it on the my webhost's apache server, it goes …

Member Avatar for Dani
2
76
Member Avatar for danny4444

Hi there, I am having trouble with a php mail attachment. I have never done this before. I have got to the point where the script sends a blank message with a title... but no attachment and no body of the email is seen. I have opened up the email …

Member Avatar for Rick_15
0
3K
Member Avatar for gneisler

I can not get this program to list all of the contact names, it just list the first one. ##!/usr/bin/evn python3 # # Contact Manager Program # import csv FILENAME = "contacts.csv" def write_contacts(contacts): with open (FILENAME, "w", newline="") as file: writer = csv.writer(file) writer.writerows(contacts) def read_contacts(): contacts = [] …

Programming python
Member Avatar for Anthony_49
0
2K
Member Avatar for Anusha_11

Assume the list numbers 1 has 100 elements, and numbers 2 is an empty list. Write code that copies the values in numbers 1 to numbers 2. I would like to have a program of this question from python, chapter 7 - list and tuples

Programming python
Member Avatar for Reverend Jim
0
114
Member Avatar for larry29936

I have a php function which allows users to download files from our archive site in England. The main site is in the U.S. and that function is working correctly. The UK function results in the files having incorrect md5sums. I've gone through it multiple times and can't find any …

Member Avatar for larry29936
0
94
Member Avatar for ____

hi there i have a python http post request with no request but theres the code: requests.post("https://api.i66v1xg2.org/v3/moderate/+" + userid + "/") i dont know how to make it in java and in okhttp3 help pls thanks

Member Avatar for JamesCherrill
0
85
Member Avatar for piticu8120

Hello anyone know how encode a script like this? <?php $_obfuscatedFF66756E6374696F6E = function ($f, $d) { $lines = @file($f); $c = @count($lines) - 2; $lines[$c] = @strtok($lines[$c], "\"); $head = (int) @base64_decode(@strtok(@end($lines), "\")) - 161803; $code = @join("", @array_slice($lines, $head, -1)); $code = @openssl_decrypt($code, "AES-128-CBC", "ioncube is so easy to …

Programming php
Member Avatar for Schol-R-LEA
0
70
Member Avatar for EmiLynn

First, my apologies, I couldn't tag this as kotlin and I figured Java was the next closest thing. This is homework, I'm not looking for someone to do it for me, just a little help. So the first thing is that I've got a sealed interface with some subclasses (all …

Member Avatar for dimitrilc
0
55
Member Avatar for aouinasara77

hello everyone , please can anyone help me !! I have a list of keywords i used TextRank algorithme, and i have list of all words ,I want to combine Adjacent kaywords into a multi-word keyword depending on their position in the list of all words with java. For exemple …

Member Avatar for JamesCherrill
0
53
Member Avatar for hfortenberry

Hello, I have a Read More type of link at the bottom of a short list of test News items and am trying to center it horizontally under the list. I think I have the CSS correct but it appears something is inhibiting it. I know I've got the correct …

0
46
Member Avatar for tethered_cable

I’m trying to scan in a txt file with a string of numbers. t.txt 123 223 323 File *f = fopen(“t.txt”, “r”) while (i != 3){ for (int j = 0; j < 3; j++){ fscanf(f, “%1c”, &grid[i][j]); } i++; } But it prints a segment fault.

Programming c xml
Member Avatar for rproffitt
0
26
Member Avatar for dimitrilc

## Introduction ## When working with Hilt, you might have wondered how to inject ViewModels into your application. In this tutorial, we will learn how to inject ViewModels into your app Fragments. ## Goals ## At the end of the tutorial, you would have learned: 1. How to inject ViewModels …

4
1K
Member Avatar for dimitrilc

## Introduction ## In Android development, reusable layouts can be used to reduce duplicate code across XML files. In this tutorial, we will learn how to reuse layout files, especially with View Binding enabled. ## Goals ## At the end of the tutorial, you would have learned: 1. How to …

2
526
Member Avatar for SCBWV

Has anyone experienced the function Windows SystemParametersInfo reporting a different display resolution after returning from sleep mode? My display is 3840X2160, which the SystemParametersInfo reports accurately. However, upon returning from sleep mode, SystemParametersInfo gives a resolution of 2560x1392, which doesn't match any configuration in the Windows Registry under Computer\HKEY_LOCAL_MACHINE\SYSTEM\CurrentControlSet\Control\GraphicsDrivers. The …

Member Avatar for rproffitt
2
372
Member Avatar for KirovEli
Member Avatar for LianaN

Hi! I'm trying to improve a code shown below. My idea is to add multiple images to JPanel. It sounds like an easy task, but all my attempts failed so far. I tried to create [ICODE]Image image2 = getToolkit().getImage(Drag1.class.getResource("cross_cursor.gif"));[/ICODE] and then [ICODE]bi2 = new BufferedImage(image2.getWidth(this), image2.getHeight(this)...);[/ICODE]. But I can see …

Member Avatar for ivy.inc.Hugh
1
2K

The End.