Skip to content

Instantly share code, notes, and snippets.

@geekyi
geekyi / nsource.red
Last active June 12, 2017 20:25 — forked from greggirwin/nsource.red
Provides source of Red native functions
Red [
Title: "Nsource - native source"
Purpose: "Print source for native functions"
Author: "Boleslav Brezovský"
Date: "8-6-2017"
]
indent: func [
"(Un)indent text by tab"
string [string!] "Text to (un)indent"
Red [
Title: "fry.red"
Author: ["Gregg Irwin" "Steeve"]
File: %fry.red
Purpose: {
Factor style fry combinators in Red
http://docs.factorcode.org/content/article-fry.html
works somewhat like a reverse collect/keep
}
]
@geekyi
geekyi / run-2.bat
Created February 11, 2017 06:42
qemu-advent-calendar.org/2016/ - day2 - syllable desktop
SET QEMUDIR=..\..\Qemu-windows-2.6.0\
SET BIOS=%QEMUDIR%Bios
SET QEMU=%QEMUDIR%qemu-system-i386.exe
REM cd "qemu\images\mikeos"
SET IMAGEDIR=qemu\images\mikeos
SET DISKIMAGE="Syllable 0.6.6\Syllable.vmdk"
@geekyi
geekyi / Livecode enhanced
Last active September 10, 2016 02:06 — forked from DideC/Livecode enhanced
Based on Dockimbel VID livecode, this is a little more advanced version where you can define Red's values used by the VID code. And the window is resizable.
Red [
Title: "Simple GUI livecoding demo"
Author: "Nenad Rakocevic / Didier Cadieu"
File: %livecode2.red
Needs: 'View
Usage: {
Type VID code in the bottom right area, you will see the resulting GUI components
rendered live on the left side and fully functional (events/actors/reactors working live).
The top right area let you define Red's values to be used in your VID code, even functions or anything.
}