Rebol Tutorial

Rebol Programming - Learn Rebol with Real-World Examples

Archives for Helper Function

How to create a Program Launcher (using Rebol Bind Function)

How to create a Program Launcher (using Rebol Bind Function)
I have a personal productivity problem as I have a bunch of programs all over the place on my Desktop or in my Program Files Menu. I tried many launchers freewares but none really satisfied me so I finally decided to use Rebol Shell as my launcher. It's also a ...more»
21 Dec by admin in All, Helper Function

Protecting against Other Libraries Hell and set-once function

Protecting against Other Libraries Hell and set-once function
Rebol has a Protect function which allows your function to be redefined either by yourself or someone else. For example, I have a bunch of libraries that I preload in user.r like the zip library, when testing another script, I don't want that my own zip library risks to be ...more»

A nice interactive editor to create Javascript Objects Fast (with or without Object Prototype)

A nice interactive editor to create Javascript Objects Fast (with or without Object Prototype)
As David Crockford puts it JavaScript's syntax looks like "C-like syntax, including curly braces and the clunky for statement". So here's a nice interactive editor to alleviate the clunly stuffs by allowing you to create a Javascript Object by just typing: to-js Product or for a more refined version (see at ...more»

Protected: How to parse an HTML Web Page to extract all zip-exe or tar.gz links without using RegEX

Protected: How to parse an HTML Web Page to extract all zip-exe or tar.gz links without using RegEX
There is no excerpt because this is a protected post.

Enter your password to view comments

Tags: , , , , , ,

How to extract Keywords for SEO or Search Engine Indexer in 2 lines.

How to extract Keywords for SEO or Search Engine Indexer in 2 lines.
SEO guys like to analyze keywords used by their competitors after first extracting the text content (see "Extract text on an html webpage WITHOUT using Regular Expression"). As for me, I need to do the same for feeding my Experimental Search Engine NotFoundOnSearchEngine. So let's say I have this list of ...more»
31 Oct by admin in All, E-Learning, Education, Helper Function

How to build a Simple Knowledge Management System with the Rebol Help System

How to build a Simple Knowledge Management System with the Rebol Help System
Watch out this article: 1. There's more than meets the eyes as this article also prepares gently for the next lessons: How to create a Plug-In Architecture Application Framework in Rebol - with a parallel comparison with C# 2. This may be the most time-savier idea you will encounter in ...more»

How to apply a function to all files in a directory recursively

How to apply a function to all files in a directory recursively
I found foreach-file a fantastic script from Rebolek on Rebol.org that I slightly modified to make it more tolerant to directory path parameter which would not end with "/" character: foreach-file: func "Directory to look in" act "Function to perform (filename is unput to fuction)" ...more»
11 Sep by admin in All, Automation, Helper Function

How to run and wait for an Exe to finish (Shell Command)

How to run and wait for an Exe to finish (Shell Command)
Askinstall.com is a project which is still in development phase. The aim is to streamline Installation Process from the Internet. Like AskCodeGeneration.com (see ""), it's very easy to use. For example: 1°) Browse to http://askinstall.com/java, click on "All Installation Scripts", Choose for example "BlueJ", Copy and paste the Url ...more»

Protect access to your Rebol Script with PHP (kind of Easy Distributed Web Service)

Protect access to your Rebol Script with PHP (kind of Easy Distributed Web Service)
As we have seen since the very beginning, Rebol has the amazing power of being able to execute code remotely. Behind the scene, it will transparently load the script from the server and execute it on your machine as if the web storage was an extension of your disk space. Since ...more»
23 Aug by admin in All, Beginner, Helper Function

The lazy way to generate Rebol’s header

The lazy way to generate Rebol’s header
Rebol's header is mandatory for a script file to be interpreted directly by Rebol Engine (though you can also execute a file without header in your own script or from Rebol's Console with "do load" instruction) from Windows or Linux Shell. It can be as simple as: Rebol As I am lazy, ...more»