Script Library: 1247 scripts
  • Home
  • Script library
  • AltME Archive
  • Mailing list
  • Articles Index
  • Site search
 
Monty Hall Challenge
oneliner-monty-hall.r
 documentation
v:1.0.0
694 bytes
13 Aug 2004
Simulates swapping doors after Monty shows a goat. Result is percentage wins after 100 runs. (MHC: a well-known and often debated probability puzzle involving three doors, two goats, and a car).
author: Sunanda (with tweaks from Romano T, Ryan C, Carl R, and Reichart)
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
object to xml converter
object-xml.rv:1.1.0
4.1 KB
16 Oct 2010
Takes the output and/or object format from xml-object.r by Brian Wisti and Gavin F. McKenzie and formats it back into xml. See also xml-parse by the same authors to provide the input from an xml file to xml-object.r.
author: James Nakakihara
OpenGL library interface
opengl-glu-glut-h.rv:0.7.2
125.5 KB
25 Apr 2013
Code to bind OpenGL, GLU, GLUT shared libraries to Rebol.
author: Marco Antoniazzi
OpenGL Test
opengl.r22.6 KB
17 Oct 2003
Demonstrate the use of OpenGL in View/Pro on Windows
author: Cal Dixon
Overload
overload.rv:1.0.1
6.3 KB
1 Mar
Overloads an existing function/native.
author: Annick ECUYER
Paint drops
oneliner-paint-drops.r
 documentation
v:1.0.0
583 bytes
20 Jul 2003
A surface is filled with colored drops.
author: Vincent Ecuyer
Simple gzip archiver
oneliner-gzip.r3
 documentation
v:1.0.0
1.1 KB
8 Jan 2013
Creates gzip archives, 1-line r3 version.
author: Vincent Ecuyer
Calculate Pi
oneliner-pi.rv:1.0.0
654 bytes
20 Jul 2003
Approximate PI with John Wallis formula. Precision limited to 15 digits due to REBOL. Just press ESC when fed up ;-) Formula from http:// www.chez.com/algor/math/pi.htm
author: Jean-Nicolas Merville
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
Analyze of Oracle listener logs
ora-listener.rv:1.1.0
19.7 KB
28 Jun 2004
Oracle SGBD rebtool to analyze listener log
author: Philippe Le Goff (with help of Ladislav Mecir)
Chess board
oneliner-chess-board.rv:1.0.0
551 bytes
13 Aug 2004
Displays an empty chess board
author: Sunanda
Clear-me game
oneliner-clear-me.rv:1.0.0
811 bytes
20 Jul 2003
A one-line game. A line of twenty boxes appear, each with a cross on, the object being to remove all the crosses. Clicking on a box will toggle it and one other off and on. Sometimes the line is easy to clear, and sometimes not. And no, I don't know if sometimes it's impossible...
author: Carl Read
Posterize
oneliner-posterize.r
 documentation
v:1.0.0
1.8 KB
31 Jan 2013
A short function for 'posterization' effects on images
author: Vincent Ecuyer
Console history
oneliner-dohist.rv:1.0.0
570 bytes
20 Jul 2003
Allow you to use the history just by index.
author: Fabrice Vado
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
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
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
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
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
Rebol OCR
ocr.rv:1.0
5.8 KB
16 Nov 2009
use free tesseract OCR with rebol The Tesseract OCR engine was one of the top 3 engines in the 1995 UNLV Accuracy test. Between 1995 and 2006 it had little work done on it, but it is probably one of the most accurate open source OCR engines available. The source code will read a binary, grey or color image and output text. A tiff [...]
author: François Jouen
BMP to PNG
oneliner-bmp-to-png.rv:1.0.0
575 bytes
20 Jul 2003
Reads all .bmp files in a directory and saves them out as .png files.
author: Bohdan Lechnowsky
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