User:Pcu123456789/sourcebak

From Wikipedia, the free encyclopedia

Template:Refdata

This page contains a repository of source code, including implementations of standard algorithms and significant sources. (Rather than being repeated, general descriptions of the algorithms and concepts residing on this page should be linked externally to their respective Wikipedia entries.)

Contents

[edit] Algorithms and utilities

[edit] Background Data

[edit] Data manipulation

[edit] Date

  • Easter day (Excel VBA)
  • Conversion of a Gregorian date to an International Fixed Calendar date

[edit] Filesystem

  • File existence (C, C#, Java, LISP, Perl, Python, TCL, Visual Basic)
  • Random file in range (C, JavaScript, Java, Python)
  • Random file in directory function (PHP, Python, Perl)

[edit] Mathematics

[edit] Hashing functions

[edit] Cryptography

[edit] Science

[edit] Physics

[edit] Mechanics
  • Position of an accelerating body function (C++)
  • Position of an accelerating body function (constant acceleration) (C, C++, Delphi, Java, PHP, Python)
  • Motion of an object through space (piece-meal approximation) (C++)

[edit] Fluid Dynamics
  • Navier-Stokes Algorithm

[edit] Searching

[edit] Sorting

[edit] Strings

  • Reversing a String (x86 Assembly, BASIC, C, C++, Perl, PHP, Python)
  • Case conversion (BASIC, C, Java, Perl, PHP, Python)
  • Concatenate two strings (#x86 Intel Assembly, C, Java, Liberty BASIC, Matlab, Gibiane, Delphi)
  • Simplified regular expression (C)
  • Program to convert base-10 numbers to base-n numbers (BC, AWK, C#, Perl, REXX, tcl, Python,UBASIC,EXCEL)

[edit] Miscellaneous

  • Null Pointer Dereference (BCPL, C/C++, Java, Pascal, x86 Assembler, Sparc Assembler)
  • Sleep routine (Assembly,Java,Python)
  • NIR Validation (numéro INSEE ou numéro de sécurité sociale)
  • Flood fill (C, Java)
  • Binärer Suchbaum (C++)

[edit] Code samples

[edit] Applescript code samples

[edit] Assembler code samples

  • Show ASCII table
  • Passing argv and argc under IA32 Linux

[edit] BF code samples

  • Converting strings to integers
  • Division by 10

[edit] Korn shell samples

  • Function to check if a file exists, if not create empty file
  • Function to derive a list of users from /etc/passwd
  • How to emulate a traditional 'for' loop in Korn

[edit] Lisp code samples

  • HTML week calendar generator
  • Macros for generating HTML
  • Emperical Solution to the Monty Hall Problem

[edit] Perl code samples

  • Drawing an exponential ruler
  • Simple Random Number generation

[edit] PHP code samples

  • Smart-links to Mediawiki pages

[edit] Libraries and Objects

[edit] Nice class (C++)

[edit] Graphics

[edit] Programs

[edit] (Hello world)

[edit] Ada programs

  • Knuth Morris Pratt pattern match algorithm

[edit] BASIC programs

[edit] BF programs

  • BF quine
  • Factoring large integers

[edit] Bourne-again shell programs

  • Extract multiple formats

[edit] C programs

[edit] C# programs

hashing

[edit] HTML-Javascript programs

[edit] Java programs

  • Empirical solution of the Monty Hall problem

[edit] Perl programs

  • Empirical solution of the Monty Hall problem
  • Source tree wikifier

[edit] Python programs

  • Calculating the digits of pi

[edit] Internet

  • Generem

[edit] External links

[edit] Wikipedia

  • Wikipedia:Programming language for descriptions of various languages
  • Wikipedia:Category:Algorithms for descriptions of various algorithms, often including sample implementations

[edit] Sourcecode repositories

[edit] Programming websites and forums

[edit] Other external links

NOTE These external links to large files have been moved back from various unwarranted separate pages of links. This was done without prejudging whether the links below should even continue to be listed. Ec.

Perl 5.8.4

Linux kernel 2.6.8.1

GCC 3.4.0

GNU software

Name Description Source Webpage License
3DKit 3D graphics rendering architecture source webpage LGPL
3DLDF 3D drawing package source webpage GPLv2

Gzip 1.2.4