Archives for Console
21 Dec by admin in Agility, All, Code Generation, Console, Domain Specific Language, Helper Function, Javascript, framework
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 Productor for a more refined version (see at ...more»
How to read and parse your environment variables (System32, Java_Home, Classpath, Path…)
Rebol has a native get-env function to read environment variables. For example, to test if your JAVA_HOME (JDK installation directory), CLASSPATH (for Java imports), CATALINA_HOME (for Tomcat) environment variables have been set, type in Rebol Console :get-env "JAVA_HOME"
get-env "CLASSPATH"
get-env "JRE_HOME"
get-env "CATALINA_HOME"To parse your environment variable, just use parse/all ...more»
18 Dec by admin in Agility, All, Best Practice, Console, Domain Specific Language, OOP, Professional Programming, UML, framework
A Polymorphic new instance function for Business User / Agile Tester to create sampling datas fast.
In an MVC framework, the Model is the most important entity, View is just kind of Filter on the Model and the Controller just kind of a necessary Evil. So we should be able to build and test the model before even the building phase in the traditional Software Life ...more»
Improving the twitter client to read message status from clipboard (coping with Optional Parameters)
We're going to improve our twitter command line program by adding support for message from clipboard: if the user just type tweet without specifying any message as parameter, the message will be read from the clipboard. So we could just type "tweet" and the message would be sent straight away ...more»
How to pass arguments to a remote script through the do command
We have seen how to pass Command Line arguments to a script through Rebol.exe in this article on Interfacing C# Client with Rebtweeter: in this case system/options/args will contain a block of Command Line arguments.In the case of the Do Command for Remote Code execution, we'll use the /args refinement ...more»
What is my user.r and where is it stored ?
As explained in Rebol's Guide User.r is a startup script that Rebol will automatically load if it finds them. User.r is usefull for storing your User's settings like pop and smtp server or any other things like the history of console (see James Nak's Tip).If you're looking for it, you ...more»
Tags: Shell








No Comment