Stomp

Stomp is a command-line utility that simply truncates, or clears, the contents of a file.

Originally written for use with a log file monitoring tool to clear log files during software development. Stomp ignores most exceptions. If a file is open by another program it may not be able to be stomped and the content will remain.

Stomp is written in C++. The project compiles using cmake in Windows with the MinGW toolchain and also in Linux with a standard toolchain. Binary executables are also available.

My favorite log monitoring/viewing program is SnakeTail http://snakenest.com/snaketail/.

Usage hint: Create a shortcut for stomp.exe with all the files you want stomped, e.g. program log, Tomcat log, etc., all on one command line.

Disclaimer

The stomp utility is provided for free and “as is” with no guarantee or warranty expressed or implied. If you break it you own both parts.

Pass it around.

Download

Binary executables are available for Windows, Fedora/CentOS/RedHat, and Debian/Ubuntu/Mint. Download at: https://github.com/Corionis/Stomp/wiki

Posted in Software | Leave a comment

Corionis Service Manager

The Corionis Service Manager (CSM) is a small Windows utility tray application that monitors and manages a list of user-selected Windows services. The selected services are monitored and may be easily started, stopped, etc.

Most people who need to monitor and manage Windows services on a regular basis are only interested in a few. That’s why CSM is designed to provide a simple, easy to see, user interface and be obvious how to use it with either a mouse or keyboard.

The public web site for the Corionis Service Manager.

Go to the developer GitHub project.

Posted in Software | Leave a comment

Setgo for Windows

“setgo” is a command-line utility that allows the user to change the current directory using a short easy-to-remember name. Each “go” command is prefixed with a dash “-” so all “go” commands are unique and do not conflict with existing commands.

“setgo” creates and maintains any number of “go” commands for each user on a supported operating system. This allows each user to have “go” commands that meet their individual needs.

This implementation of Setgo is a 32-bit program written for the Windows operating system. The original version of setgo was written in 1991 and the shell script has been ported to a wide variety of UNIX-based operating systems including Solaris, HP-UX, IBM AIX, Redhat, Fedora, Ubuntu, and CentOS. See Setgo for Linux.

How setgo Works

The setgo utility uses an environment symbol SETGO that specifies a directory to store the Go batch files that change the current directory. This directory must be added to the system PATH so the Go batch files can be found from a command line.

Because no Windows command begins with a dash “-” each setgo command uses that character as a prefix to make the “go” command unique.

Disclaimer

The setgo utility is provided for free and “as is” with no guarantee or warranty expressed or implied. If you break it you own both parts.

Pass it around.

Download

The setgo utility is 32-bit Windows program that also runs well on 64-bit systems. It may be downloaded from GitHub at: https://github.com/Corionis/Setgo-Windows/wiki

Installation

Place the downloaded file in the desired directory. If the Zip was downloaded simply unpack the contents to a directory.

Add the following environment symbols via Control Panel, System, Advanced system settings, the Advanced tab, then click the Environment Variables button:

SETGO = The path to a directory where Go commands will be kept.
SETGOEDITOR = Optional path to the EXE of the desired editor for the -e option.

Be sure to add the path of the SETGO environment symbol to the system PATH, for example:

PATH=%SETGO%;…

There is no Windows installation, short-cut, or configuration procedure. The setgo utility is just a simple command-line tool.

Examples
setgo . — Create new go command for current directory.
setgo work — Create new g” command named -work.
setgo -f — find all go commands with the current directory.
setgo -f work — find all go commands contain ‘work’.
setgo -d work — delete existing go command -work.
setgo -e . — edit the go command for the current directory.
-work — change to the work location.
Usage

For complete usage information, run:

setgo –help

Posted in Software | Leave a comment

Setgo for Linux

“setgo” is a command-line utility that allows the user to change the current directory using a short easy-to-remember name. Each “go” command is prefixed with a dash “-” so all “go” commands are unique and do not conflict with existing commands.

“setgo” creates and maintains any number of “go” commands for each user on a supported operating system. This allows each user to have “go” commands that meet their individual needs.

Setgo is a “shell script” written for UNIX, Linux, and other similar operating systems. The original version of setgo was written in 1991 and the script has been ported to a wide variety of UNIX-based operating systems including Solaris, HP-UX, IBM AIX, Redhat, Fedora, Ubuntu, and CentOS.

The current implementation is oriented around the Bash (Borne Again SHell) although porting the script to other shells such as sh or ksh is a simple matter.

There is now a version for Microsoft Windows™. See Setgo for Windows.

How setgo Works

At login time the shell executes one or more scripts to setup the runtime environment. The setgo utility uses “alias” to associated the desired name with a command sequence that changes the current directory. Because these aliases are “sourced” before the command line prompt is presented to the user (i.e. the $ or # prompt) the aliases become part of the current environment. This is similar to the way a user’s PATH string is set.

Because no UNIX or Linux command begins with a dash “-” each setgo command uses that character as a prefix to make the “go” command unique.

Disclaimer

The setgo utility is provided for free and “as is” with no guarantee or warranty expressed or implied. If you break it you own both parts.

Port it, extend it, pass it around.

Download

The setgo utility is a plain-text shell script. It may be downloaded from GitHub at:
https://github.com/Corionis/Setgo-Linux/wiki

Installation

If you downloaded the shell script simply copy it to a location on your PATH. If you downloaded the zip archive unpack the script to a location on your PATH.

The setgo file needs execute permissions. Run this:

chmod 775 setgo

The file maintained by setgo is ~/.go in your home directory. So the “go” commands are available when you login the ~/.go file should be “sourced” in your .bashrc, .bash_user, .profile or whatever login script file your shell executes at login time.

Example:

if [ -f ~/.go ]; then
    source ~/.go
fi

The ~/.go file is automatically created if it does not exist in your home directory.

Examples
setgo . — Create new “go” command for current directory.
setgo work — Create new “go” command named -work.
setgo -f — find all “go” commands with the current directory.
setgo -f work — find all “go” commands contain ‘work’.
setgo -d work — delete existing “go” command -work.
setgo -e . — edit the “go” command for the current directory.
-work — change to the “work” location.
-. — refresh “go” commands after adding a new one.
rego — refresh “go” commands after adding a new one.

Usage
setgo – Quick directory change helper

Simple script to maintain a file of “Go” commands…aliases used to
quickly change directories with a simple name. For example, if you
are currently in /etc/init.d and run the command:

setgo init

a line is added to the file ~/.go that will contain:

alias — -init=’cd /etc/init.d’

which says “add an alias called -init which, when typed at the
command line, will execute the command: cd /etc/init.d”.

The file ~/.go is maintained with a series of aliases that all
have a leading – (dash). This file should be “sourced” in your
.bashrc, .bash_user, .profile or whatever login script file so
the aliases will be included in your environment.

Example: source ~/.go or . ~/.go

The ~/.go file should also contain the ADDITIONAL COMMANDS.

USAGE: setgo [-d][-e][-f] name

Options:
-d delete name from ~/.go file.
Does not unalias Go command, see ADDITIONAL COMMANDS.
-e edit the ~/.go file. EDITOR is coded in this script.
-f find all go entries containing name. If name is not specified
then use the current directory name.
name logical “Go” name for the current directory. If “.” (dot) is
specified then the name of the current directory is used.

If neither -d or -f are used then a new go name is added.

To use a “Go” command type: -name

Examples:
setgo work creates new go name: -work
setgo -f find all entries containing the current directory
setgo -f work find all go entries containing: work
setgo -d work delete go entry: -work

ADDITIONAL COMMANDS:
These commands are automagically added:
-. re-sources the ~/.go file.
rego alias for -. (dash dot).
delgo name delete entry “name”.
This command also does an unalias of the entry.

FILES:
~/.go The ‘go’ command file.

Posted in Software | Leave a comment

Solar System Art

This project consists of several 3D objects inside a large sphere that is physically over 32″. Each moon has detailed texture maps including cloud layers and atmosphere.

Camera 14 – Dark side of Alsima, Epsilon Eridani gas giant, and bright Nilak
Camera 7
Camera 2 – Nilak
Camera 9 – Approaching Nilak
Camera 27
Camera 19 – Nilak emerging from an ice age
Nilak first light
Camera 3 – Dark side of Alsima
Camera 18 – Craft, Alsima and Nilak
Camera 0
The translucent pyramid opens like a flower and the sphere ‘craft’ inside rotates slowly and pulses with light.
Camera 21 – Through pyramid toward the sun

When this project was first done in TrueSpace in 1997 it was to be a 107 second video of the sphere flying to both moons complete with a musical score. However the rendering then would have taken about 11 months of 100% compute time. So the complete render was not created.
Unfortunately TrueSpace died when Microsoft bought the company. This project may get recreated some day using new tech, maybe Blender.

Posted in Art | Leave a comment

Rebuild In-Progress

In the process of rebuilding Monkeyboy Blog from scratch on the latest tech in new ways.

Posted in Uncategorized | Leave a comment