1
0
mirror of https://github.com/thebaer/tildes.git synced 2018-07-20 07:15:21 +00:00
Various helpers for the tildeverse.
Go to file
Matt Baer b745d5c627 Indicate directories and executable files
Directories get slash appended and color coding
Other-executable files get color coding
2015-02-09 23:30:24 -05:00
templates Indicate directories and executable files 2015-02-09 23:30:24 -05:00
code.go Indicate directories and executable files 2015-02-09 23:30:24 -05:00
LICENSE Initial commit 2015-01-10 16:01:18 -05:00
README.md Remove tildelog 2015-01-29 00:49:26 -05:00
tablizer.go Show time between asks / addiction 2015-02-01 00:07:10 -05:00

~

Various scripts and programs for the tildeverse.

tildelog

tildelog has moved to squigglelog.

code

Use code to generate a list of files contained within a given directory under their home folder. This was originally made to see who had a Code directory (this is the default), but you can specify whatever common directory you'd like to find. Do this:

go build code.go
./code -d bin

This outputs an HTML file in your public_html/ folder based on the templates/code.html template. The HTML file will be named after whatever directory you're scanning, so in this example, it'd be public_html/bin.html.

multiple sources

You can optionally supply multiple folders by passing a comma-separated list of folder to the -d flag. The first folder in the list will be used as the output file name.

go build code.go
./code -d Code,code,projects

This lists files in /home/*/{Code,code,projects}/*.