Brennen Bearnes
9544c6dd2f
vimrc: startify: don't change to dir, but do change to vcs root
2 weeks ago
Brennen Bearnes
c9c6b1dca5
bin/fragment-bullet: some more glyphs
2 weeks ago
Brennen Bearnes
f24d171de9
.sh_common: add extra quoting to h, b, ct, mcd
...after writing this comment describing things:
https://lobste.rs/s/nsfdaw/improving_shell_workflows_with_fzf#c_b1puho
2 weeks ago
Brennen Bearnes
1622f12a72
README grooming
4 weeks ago
Brennen Bearnes
744a873ff6
.zshrc: zap some prompt resets, include glcoud bullshit
4 weeks ago
Brennen Bearnes
ebdd8d0804
bin/fragment-entry-poem: tidy, use character classes
4 weeks ago
Brennen Bearnes
e44b970425
fragments/sparkline.pl: simple histograms
I worked this out the other night before doing something similar for a
log monitoring utility we use at WMF.
It could use some improvements, and ideally it'd be a general-purpose
utility, but might as well capture this version here.
4 weeks ago
Brennen Bearnes
06f4f670d2
bin/fragment-bullet: add asterism
After reading:
https://post.lurk.org/@fragmentscenario/105901885046776610
1 month ago
Brennen Bearnes
074e88b38d
fragment: test rundoc
2 months ago
Brennen Bearnes
ccf1e53ca0
notes-collect-metadata: better page path handling, commit link deletes
2 months ago
Brennen Bearnes
0a39bf9310
bin/pinboard: use say instead of print for some nice newlines
2 months ago
Brennen Bearnes
7a1e76e0a5
add bin/fragment-lyons-weather
2 months ago
Brennen Bearnes
ea27567c29
vimwiki: open file: links in vim itself
This could probably be improved on. Maybe with a handler that checks if,
say, Perl thinks it's text and otherwise kicks off to xdg stuff.
2 months ago
Brennen Bearnes
b6f7ee2e47
tmux: blue status bar
2 months ago
Brennen Bearnes
ce7f35e2e2
move redshift.conf into ~/.config
2 months ago
Brennen Bearnes
0e67e3de4d
vim: remove extraneous syntax check, tweak fragment sink
3 months ago
Brennen Bearnes
a3bcd7f0ed
vimwiki: open file: links in vim itself
3 months ago
Brennen Bearnes
5c208729d1
vimwiki logs: use hashed paths in _logscratch/
3 months ago
Brennen Bearnes
ce77d98f4f
bin/wip: use ~/workspace
3 months ago
Brennen Bearnes
b829d69c36
photocp: make sure target archive directory exists
...which it sometimes may not, if not properly mounted or whatever.
3 months ago
Brennen Bearnes
ccb5db7f94
audio controls: add pasystray and pavucontrol
Gives an interface for controlling multiple audio channels / sinks.
3 months ago
Brennen Bearnes
a5cc378534
vim: add Vdebug, config
Using this for testing Xdebug. Probably not a permanent addition.
4 months ago
Brennen Bearnes
07aa93ec09
add a stub vimrc_justvimwiki for testing vimwiki
4 months ago
Brennen Bearnes
38b777eec5
bin/notes-links-for: zap a bogus module inclusion
4 months ago
Brennen Bearnes
612bfc589b
bin/digikam-extract: hackery for pulling stuff out of digikam galleries
4 months ago
Brennen Bearnes
2a763c4825
bin/pinboard: refactor, unify output format, LWP::Simple
- Uses LWP::Simple instead of shelling out to curl
- Prints a one-line tab-separated thing for each post
- Adds Getopt::Long and some usage info
4 months ago
Brennen Bearnes
40dae3f084
vim: Use all tags with VimwikiMakeLink
Including both stuff from pinboard and vimwiki.
4 months ago
Brennen Bearnes
2ef0ccfc32
fragments: time-piece.pl
Just a bit of stuff on usage of Time::Piece.
4 months ago
Brennen Bearnes
b2c3051626
bin/comment: some notes
4 months ago
Brennen Bearnes
85ee33062f
bin/pinboard: some hacky extra crap for search by tag
4 months ago
Brennen Bearnes
0b21c6c65b
vim: map ,w/ to GGrep
This is more useful by quite a bit than the builtin vimwiki search.
4 months ago
Brennen Bearnes
430b9f4fe6
git prompt: show stash state
4 months ago
Brennen Bearnes
1ef761ebbe
bin/fragment-vimwiki-diary: add exec-raw and nowrap by default
5 months ago
Brennen Bearnes
6f2c589b14
vim: fzf: add GGrep command
Adds a nice interface to `git grep` with a preview window for matching
files.
5 months ago
Brennen Bearnes
13820ca7b1
.sh_common: use .fzf/bin
5 months ago
Brennen Bearnes
52e5eeb3fb
fragments/color-tail: a perl oneliner for highlighting stuff
5 months ago
Brennen Bearnes
c26b8f0810
bin/matches-per-line: remove extraneous %counts hash
6 months ago
Brennen Bearnes
ec589d57ed
bin/matches-per-line: "documentation"
6 months ago
Brennen Bearnes
45e438603b
bin/matches-per-line: count regex matches per line of input
https://mspsocial.net/@earthtopus/105059383725674327
6 months ago
Brennen Bearnes
59aee8b73b
fragments/most-instances: find line w/most instances of substring
For earthtopus, who asks:
> say I have a big text file and I want to find the line(s) with the most
> instances of a substring on it. Say the most instances of the letter R.
>
> What's a good (and by good I mean lazy) way to do that?
There's probably a switch to grep or something for this, but whatever.
6 months ago
Brennen Bearnes
42dbd4e3ab
update README, rm grab for licensing reasons
6 months ago
Brennen Bearnes
297e850b0e
vimwiki diary: better log grepping & calendar fragments
The calendar one will get the entry syntax-highlighted correctly (it seems
to pick a syntax based on the last string).
The log one will work from any directory.
6 months ago
Brennen Bearnes
a88ae6d764
bin/notes-logs-for: stub comments
6 months ago
Brennen Bearnes
df393c207f
xmobar: stash an attempt at adding UTC to bar
This didn't work, but eventually it's a yak I'd like to finish shaving.
6 months ago
Brennen Bearnes
111edd5fc7
vim, notes: shellescape paths when finding logs / links
This was leading to a slighly cryptic error from zsh about unmatched single
quotes before I remembered that vim is actually invoking my current shell
to run these commands.
Came up when processing the page for Meghan O'Gieblyn.
6 months ago
Brennen Bearnes
ce22de57e3
bin/notes-logs-for: handle full paths to wiki pages
9 months ago
Brennen Bearnes
912b3b32e2
bin/pinboard: strip byte order mark
10 months ago
Brennen Bearnes
05495d693a
rm bin/machine-status
10 months ago
Brennen Bearnes
1670d4014d
bin/notes-collect-metadata: ignore same-page anchor links
10 months ago
Brennen Bearnes
237365f47c
.vimrc: `%% nowrap` for vimwiki pages
I tried something like this once before and it didn't work, but for
whatever reason it does now.
10 months ago