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
Find The Greatest Common Divisor
Code Python
September 25, 2023November 2, 2023Nathan

Find The Greatest Common Divisor

Implement the Euclidean algorithm into a Python function in order to calculate the largest common divisor of two numbers.

Discover
Count Words In String
Code Ruby
September 24, 2023December 12, 2023Nathan

Count Words In String

The simplest way to count words in a string using Ruby and regular expressions by splitting the string at each space.

Discover
Getting a list of all the files in a directory
C# Code
September 24, 2023November 3, 2023Nathan

Getting a list of all the files in a directory

With very little C# code you are able to loop through all the files at a given path.

Discover
Convert a number from digits to words
Code JavaScript
September 24, 2023November 3, 2023Nathan

Convert a number from digits to words

A JavaScript function for converting numbers (21) to words (twenty-one). It works for numbers up to 999, but it can be transformed to support numbers in the thousands too.

Discover
Read file to output stream and return its state
C++ Code
September 24, 2023November 3, 2023Nathan

Read file to output stream and return its state

This code will read a file and display its content to the output stream (console), while being on the lookout for errors.

Discover
Quicksort algorithm and character count
C++ Code
September 24, 2023November 3, 2023Nathan

Quicksort algorithm and character count

This C++ console application accepts a string as input and after storing them in a character array, sorts them alphabetically using the quicksort algorithm. It also counts the number of character occurences in the string.

Discover
Basic Chatroom Skeleton Application
Code Java
September 24, 2023December 12, 2023Nathan

Basic Chatroom Skeleton Application

This Java code is not addressing the core of a chat application (sending and receiving messages) however it makes a good GUI skeleton for starting such an application.

Discover
Shorten a string with complete words
Code Ruby
September 24, 2023November 3, 2023Nathan

Shorten a string with complete words

The Excerpt() function takes in a string and shortens it to the desired amount of characters, but without cutting into the middle of a word.

Discover
String Ends With Values in Array of Strings
C# Code
September 24, 2023November 3, 2023Nathan

String Ends With Values in Array of Strings

This simple method checks if a string ends with either of the values in an array of characters, and returns true if it does. Useful to add appropriate suffixes to words in standard form.

Discover
Check URL validity using JavaScript
Code JavaScript
September 24, 2023November 3, 2023Nathan

Check URL validity using JavaScript

The CheckValidUrl() function takes in an URL and checks whether or not it is valid by verifying it against a regular expression. Works for HTTP, HTTPS and FTP URLs.

Discover

Posts pagination

Previous 1 … 44 45 46 … 68 Next

Trending Posts

Mastering ActionScript: Essential Coding Best Practices

Jan 10, 202417 min read
Read More

Linux for Network Administrators: Mastering Open-Source Networking

Jan 10, 202415 min read
Read More

Mastering Database Access with Visual Basic: A Comprehensive Guide

Jan 10, 202422 min read
Read More

Mastering Asynchronous JavaScript: Callbacks, Promises, and Async/Await

Jan 10, 202422 min read
Read More

Maximizing Web Performance: Advanced CSS Optimization Techniques

Jan 10, 202421 min read
Read More
No Post Found
No Post Found
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