Quantcast
Channel: DaniWeb Code Topics
Browsing index pages (226 articles)

Play two videos side by side

I've been reprocessing a bunch of home videos by running them through various ffmpeg filters, typically the deshake filter. In order to see how much of a difference the filter makes it is nice to be...

View Article


Safely upload a file

Here's a quick bit of code to upload a file in PHP.

View Article


I looking for long term cooperation possible client.

I am a full-stack full-time developer. I have 5 years of development experience and My basic skills are Blockchain, TypeScript, ReactJS, Shopify. I am a full-time dev, so I can answer your inquiries...

View Article

Anti-Hotlinking Script for WP on Apache (.htaccess) - Linkspam Prevention

Never published this before, so this is a DaniWeb.com Exclusive :) If your WP-Site has a lot of K-Links, you should consider using this script. It definetly works. For now... Negative SEO through...

View Article

I want to use the seekbar to zoom in and out of the camera from zxing

I want to use the seekbar to zoom in and out of the camera from zxing

View Article


How to Optimize RecyclerView performance by implementing the ViewHolder

When working with RecyclerView, always utilize the ViewHolder pattern to improve performance by minimizing the number of findViewById() calls. public class MyAdapter extends...

View Article

How to solve errors in my code

How to solve some errors in the code in c++

View Article

Please Create a Program of this......

Create a C++ class called "Rectangle" with private attributes width and height, and public member functions to set and get these attributes. Include a function getArea() that calculates and returns...

View Article


Show your Python app on all Window's desktops

I wrote a timer/alarm app in Python that I wanted to be accessible from all Windows Desktops. What I had to do until recently was run the app, select the desktops icon on my toolbar, then right click...

View Article


Shared Web Worker with Dedicated Web Worker as failover - Lazy Load Example

I wanted to post something in Daniweb for a while but I didn't had anything new. Recently I decided to write a new implementation for websocket connections client side using Shared Web Workers. Shared...

View Article

How to use Emgu CV InPaint function to reconstruct image without logo

I have tried the following code to reconstruct image without logo by first converting the image to a binary inverse where the logo appears to be white and the rest of the image black then using...

View Article

How to vectorize and speed-up double for-loop for pandas dataframe when doi

I have the following dataframe: d_test = { 'name' : ['South Beach', 'Dog', 'Bird', 'Ant', 'Big Dog', 'Beach', 'Dear', 'Cat', 'Fish', 'Dry Fish'], 'cluster_number' : [1, 2, 3, 3, 2, 1, 4, 2, 2, 2] }...

View Article

Image may be NSFW.
Clik here to view.

java project 2023 fff

I need help with a java project as soon as possible. Please help if absolutely necessary. Please, please[ Click Here](null)

View Article


Cart not adding the grand total of all the products

Hi there i have a problem with my cart calculations in a website i am making and it only displays the last price of the item i add to tthe cart instead of the total of all items added

View Article

Function to generate a random number in a random range

Can someone please give me tips on how to accomplish generating a random number within a random range. See 'roll_dice' #include <iostream> #include <limits> #include <ctime> #include...

View Article


Flood control using Redis

Here is the function that I use here at DaniWeb to manage flood control. It keeps track of how often a specific user or IP address is making a request, and increments a counter. If there have been no...

View Article

Maze Runner Stack

The program below is written in C and creates a stack that holds the values of a maze. This structure is beneficial during the development of a desktop game that uses a maze. Let me know if you find...

View Article


Learning Management System (Dev C++ Code)

The program below is written in C and is used to create a learning management system. This program is beneficial during the development of an e-learning desktop application. Let me know if you find...

View Article

Convert Numbers to Words (Dev C++ Code)

The program below is written in C and is used to convert numbers to words. These operations are beneficial during the development of word processing applications. The program takes the input file that...

View Article

HTTP Web Server: Java

The program below is written in Java and is used to develop a Web Server that supports these status codes: 200 OK, 302 Moved Temporarily, and 404 NOT FOUND. The code can emulate an HTTP server in your...

View Article
Browsing index pages (226 articles)


Latest Images