Script Library: 1247 scripts
  • Home
  • Script library
  • AltME Archive
  • Mailing list
  • Articles Index
  • Site search
 
NeHe Lesson 5 SDL
nehe-lesson05-sdl.rv:1.0.0
10.7 KB
23 Sep 2012
Example use of %opengl-glu-glut-h.r and %sdl-h.r
author: Marco Antoniazzi
Nim engine
nim-engine.r
 documentation
v:0.0.0
12.7 KB
19 Jul 2005
Calculate the best move in a game of NIM
author: Sunanda
NIST clock
nistclock.r3.6 KB
14 Nov 2012
Get the current time using the NIST service. Defines NIST-TIME, NIST-CORRECTED-TIME and SET-SYSTEM-TIME functions. Uses a GUI to display and (eventually) set system time.
author: Ladislav Mecir
Not
not.rv:1.0.1
538 bytes
13 Mar 2003
Implements Not operator as '!, and Not Equal operator as '!=.
author: Andrew Martin
Number Verbalizer
number-verbalizer.r3.1 KB
13 Mar 2010
Converts number values to their spoken English equivalent. (i.e., 23482194 = Twenty Three million, Four Hundred Eighty Two thousand, One Hundred Ninety Four ). This code was created for a check writing application, but is perhaps useful elsewhere. The algorithm was partially derived from the article at http://www.blackwasp.co.uk/NumberToWords.aspx [...]
author: nick
Numbers
numbers.r1.7 KB
21 Jul 2009
Number structure visual analyzer
author: Lami Gabriele
AIOE Newsgroup Test
newsgroup.rv:1.0.0
13.3 KB
8 Mar 2008
- an application of NNTP protocol - and an introduction AIOE.org
author: R.v.d.Zee
Prime numbers
oneliner-prime-numbers.rv:0.0.1
452 bytes
23 Dec 2012
Give some prime numbers
author: Marco Antoniazzi translated from Wouter van Oortmerssen
Day of week
oneliner-weekday.rv:1.0.0
563 bytes
20 Jul 2003
Returns the weekday of the date. Use 'Weekday? like: Weekday? 25/Dec/2002 ; == Wednesday
author: Andrew Martin
Print console history
oneliner-hist.rv:1.0.0
502 bytes
20 Jul 2003
Print the console history.
author: Romano Paolo Tenca
Print HTML source
oneliner-print-web-page.rv:1.0.0
489 bytes
27 Sep 2003
Prints to the console the HTML source for a web page.
author: RT
Display server name
oneliner-server-id.rv:1.0.0
529 bytes
13 Aug 2004
Prints the name and version of a website's server.
author: Sunanda
Quine -- a program that displays it's own source
oneliner-quine.rv:1.0.0
636 bytes
8 Mar 2009
Creates a self modifying window. (includes the REBOL Header.)
author: Ammon Johnson
Morse code
oneliner-morse-code.rv:1.0.0
660 bytes
13 Nov 2003
Encodes a sentence into morse code. This version is a bit suboptimal so that the html generator won't destroy it.
author: Johan Roennblom
Fractional length
oneliner-nfrac.rv:1.0.0
610 bytes
27 Sep 2003
nfrac 33 => 0 ; nfrac 456 => 0 ; nfrac 0.2104 => 4 ; nfrac 1256.63 => 2 ; nfrac 1.0 => 0
author: collective contribution on www.codeur.org/forum/forum.php?theme=17
Upload a file with FTP
oneliner-ftp-upload-file.rv:1.0.0
637 bytes
20 Jul 2003
Uploads a file using FTP (file transfer protocol). Username and password are provided in the line (so be warned). Any file can be uploaded, text, images, webpages, etc.
author: RT
Upload all files in a directory with FTP
oneliner-ftp-upload-dir.rv:1.0.0
653 bytes
20 Jul 2003
Uploads all the files in a directory using FTP. Files can be text, images, web pages, anything... but not directories.
author: RT
TCP port scanner
oneliner-tcp-port-scanner.r
 documentation
v:1.0.0
850 bytes
20 Jul 2003
This is a simple port scanner. Given a TCP address, it will tell you which of the first 100 ports are accessible. The address can be a host name or number. For example, use "localhost" to scan ports on your own machine. You can scan more ports by increasing the number (from 100), or you can scan ranges by using a FOR loop rather than REPEAT.
author: Anonymous
Test if leap year
oneliner-leapyear.rv:1.0.0
681 bytes
20 Jul 2003
'Leapyear? returns 'true for date values that are leapyears. For example: >> leapyear? 1/1/2001 == none >> leapyear? 1/1/2000 == true
author: Andrew Martin
Image to pgm converter
oneliner-image-to-pgm.r
 documentation
v:1.0.0
1.6 KB
29 Jan 2013
Creates a binary Portable Graymap (PGM - P5) from an image! source
author: Vincent Ecuyer