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
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
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

Posts pagination

Previous 1 … 21 22 23 … 80 Next

Trending Posts

Cyber Threat Defense: Mastering Malware Analysis

Feb 4, 202414 min read
Read More

Building Scalable Apps with ASP.NET Core: A Modern Developer’s Guide

Feb 4, 202419 min read
Read More

Harnessing ASP.NET for Building Dynamic Social Networking Platforms

Feb 4, 202421 min read
Read More

Elevate Your Emails: The Power of CSS

Feb 4, 202415 min read
Read More

Networking with C: Building a Simple Server

Feb 3, 202416 min read
Read More
No Post Found

Trending News

Recap of 2023 in Coding and Computers 

Dec 15, 20235 min read
Read More

Neuromorphic Computing: Computers That Think Like the Brain

Dec 15, 20237 min read
Read More

From Chips to Software: The Changing Face of Computer Tech 

Dec 14, 20235 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