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
Brennen Bearnes
e50a0a09c1
photocp: move archive dir to workspace/photos
4 years ago
Brennen Bearnes
801f9024ab
recent vim experimentation
- commentary
- some stuff for "log" entries in vimwiki
4 years ago
Brennen Bearnes
c757200fe3
timeslice: fix pinboard auth
4 years ago
Brennen Bearnes
435adfc1c2
a few tweaks from recent primary-machine-hopping
4 years ago
Brennen Bearnes
727f6a1eaf
rm bin/snowday
Finally stopped working - the Boulder Valley School District "improved"
its site. It was a pretty good run, all things considered.
5 years ago
Brennen Bearnes
f609aafc4f
bin/fragment-vw-diarylink
I keep forgetting to use this.
5 years ago
Brennen Bearnes
96e54eb6a7
bin/fragment-weather
5 years ago
Brennen Bearnes
bedf19bced
xmonad.start: some shellcheck cleanup
...silence a warning, quote ssh-agent results.
5 years ago
Brennen Bearnes
9d6201172c
.sh_common & todaydir: P1K3_ROOT, go & cargo roots, exa for ls
- Adds a P1K3_ROOT environment variable, and a default of
~/workspace/p1k3 (this is new)
- allows exa for ls aliases
- Tweaks h() history length a bit
5 years ago
Brennen Bearnes
4e14cd0728
add ~/bin/c-to-f: celsius to fahrenheit
Complements the existing f-to-c.
5 years ago
Brennen Bearnes
e0446a7f08
add ~/bin/arc link to arcanist
5 years ago
Brennen Bearnes
3e4eecd669
add ~/bin/xterm-lynx
5 years ago
Brennen Bearnes
9fa0de7d4b
bin/jump-to-window: use rofi instead of dmenu_unique
5 years ago
Brennen Bearnes
d1d23083b5
bin/gif-sel: use ~/workspace/screenshots
5 years ago
Brennen Bearnes
8b36fe0c4a
bin/fragment-bullet: remove some problematic multibyte chars
These were playing heck with some terminal environments.
5 years ago
Brennen Bearnes
3831d0516d
bin/timeslice: fewer errors if not in worktree
5 years ago
Brennen Bearnes
538f0148ba
bin/phoonlock: phase of the moon as lock screen
Uses pngphoon and i3lock.
5 years ago
Brennen Bearnes
173214df4d
bin/dedup-dir-history
Zap duplicate entries in ~/.directory_history (leaving most recent in
place).
5 years ago
Brennen Bearnes
d4f652459a
bin/web-cwd: expose httpd to public interface
5 years ago