Code Monkey home page Code Monkey logo

tilde's Introduction

Home directory scripts and configuration

These files are mostly my own settings and tools, but some may be more generally useful.

Install

git clone --recursive git://github.com/l0b0/tilde.git
cd tilde
make install # NOT as root

You'll need to remove existing dot files for this to install successfully.

Git users: Make sure to add your user specific configuration in ~/.gitconfig_local.

Test

Requirements: markdown-calibre

make test # Optional

tilde's People

Contributors

l0b0 avatar victor-catalyst avatar

Stargazers

 avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar

Watchers

 avatar  avatar  avatar  avatar  avatar  avatar  avatar

tilde's Issues

`highlight` function / script

Inserts highlighting (color or bold/invert according to availability) in stdin text and serves it to stdout. The point is to be able to distinguish more than one type of text (unlike grep --color=always). Give it at least one regex/literal, and it'll highlight each regex differently (using a predefined set of highlight codes). For example, given:

foo.sh:
# Explanation for FOO
# Explanation for BAR
do something with FOO

the literal output of highlight --regex '^\s*#.*$' --literal FOO < foo.sh could look like this (try this with echo -e 'string' to see the result):

\e[0;31m# Explanation for \e[0;32mFOO\e[0;30m\e[0;30m
\e[0;31m# Explanation for BAR\e[0;30m
do something with \e[0;32mFOO\e[0;30m

Asked for this on Stack Overflow.

Tips

Use msort from distro

Rather than maintaining a custom tool for this it would probably be better to use the existing msort (if possible).

Recommend Projects

  • React photo React

    A declarative, efficient, and flexible JavaScript library for building user interfaces.

  • Vue.js photo Vue.js

    🖖 Vue.js is a progressive, incrementally-adoptable JavaScript framework for building UI on the web.

  • Typescript photo Typescript

    TypeScript is a superset of JavaScript that compiles to clean JavaScript output.

  • TensorFlow photo TensorFlow

    An Open Source Machine Learning Framework for Everyone

  • Django photo Django

    The Web framework for perfectionists with deadlines.

  • D3 photo D3

    Bring data to life with SVG, Canvas and HTML. 📊📈🎉

Recommend Topics

  • javascript

    JavaScript (JS) is a lightweight interpreted programming language with first-class functions.

  • web

    Some thing interesting about web. New door for the world.

  • server

    A server is a program made to process requests and deliver data to clients.

  • Machine learning

    Machine learning is a way of modeling and interpreting data that allows a piece of software to respond intelligently.

  • Game

    Some thing interesting about game, make everyone happy.

Recommend Org

  • Facebook photo Facebook

    We are working to build community through open source technology. NB: members must have two-factor auth.

  • Microsoft photo Microsoft

    Open source projects and samples from Microsoft.

  • Google photo Google

    Google ❤️ Open Source for everyone.

  • D3 photo D3

    Data-Driven Documents codes.