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
#!/usr/bin/env perl | |
use strict; | |
use warnings; | |
use feature 'say'; | |
my %deps = map { $_ => [] } map { chomp; $_ } `brew list`; | |
for my $cask (sort keys %deps) { | |
print STDERR "\r\e[2KInspecting cask: '$cask'"; |
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
#!/usr/bin/env perl | |
use strict; | |
use warnings; | |
# hydrate: poor man's templating | |
# | |
# usage: hydrate key1=value1 key2=value2 ... path/to/file.in > path/to/file.out | |
# | |
# substitutes all strings '{{key1}}' in file.in with 'value1' |
OlderNewer