Brennen Bearnes
ff683afafc
bin/notes-logs-by-date: find logs for a vimwiki diary entry
This spits out links in VimWiki syntax, which is more readable and useful
in context than just a raw list of grep results.
(For the grep results, I could always use `gf` to jump to the file, but
it didn't then get added to the VimWiki location list, so the back command
wouldn't work.)
This also uses an sqlite query against an already-built table instead of
pawing through a bunch of files on disk, which is probably faster.
3 years ago
Brennen Bearnes
3b37371c5d
vimwiki diary template: have calendar(1) look ahead 2 weeks
3 years ago
Brennen Bearnes
1e938f5053
bin/notes-log-index
Just a quick index of logs, for the moment.
3 years ago
Brennen Bearnes
8d5717aea4
bin/filter-exec*: grab stderr so it doesn't wind up atop files
This is already handled in filter-exec-stdin, using IPC::Cmd, which may
be what I should do here, but I guess this is ok.
3 years ago
Brennen Bearnes
506574901d
bin/notes-tag-summary: check if tag is in pinboard index
3 years ago
Brennen Bearnes
f4b131eb30
bin/download-to-docs: move recent download to docs folder
3 years ago
Brennen Bearnes
8c29bcd43e
bin/notes-tag-summary: summarize links & page contents for given tag
3 years ago
Brennen Bearnes
c9c6b1dca5
bin/fragment-bullet: some more glyphs
3 years ago
Brennen Bearnes
ebdd8d0804
bin/fragment-entry-poem: tidy, use character classes
3 years ago
Brennen Bearnes
06f4f670d2
bin/fragment-bullet: add asterism
After reading:
https://post.lurk.org/@fragmentscenario/105901885046776610
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
5c208729d1
vimwiki logs: use hashed paths in _logscratch/
4 years ago
Brennen Bearnes
ce77d98f4f
bin/wip: use ~/workspace
4 years ago
Brennen Bearnes
b829d69c36
photocp: make sure target archive directory exists
...which it sometimes may not, if not properly mounted or whatever.
4 years ago
Brennen Bearnes
ccb5db7f94
audio controls: add pasystray and pavucontrol
Gives an interface for controlling multiple audio channels / sinks.
4 years ago
Brennen Bearnes
38b777eec5
bin/notes-links-for: zap a bogus module inclusion
4 years ago
Brennen Bearnes
612bfc589b
bin/digikam-extract: hackery for pulling stuff out of digikam galleries
4 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
4 years ago
Brennen Bearnes
b2c3051626
bin/comment: some notes
4 years ago
Brennen Bearnes
85ee33062f
bin/pinboard: some hacky extra crap for search by tag
4 years ago
Brennen Bearnes
1ef761ebbe
bin/fragment-vimwiki-diary: add exec-raw and nowrap by default
4 years ago
Brennen Bearnes
c26b8f0810
bin/matches-per-line: remove extraneous %counts hash
4 years ago
Brennen Bearnes
ec589d57ed
bin/matches-per-line: "documentation"
4 years ago
Brennen Bearnes
45e438603b
bin/matches-per-line: count regex matches per line of input
https://mspsocial.net/@earthtopus/105059383725674327
4 years ago
Brennen Bearnes
42dbd4e3ab
update README, rm grab for licensing reasons
4 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.
4 years ago
Brennen Bearnes
a88ae6d764
bin/notes-logs-for: stub comments
4 years ago
Brennen Bearnes
ce22de57e3
bin/notes-logs-for: handle full paths to wiki pages
4 years ago
Brennen Bearnes
912b3b32e2
bin/pinboard: strip byte order mark
4 years ago
Brennen Bearnes
05495d693a
rm bin/machine-status
4 years ago
Brennen Bearnes
1670d4014d
bin/notes-collect-metadata: ignore same-page anchor links
4 years ago
Brennen Bearnes
41a2dec51f
bin/cheat: columnar layout
4 years ago
Brennen Bearnes
3f471bf036
bin/notes-logs-for: account for new notes-links-for format
4 years ago
Brennen Bearnes
4f83676267
vim / notes-links-for: use location window for links
This involves changing grepprg, running, and then changing it back.
Not entirely optimal, but the location window has some good features.
Changes notes-links-for output to match (ish) grep format.
4 years ago
Brennen Bearnes
e690f5e8d4
bin/cheat: shorten
4 years ago
Brennen Bearnes
ed1843259e
bin/fragment-vimwiki-log: include input in template
4 years ago
Brennen Bearnes
8aa14384a7
bin/pinboard: add tag grabbing
4 years ago
Brennen Bearnes
afa066e378
bin/notes & friends - wrapper for dealing with notes stuff
This is incredibly specific to my vimwiki setup at the moment. It'll
probably expand to include other things, but I decided to just jam it into
one nice generic top-level namespace for now.
4 years ago
Brennen Bearnes
76ab656e88
bin/fragment-vimwiki-log-path
4 years ago
Brennen Bearnes
5abb6bdcc3
st: use long --minimal flag so i remember what it does
...instead of -m.
4 years ago
Brennen Bearnes
14f4509c4a
.vimrc: script-local functions & vw log utils
- changes various BPB_Foo functions to s:FOO, which is cleaner and does
less trampling on the global namespace
- adds some vimwiki log / link utilities based on an SQLite db I'm
building elsewhere
- comments slightly clearer about how unlikely this is to work for most
users
- removes some cruft, including an experimental scratch wiki
4 years ago
Brennen Bearnes
049fe02902
fragments: more stuff in vimwiki diary templates
Namely log grepping for the more-atomic logs I'm experimenting with and
a calendar lookup fragment.
Renames fragment-vw-diarylink.
4 years ago
Brennen Bearnes
385112fa88
filters: vimwiki-compatible exec-raw
4 years ago
Brennen Bearnes
eb94ac681b
bin/pinboard: some nonsense for grabbing bookmark data by date
4 years ago
Brennen Bearnes
7563d7bbf6
bin/logs-for: a vimwiki helper for finding log files
In shell and grep. Awful. Sort of works. Still awful.
4 years ago
Brennen Bearnes
2a8a8d49fd
bin/grab: remove an extraneous backslash escape
4 years ago
Brennen Bearnes
66576c3d3b
fragment-vimwiki-log: simplify date logic
It probably doesn't matter what's passed in in this case.
4 years ago
Brennen Bearnes
b92cf68483
bin/st: appease shellcheck
4 years ago