gorpo85
JavaJuggler • 1708952654
Understanding the basic structure of an HTML document

here's a brief overview of the basic structure of an HTML document: + `<!DOCTYPE html>`: This is the document type declaration, which...

0 Comments
gorpo85
JavaJuggler • 1708617958
Case Study: Instagram Redesign, by Ian Spalter

Redesigning one of the world's largest apps is a significant challenge. How did Ian Spalter lead this process, and what learnings can we take...

1 Comments
gorpo85
exterminator • 1708452744
Javascript character count site

Probably the most interesting aspect of the <b style="color: green">textarea</b> tag that bears some discussion is the...

0 Comments
gorpo85
exterminator • 1708369309
Dynamic DOM page counters Element Objects

Elements are objects and can hold values just like any other object. Expanding on how each element can track values as separate object property...

0 Comments
gorpo85
amargo85 • 1708270612
Node js REPL Console

The REPL (READ, EVAL, PRINT, LOOP) is a computer environment similar to shells (Unix/Linux) and command prompts in Windows. Node.js comes with an...

0 Comments
gorpo85
JavaJuggler • 1708089268
[Challenge] what the following program written in c does?

```c #include <stdio.h> int main() { int num1, num2, sum; printf("Please enter tow integers: "); scanf("%d %d",...

0 Comments
gorpo85
exterminator • 1708010428
Page interaction with Events

but a tutorial using modern js concepts. DOM elements can have various events on them, that can then be used to run blocks of code once an event...

0 Comments
gorpo85
JavaJuggler • 1707935128
Genius of technology, the story of Aaron Swartz

Aaron Swartz was an American programmer and political activist, born in 1986. He stood out for his contributions to internet culture and his advocacy...

0 Comments
gorpo85
amargo85 • 1707927129
Want to show your users the time on your site? then check out

```html <div align="center"><br><br> <h2>Web Clock</h2><br> </div> <table...

1 Comments
gorpo85
amargo85 • 1707918871
Build a simple landing page for a product with HTML and CSS

Below is an example of HTML and CSS code for a simple landing page for a product: **HTML...

0 Comments
gorpo85
JavaJuggler • 1707916770
TCP Timestamp Server

This script creates a TCP server that accepts messages from clients and returns them with a timestamp prefix. ```py #!/usr/bin/env python from...

0 Comments
gorpo85
amargo85 • 1707666511
Sorting algorithm with javascript

Sorts an array by repeatedly locating the minimum element of an unsorted part and placing it at the beginning. Sort the following data from small...

0 Comments
gorpo85
exterminator • 1707608116
Interactive web page with AJAX loading JSON data

1. Add several buttons to your HTML elements, as well add a div that can be used to output content to the user. 2. Using document.querySelector()...

0 Comments
gorpo85
JavaJuggler • 1707586517
Use of conditionals in c++

Another major component in C++ programming is the use of conditionals.  Conditionals are statements that cause a program to alter its intended path...

2 Comments
gorpo85
hackerX9 • 1707404727
Requesting Remote Data with Fetch

Use the Fetch API, which allows you to make requests and manipulate the response. To make a simple request, pass a URL as a fetch parameter, which...

0 Comments
gorpo85
JavaJuggler • 1707331595
Full Stack Web Development Roadmap

This post will serve as a guide for anyone interested in learning web development. With it, you will be able to have a reference of which path to...

0 Comments
gorpo85
JavaJuggler • 1707255684
C++ basic Input & Output

One of the most common functions of programming is input and output.  Within C++ input and output occur in streams.  Streams are also known as...

0 Comments
gorpo85
amargo85 • 1707170618
Conclusion [Tutorial] Text arranger with html5

![canvas](https://html5hacks.com/wp-content/uploads/2021/07/html5-3.jpg) ```js function canvasHeightChanged(e) { var target = e.target; ...

0 Comments
gorpo85
amargo85 • 1707169782
[Tutorial] Text arranger with html5

Text arranger made up of numerous html5 API components. Play with the final app, and see how the different options interact with one another. Here...

0 Comments
gorpo85
JavaJuggler • 1706982974
Improve my code - function to sanitize input fields

i created this function to sanitize the input fields on my site, but i need it (the function) to allow the input of some html tags. how can i improve...

1 Comments
gorpo85
amargo85 • 1706791852
How to use variables correctly in javascript

* Variables are one of the basic concepts of coding * Using const or let avoid using var * const and let are scope based * Parent scope vs local...

0 Comments
gorpo85
amargo85 • 1706634208
Use Prompt for Page Exit Confirmations

## <br>Problem Sometimes you need to ask a user to confirm that they want to leave a page if they’re in the middle of editing something....

2 Comments
gorpo85
exterminator • 1706358648
Part two [Tutorial] create short url with php

In order to have a more complete code for this post [click here](https://chat-to.dev/post?id=46), I've decided to publish part two of how we can...

0 Comments
gorpo85
hackerX9 • 1706295943
Web page dynamic welcome message

The web page exercise is a simple example of how you can get input from a user, and then apply that input value within JavaScript to create a dynamic...

0 Comments
gorpo85
exterminator • 1706199973
[Tutorial] create short url with php

There are many times when we need to shorten the url of our sites or even sites that we need to share the url of. I've searched for several...

0 Comments
gorpo85
amargo85 • 1706109003
Javascript Classes and User-Defined Functions

## What Is a Class? JavaScript ain’t got no class! If you are familiar with Java or C++ you may be wondering how to create a class in...

0 Comments
gorpo85
amargo85 • 1706105090
Today we're going to create a react js component that displays two tabs

It is often helpful to manage the internal state of a component using the route that displays it. For example, this is a React component that...

0 Comments
gorpo85
hackerX9 • 1705870947
Simple code for creating a contact form with html and css

When we are creating a website or blog it is always important to have a contact area, an area where our visitors can give feedback on how their...

0 Comments
gorpo85
amargo85 • 1705512603
What is cryptojacking and what risks could it bring to your company?

Your personal or work computer has probably been used to mine cryptocurrencies at some point in the last five years, without you even realizing it....

1 Comments
gorpo85
amargo85 • 1705431589
Friendly text with php

Sometimes when you have text to post on a web site, it can be quite dry and unexciting. Although there’s not much you can do about that (apart from...

0 Comments
gorpo85
amargo85 • 1705337241
What will the technology trends be for us in 2024?

The world of web programming is always evolving, and 2024 is no exception. With the rapid advance of technology, new tools, languages and practices...

0 Comments
gorpo85
hackerX9 • 1705233657
Brief example of how to use the switch statement in javascript

The switch statement is an alternative to if/else conditional construct (commonly called a "case statement") and may make the program more...

0 Comments
gorpo85
hackerX9 • 1704991242
[Task] Rewrite the following code in modern javascript form

A function that invokes itself is called a recursive function. Typically, you use a recursive function when a process must be performed more than...

0 Comments
gorpo85
exterminator • 1704912409
Top 5 Hackathons in 2024: A Must-Attend List for Tech Enthusiasts

Hackathons in 2024 are shaping up to be some of the most exciting yet. As technology continues to advance at a rapid pace, these events bring...

0 Comments
gorpo85
amargo85 • 1704548093
Javascript - arrow functions

Function expressions can be defined using the fat-arrow syntax. For the most part, arrow functions instantiate function objects that behave in the...

0 Comments
gorpo85
amargo85 • 1704472043
How to work with style in javascript

For those of us who have been working with web pages for some time, we are always faced with the problem that in some cases we need the user to...

0 Comments
gorpo85
amargo85 • 1704396362
We know that elite programmers have some secrets. Here are some of them

The "secrets" of elite programmers often involve specific practices and skills that contribute to their efficiency and success in software...

0 Comments
gorpo85
amargo85 • 1704304875
Programming Tips: How to Increase Your Productivity

Increasing productivity in programming involves improving your technical skills, adopting good development practices, and optimizing your work...

0 Comments
gorpo85
exterminator • 1704192595
People who made billions programming apps

there are many people around the world who have become rich by programming applications. I mention some of these people below. ![Bill...

0 Comments
gorpo85
amargo85 • 1704180463
Keep your application and your customers safe with these tips

![image](https://www.icharts.net/wp-content/uploads/2020/10/web-security.jpg) 1. **Regular Updates:** * Keep all components of your application...

0 Comments
gorpo85
hackerX9 • 1703942684
Handling HTTP POST requests with node.js

For those learning Nodejs, here is a tutorial on how to handle HTTP POST requests. The HTTP POST method is used to send data to the server, as...

0 Comments
gorpo85
hackerX9 • 1703783672
Top 10 programming languages that are trending and expected to boom in 2024

1. **Python** Python is a high-level, general-purpose, interpreted, and open-source programming language. It is an easy language to learn and use,...

0 Comments
gorpo85
amargo85 • 1703582783
Remotely execute the "uname -a" command on a host provided via SSH and print the output

## the code ```py import subprocess import sys if len(sys.argv) !=2: exit("Usage: " + sys.argv[0] + "...

0 Comments
gorpo85
amargo85 • 1703458190
Here are 20 reasons why frameworks make us lousy programmers

It is not accurate to claim that frameworks automatically make programmers bad. In fact, frameworks are powerful tools that can accelerate...

0 Comments
gorpo85
amargo85 • 1703361335
50 reasons why you might still consider PHP for building your websites

![phpQueen](https://cdn.dribbble.com/users/125472/screenshots/5961076/attachments/1281932/blog-illustration-php-email-sending_1x.png) 1. **Large...

0 Comments
gorpo85
hackerX9 • 1703267467
Naming functions in JavaScript, PHP, and Python

## JavaScript: 1. **CamelCase:** * Use CamelCase for function names. * Example: **calculateTotal**, **getUserById**. 2. **Meaningful...

0 Comments
gorpo85
amargo85 • 1703174984
Javascript code challenge

**Who can explain what this code does?** ![the image](https://i.ytimg.com/vi/W-re1HvJIR0/maxresdefault.jpg) ```js const grid = []; const...

0 Comments
gorpo85
amargo85 • 1703021362
Simple Python script that creates a basic WSGI (Web Server Gateway Interface)

## Web echo The provided code is a simple Python script that creates a basic WSGI (Web Server Gateway Interface) application using the wsgiref...

0 Comments
gorpo85
amargo85 • 1702881713
Python Web server

## Hello world web ```py from wsgiref.util import setup_testing_defaults from wsgiref.simple_server import make_server import time def...

0 Comments
gorpo85
hackerX9 • 1702730864
Secure file upload using php

![uploadFile](https://i.pinimg.com/originals/ea/b6/cf/eab6cf28102b5af5afd6b0ed21fbf787.gif) A major service offered by many web sites is the...

0 Comments
gorpo85
amargo85 • 1702722301
download zip and extract zip with python

## Download zip file the code ```py import requests import shutil url =...

0 Comments
gorpo85
amargo85 • 1702631424
Lets learn a bit about array with javascript

Now we will have a look at what an Array is. An Array is an Object that stores values in order. In the example above we used an Object to store...

0 Comments
gorpo85
hackerX9 • 1702548091
Callbacks in javascript

## Callbacks We can achieve asynchronous programming in JavaScript if we use the callbacks. A callback is a function that is passed as an argument...

0 Comments
gorpo85
hackerX9 • 1702470332
Validation of javascript forms - name, password, password retype validation and Number Validation

It is critical to check the user-submitted form since it may include incor- rect information. As a result, validation is required to authenticate...

0 Comments
gorpo85
amargo85 • 1702433374
Spam catch

Even with a strong Captcha system in place, you will still find users trying to manually spam your web site. They tend to be people who discover your...

0 Comments
gorpo85
exterminator • 1702378369
Lets create a short tutorial on how to connect, create a table and insert data in SQlite with Python

## Connecting to SQlite database ```py import sqlite3 cone = sqlite3.connect("sampleardes.db") c = cone.cursor() # user the...

1 Comments
gorpo85
amargo85 • 1702330769
Now you can use any fonts you like on your web pages thanks to this recipe.

Although web browsers come with a reasonable range of default fonts, they don’t always provide the look you need for a particular web site. In such...

0 Comments
gorpo85
amargo85 • 1702228508
Image resize function

Using this function, you can reduce, enlarge, and change the width and height at which to display it, the way the image will appear depends entirely...

0 Comments
gorpo85
amargo85 • 1702208017
Sanitize fields

When accepting user input for redisplay, and particularly if it will be inserted into a database, it’s important that you sanitize the input to...

0 Comments
gorpo85
hackerx9 • 1702145823
Creating TCP server and client communication

Sockets allow machines and devices to communicate. Sockets are also used to coordinate I/O across networks. The term socket is used to refer to one...

0 Comments
gorpo85
amargo85 • 1701905578
The 5 parts to creating a successful email validation Regex

1. **name** : One or more alphanumericla characters, undescores, dashes, or dots 2. **@** : Literal character 3. **domain** : One or more...

0 Comments