Brennen Bearnes
06f4f670d2
bin/fragment-bullet: add asterism
After reading:
https://post.lurk.org/@fragmentscenario/105901885046776610
3 years ago
Brennen Bearnes
074e88b38d
fragment: test rundoc
3 years ago
Brennen Bearnes
ccf1e53ca0
notes-collect-metadata: better page path handling, commit link deletes
3 years ago
Brennen Bearnes
0a39bf9310
bin/pinboard: use say instead of print for some nice newlines
3 years ago
Brennen Bearnes
7a1e76e0a5
add bin/fragment-lyons-weather
3 years 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.
3 years ago
Brennen Bearnes
b6f7ee2e47
tmux: blue status bar
3 years ago
Brennen Bearnes
ce7f35e2e2
move redshift.conf into ~/.config
3 years ago
Brennen Bearnes
0e67e3de4d
vim: remove extraneous syntax check, tweak fragment sink
3 years ago
Brennen Bearnes
a3bcd7f0ed
vimwiki: open file: links in vim itself
3 years ago
Brennen Bearnes
5c208729d1
vimwiki logs: use hashed paths in _logscratch/
3 years ago
Brennen Bearnes
ce77d98f4f
bin/wip: use ~/workspace
3 years ago
Brennen Bearnes
b829d69c36
photocp: make sure target archive directory exists
...which it sometimes may not, if not properly mounted or whatever.
3 years ago
Brennen Bearnes
ccb5db7f94
audio controls: add pasystray and pavucontrol
Gives an interface for controlling multiple audio channels / sinks.
3 years ago
Brennen Bearnes
a5cc378534
vim: add Vdebug, config
Using this for testing Xdebug. Probably not a permanent addition.
3 years ago
Brennen Bearnes
07aa93ec09
add a stub vimrc_justvimwiki for testing vimwiki
3 years ago
Brennen Bearnes
38b777eec5
bin/notes-links-for: zap a bogus module inclusion
3 years ago
Brennen Bearnes
612bfc589b
bin/digikam-extract: hackery for pulling stuff out of digikam galleries
3 years 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
3 years ago
Brennen Bearnes
40dae3f084
vim: Use all tags with VimwikiMakeLink
Including both stuff from pinboard and vimwiki.
3 years ago
Brennen Bearnes
2ef0ccfc32
fragments: time-piece.pl
Just a bit of stuff on usage of Time::Piece.
3 years ago
Brennen Bearnes
b2c3051626
bin/comment: some notes
3 years ago
Brennen Bearnes
85ee33062f
bin/pinboard: some hacky extra crap for search by tag
3 years ago
Brennen Bearnes
0b21c6c65b
vim: map ,w/ to GGrep
This is more useful by quite a bit than the builtin vimwiki search.
3 years ago
Brennen Bearnes
430b9f4fe6
git prompt: show stash state
3 years ago
Brennen Bearnes
1ef761ebbe
bin/fragment-vimwiki-diary: add exec-raw and nowrap by default
3 years ago
Brennen Bearnes
6f2c589b14
vim: fzf: add GGrep command
Adds a nice interface to `git grep` with a preview window for matching
files.
3 years ago
Brennen Bearnes
13820ca7b1
.sh_common: use .fzf/bin
3 years ago
Brennen Bearnes
52e5eeb3fb
fragments/color-tail: a perl oneliner for highlighting stuff
3 years ago
Brennen Bearnes
c26b8f0810
bin/matches-per-line: remove extraneous %counts hash
3 years ago
Brennen Bearnes
ec589d57ed
bin/matches-per-line: "documentation"
3 years ago
Brennen Bearnes
45e438603b
bin/matches-per-line: count regex matches per line of input
https://mspsocial.net/@earthtopus/105059383725674327
3 years 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.
3 years ago
Brennen Bearnes
42dbd4e3ab
update README, rm grab for licensing reasons
3 years 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.
3 years ago
Brennen Bearnes
a88ae6d764
bin/notes-logs-for: stub comments
3 years 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.
3 years 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.
3 years ago
Brennen Bearnes
ce22de57e3
bin/notes-logs-for: handle full paths to wiki pages
3 years ago
Brennen Bearnes
912b3b32e2
bin/pinboard: strip byte order mark
3 years ago
Brennen Bearnes
05495d693a
rm bin/machine-status
3 years ago
Brennen Bearnes
1670d4014d
bin/notes-collect-metadata: ignore same-page anchor links
3 years 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.
3 years ago
Brennen Bearnes
6db24bfc10
vimrc: source links from vimwiki-index; dict from tag index
VimwikiMakeLink() now draws from the list of existing vimwiki pages.
Ctrl-n / Ctrl-p draw from the list of all tags, which includes Pinboard
tags.
Arguably maybe these should use the same source.
3 years ago
Brennen Bearnes
41a2dec51f
bin/cheat: columnar layout
3 years ago
Brennen Bearnes
9699363e45
some xargs-alias fiddling
(Also IIRC this dir shouldn't be called xargs-alias. Whatever.)
3 years ago
Brennen Bearnes
f35e199e37
vim: add goyo.vim (distraction-free mode)
This seems cool for focusing on prose / poetry / etc.
3 years ago
Brennen Bearnes
79c88a3a86
xargs-alias: add sed version
3 years ago
Brennen Bearnes
1c06ae344b
fragments/xargs-alias
3 years ago
Brennen Bearnes
3f471bf036
bin/notes-logs-for: account for new notes-links-for format
3 years ago