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
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
Get the file extension
Code PHP
November 7, 2023November 7, 2023Nathan

Get the file extension

This function will extract the file extension from a string that represents a filename. It retrieves the characters after the last dot and returns them as a new string.

Discover
Show A 0-5 Rate As Stars
Code PHP
November 7, 2023November 7, 2023Nathan

Show A 0-5 Rate As Stars

Show a 0 to 5 floating point rating in graphic stars using a PHP function. You can specify which direction to align the graphic stars (left or right)

Discover
Stripping string of URL unsafe characters
Code PHP
November 7, 2023November 7, 2023Nathan

Stripping string of URL unsafe characters

A function that will strip all the unsafe characters from a string in order to make it valid for URLs. This can be especially useful when you create your own URLs dynamically using mod_rewrite.

Discover

Posts pagination

Previous 1 … 9 10 11 … 21 Next

Trending Posts

Taking a Closer Look at GNC’s Approach to Daily Supplements

Mar 10, 20258 min read
Read More

The Best Blue Light Glasses to Protect Your Eyes from Screens

Mar 6, 20256 min read
Read More

How to Pick the Best Jeans for Men

Mar 4, 20257 min read
Read More

From Multitasking to Multivitamins: Wellness That Keeps Up

Mar 3, 20259 min read
Read More

How to Pick the Best Laptop for Coding, Gaming, or Everyday Life

Mar 2, 20259 min read
Read More
No Post Found

Trending News

Microsoft Windows 12: AI Integration Set to Transform Computing Experience

Dec 27, 20234 min read
Read More

Shattering Thermal Limits: Revolutionizing Computer Technology

Dec 26, 202310 min read
Read More

Cloud Computing: The Backbone of Modern Business Operations 

Dec 26, 202310 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