Skip to content

Instantly share code, notes, and snippets.

@inkarkat
inkarkat / todo.txt%20final%20filter
Created January 21, 2011 09:01 — forked from ginatrapani/todo.txt final filter
Specially colorizes priority, date and project.
#!/bin/bash
export COLOR_CONTEXT=$GREEN
export COLOR_PROJECT=$RED
export COLOR_DATE=$LIGHT_GREEN
# Force gawk to behave posixly. Comment out if you get an error about
# no such option -W.
# AWK_OPTIONS="-W posix"
if [ "$TODOTXT_PLAIN" -eq "0" ]; then
awk $AWK_OPTIONS '
function highlight(colorVar, color) {
@PillowMetal
PillowMetal / todo_ff.sh
Created July 15, 2011 07:40
TODOTXT_FINAL_FILTER
#!/bin/bash
export COLOR_CONTEXT=$LIGHT_CYAN
export COLOR_PROJECT=$LIGHT_PURPLE
export COLOR_DATE=$LIGHT_GREEN
# Force gawk to behave posixly. Comment out if you get an error about
# no such option -W.
AWK_OPTIONS="-W posix"
if [ "$TODOTXT_PLAIN" -eq "0" ]; then
awk $AWK_OPTIONS '
function highlight(colorVar, color) {
@TimothyK
TimothyK / ColumnSearch.sql
Last active July 6, 2021 04:31
Search for columns and add descriptions to columns
/* Script: Column Search with Descriptions
** Author: Timothy Klenke
** Date: 2014-02-27
** License: Public domain, unlicenced
**/
Select
--** Schema Name
--sch.name As 'Schema',
--** TableName