Geekpedia
  • Tech
    • Tutorials
      • ActionScript
      • AI Coding
      • ASP
      • ASP.NET
      • C
      • CSS
      • C#
      • C++
      • Code
      • General
      • HTML
      • Java
      • JavaScript
      • PHP
      • Silverlight
      • SQL
      • Visual Basic
    • Software
      • Communications
      • Development
      • Internet
      • Linux
      • Microsoft
      • Security
      • Windows
  • Gear
  • Mobillity
  • Wellness
  • Knowledge Base
  • Media
    • Pictures
  • News
      • ActionScript
      • AI Coding
      • ASP
      • ASP.NET
      • C
      • CSS
      • C#
      • C++
      • Code
      • General
      • HTML
      • Java
      • JavaScript
      • PHP
      • Silverlight
      • SQL
      • Visual Basic
      • Communications
      • Development
      • Internet
      • Linux
      • Microsoft
      • Security
      • Windows
  • Gear
  • Mobillity
  • Wellness
  • Knowledge Base
    • Pictures
  • News
Extended Euclidean Algorithm Function
Code Ruby
November 7, 2023November 10, 2023Nathan

Extended Euclidean Algorithm Function

A function for finding the modular multiplicative inverse, based on an extended version of the Euclidean algorithm.

Discover
Round Floating Point Numbers
Code Ruby
November 7, 2023November 10, 2023Nathan

Round Floating Point Numbers

Custom floating point rounding based on three functions that allow you to round to a certain precision, round up and round down.

Discover
Convert Pixels To Centimeters
Code Ruby
November 7, 2023November 10, 2023Nathan

Convert Pixels To Centimeters

A Ruby function that can be easily adapted to work with any language, because it uses a simple division and multiplication to calculate the number of centimeters in the given pixel size.

Discover
Format Number As Currency
Code Ruby
November 7, 2023November 10, 2023Nathan

Format Number As Currency

Add the commas that separate digits in large numbers using this FormatCurrency function for Ruby.

Discover
Code PHP
November 7, 2023Nathan

Forcing downloads with PHP

The DownloadFile() function will initiate a download from the path that you provided. It works great with large files because it buffers the data, instead of putting the entire content of the file in memory and serving it from there.

Discover
Write A PDF File Using Ruby
Code Ruby
November 7, 2023November 10, 2023Nathan

Write A PDF File Using Ruby

Using the open source PDF::Writer library for Ruby to create PDF documents on the fly and save them on the server.

Discover
Array Of United States Area Codes
Code PHP
November 7, 2023November 7, 2023Nathan

Array Of United States Area Codes

An array of 3-digit telephone area codes and the US states that they correspond to.

Discover
Generate random password of various strength
Code PHP
November 7, 2023November 7, 2023Nathan

Generate random password of various strength

This function is a smart password generator, as it allows you to define the length and strength of the password. It also avoids characters that can easily be confused with digits such as lowercase ‘l’ and ‘o’.

Discover
A function that formats date and time
Code PHP
November 7, 2023November 7, 2023Nathan

A function that formats date and time

The ConvertDateTime() function takes a date and time string in the typical MySQL format (YYYY-MM-DD HH:MM:SS) and formats it as instructed by the formatting string.

Discover
Random Password Using PHP
Code PHP
November 7, 2023November 7, 2023Nathan

Random Password Using PHP

A function that generates strong passwords by mixing uppercase and lowercase characters with numbers.

Discover

Posts pagination

Previous 1 … 30 31 32 … 68 Next

Trending Posts

Visual Basic & SQL Server: Unleashing Robust Data Solutions

Jan 23, 202414 min read
Read More

Java for Desktop Applications: Leveraging JavaFX for Modern UI Design

Jan 23, 202419 min read
Read More

Entity Framework in C#: Mastering ORM Concepts and Practices

Jan 22, 202416 min read
Read More

Cross-Browser Compatibility in CSS

Jan 22, 202421 min read
Read More

JavaScript for Game Development: Unlocking New Realms of Possibility

Jan 22, 202417 min read
Read More
No Post Found

Trending News

Akka Advancements: Lightbend’s Latest Update

Nov 3, 20233 min read
Read More

Unlocking User Potential: Testing Enhancements Revolutionize UX

Nov 3, 20234 min read
Read More

Mobilizing Innovation: Mercedes-Benz Adopts Qt for Automotive OS

Nov 3, 20232 min read
Read More
Image Not Found
Geekpedia is a knowledge-driven website offering fresh takes on tech, wellness, gear, and more — all through a thoughtful lens.
From coding tips to curated lifestyle content, it’s built for those who live smart, think sharp, and stay curious.
FOLLOW US
  • Social Image
  • Social Image
  • Social Image
  • Code
  • Gear
  • Generative AI
  • Knowledge Base
  • News
  • Contact Us
  • Work With Us
  • About Us
  • Affiliate Disclosure
  • FAQ
  • Advertisement
  • Disclaimer
  • Privacy Policy
  • Terms & Conditions