Brandon's Notepad

June 5, 2015

m4 Macro Processor

Filed under: Computer Software,Linux — Brandon @ 3:54 am
Tags: , , , , , ,

ShortURL: http://goo.gl/cPBk8p
Home > My Lists > Technical Notes > Linux > m4 Macro Processor


m4 is a macro processor that replaces tokens in a file. It was once used as a FORTRAN preprocessor and is now used by various systems to manage configuration files. I started using it years ago in conjunction with make to automatically generate web pages, but that practice ended when I decided to move this site to a ‘blog platform. Since then, I’ve continued to look for additional ways to leverage it.


Presently, I’m collecting links about m4 and will write more if needed:

GNU m4 Manual
m4 Manpage (die.net)
Using m4 Macros in Your Programs
Building text files with m4 macros
Michael Breen’s Notes on the M4 Macro Language
Fractals with SVG and m4
m4 Macros and CSS
Using the m4 macro processor for fun and profit

Here’s a random snippet of a makefile using m4:

.SUFFIXES: .m4 .html
.m4.html: $(Common)
m4 -D_LOCATION=coding -P $*.html


December 4, 2014

Computer Graphics

ShortURL: http://goo.gl/Kizaht
Home > My Lists > Technology > Computer Graphics


This page is a listing of user guides and how-to documents for various computer graphics manipulation tools that I have found useful over time.


General Purpose Tool References & Articles

CLIChart. Commandline tool for quick visualization of tabular data.

D3 Data-Driven Documents. JavaScript library for producing advanced visualizations.

eplot. Short for “easy gnuplot”, eplot is a Ruby wrapper for Gnuplot (see below).

Gnuplot. Multi-platform CLI graphing utility used for mathematical functions plotting and data visualization.

Graphviz. Visualization tool for creating diagrams based on structured information using the DOT language. Best used for directional charts (flowcharts, hierarchy charts, PERT/CPM charts, mind maps, etc.

ImageMagick. Command-based art program suite.

Inkscape. Vector graphics package.

Message Sequence Chart generator (Mscgen). Creates sequence diagrams from text files. These diagrams are used in telecommunications, object-oriented software design (e.g. UML), and other applications.

Project-Specific Tools & Tutorials

Web-Based Charting

Project Management.

Map Making

Circuit Diagrams


September 9, 2011

Screen

Filed under: Computer Software,Linux — Brandon @ 7:55 am
Tags: , , , , , ,

Home > My Lists > Technical Notes > Linux > Screen


Screen is a good solution for anyone who would benefit from using multiple Unix/Linux terminals (consoles) at one time. This utility divides the screen into two or more sections, each running a different session. This has many uses; for example, you can run a command and watch the output in one pane and tail (-f) a related log file in another.


Presently, I’m collecting links about screen and will write more if needed:

http://alexandrulazar.com/category/linux/
http://linuxmanpages.com/man1/screen.1.php
http://www.preshweb.co.uk/2007/03/gnu-screen-a-primer/
http://mikestammer.com/dokuwiki/bsd:screen
http://ubuntuforums.org/showthread.php?t=1080362


Blog at WordPress.com.