Installation (packaging) is the main point of this tiny package. I wanted to use a tiny project to serve as an example of how to install directly from github (a gist!) to Arch Linux. Normally a package would go through an approval process to be put into AUR, but until your package is mature enough for that this is a clean and simple way to go.
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
#! /bin/bash | |
# | |
# flac2mp3 — Convert FLAC files to MP3. | |
# | |
# Author: Micah Elliott <mde MicahElliott com> | |
# Date: Feb 2008 (not sure if any util has obviated this) | |
# | |
# Many people store their music collections in FLAC format these days | |
# since it’s nice to have lossless compressed copies, and disks are | |
# cheap. But people also need to convert their FLAC collections into |
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
#! /bin/bash | |
# Find big dirs, minimally deep. | |
# Running in near-silent mode in case want to pipe output. | |
# | |
# Author: Micah Elliott <mde MicahElliott com> | |
#dt=$(date "+%Y%m%d") | |
#log="bigdirs.$dt.log" | |
log="$PWD/bigdirs.log" |
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
#! /bin/bash | |
# A personal indentation config for C files, using ‘indent’. | |
# | |
# Every project should agree on and share one of these! | |
# | |
# Install ‘indent’: apt-get install indent | |
# See ‘indent(1)’ for the other 100 options to consider. | |
# | |
# Backups are funny. Using an explicit file here, since most careful |
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
! xterm color scheme — Make all 16 beautiful. | |
! | |
! Suited for black background, but includes disabled alternative light scheme. | |
! | |
! Open this file with gvim to enable <Leader><F2> color mode. | |
! | |
! Use `xfontsel`, `xlsfonts`, and `fc-list` to find other fonts. | |
! | |
! On Ubuntu I have to name this file ‘~/.Xdefaults-$(hostname)’ | |
! |
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
#! /bin/sed -f | |
# Convert GTasks semi-automatically into a weekly or monthly status | |
# report. This happens to convert into TiddlyWiki format, but it should | |
# be no harder to do markdown, moin, or mediawiki. This script is more | |
# about the idea, and some fun showing off how to invoke ‘sed’ from | |
# shebang, and using ‘xsel’. Tweak as you see fit! | |
# | |
# Why bother? Can’t be sure how long your completed tasks will be | |
# available, so it’s nice to keep a record of your own. Maybe your boss |
NewerOlder