[@amargo85]
Posts 31 Posts
Moderating 4 Room
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
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
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
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
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
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
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
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
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
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
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
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
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
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
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