HS Banner
HS Codebank Articles
Page 1 of 1

User-defined functions 07/08/2023

Description:

User-defined function are used to preform task in PHP code like saving a user's form input to a database.

Author: Admin
Language: PHP
Tags: functions php
Read More 834

Use Sockets to send and receive data over TCP 05/07/2023

Description:

When working with System.Net.Sockets, you represent a network endpoint as an IPEndPoint object. The IPEndPoint is constructed with an IPAddress and its corresponding port number. Before you can initiate a conversation through a Socket, you create a data pipe between your app and the remote destination.

Author: Admin
Language: C#
Tags: sockets send receive tcp cs
Read More 742

Unique Random Numbers Within a Range 04/23/2023

Description:

Here's a nice function I found to get 10 unique numbers from a range of numbers.

Author: Admin
Language: PHP
Tags: random numbers range php
Read More 827

PHP Shuffle 09/11/2022

Description:

Randomizes the order of the elements in an array.

Author: Admin
Language: PHP
Tags: php shuffle array
Read More 495

Add Two Numbers With Python 01/01/2022

Description:

Below is a simple Python program to add two numbers and print the output.

Author: Admin
Language: Python
Tags: python
Read More 320

Find missing numbers in a sequence. 03/29/2021

Description:

Returns the missing numbers in a sequence.

Author: Admin
Language: Visual Basic .NET
Tags:
Read More 358