Brennen Bearnes
8a5498ea71
tidy a couple of comments
5 years ago
Brennen Bearnes
ee08a3d650
http-cwd -> web-cwd, just serve locally; clean up bin/ a bit
5 years ago
Brennen Bearnes
ca35633cb0
.vimrc: simplify vimwiki diary template, remove BPB_DatestampHTML()
It turns out that you can use `:0r !foo` to avoid the blank line I was
deleting in BPB_DiaryFragement() and BPB_DatestampHTML().
Also remove a commented-out YouCompleteMe install.
5 years ago
Brennen Bearnes
ef169b02ff
misc. vimwiki tweaks, including a sample diary fragment template
5 years ago
Brennen Bearnes
1f9c16d15f
bin/wmf-gerrit: a wrapper around remote invocation of gerrit
Via:
- https://gerrit.wikimedia.org/r/Documentation/cmd-index.html
- https://lists.wikimedia.org/pipermail/wikitech-l/2019-March/091779.html
5 years ago
Brennen Bearnes
e277e25c7f
photocp: add "NO NAME" to list of searched paths
5 years ago
Brennen Bearnes
a9fc480368
bin/git-log-cr to get code review from gerrit
5 years ago
Brennen Bearnes
b257ed5513
bin/grab: recent path tweaks
5 years ago
Brennen Bearnes
f98749c359
bin/wrt-serve: the lazy version of something i should do for real
5 years ago
Brennen Bearnes
eded281910
today: allow an optional date parameter
5 years ago
Brennen Bearnes
f2365d08d6
timeslice: clean up output, fix a stderr redirection bug
- stop erroring on utf-8 output
- use the right syntax for redirecting stderr
- don't display sections with no output
- indicate vimwiki path
5 years ago
Brennen Bearnes
d3cb53634b
flesh out install.sh (in the lamest possible way)
Also removes xmodmap from xmonad.start.
5 years ago
Brennen Bearnes
7759cd774f
new utils: addscript, f-to-c, put-mv-notes
addscript: add a new script in ~/bin.
f-to-c: convert degrees Fahrenheit to degrees C. A wrapper around
units(1), because I'm always forgetting the syntax for this.
put-mv-notes: move the currently yanked file to ~/notes.
5 years ago
Brennen Bearnes
2ec94c3bc5
bin/edit-clipboard: allow $EDITOR to contain spaces / flags
5 years ago
Brennen Bearnes
e7d01f69f1
bin/today: add year to datestamp
5 years ago
Brennen Bearnes
46347954e3
bin/mostrecent: add an optional directory param
5 years ago
Brennen Bearnes
baba25d228
add git-edit-changed, git-sel-changed, completions for both
Use fzf to select files from changed files (including untracked) in a
working tree. Thanks to @tomasino@mastodon.sdf.org for the git subcommand
idea here - these are scripts rather than aliases, but the interface
is pretty well the same:
https://mastodon.social/@brennen/101440377610036479
6 years ago
Brennen Bearnes
ae13ede950
~/bin/{http-{cwd,local-cwd}
Serve the current directory.
6 years ago
Brennen Bearnes
2faea9cfd3
put: do cp -r
6 years ago
Brennen Bearnes
4f64fb892a
timeslice: add last git commit date for file
Shells out twice in a silly way.
6 years ago
Brennen Bearnes
8178f33177
timeslice: cd to $HOME before running mr
6 years ago
Brennen Bearnes
36639752e7
timeslice: potentially get multiple dates per file
6 years ago
Brennen Bearnes
3307d8db0d
bin/edit-clipboard-gvim
6 years ago
Brennen Bearnes
6f9cff4724
bin/timeslice: add myrepos log, tidy display slightly
6 years ago
Brennen Bearnes
54c19dac97
timeslice: stub myrepos()
6 years ago
Brennen Bearnes
3be78ebe5f
add dunst for notifications
6 years ago
Brennen Bearnes
888afa8f1e
timeslice: add file mtime & embedded date handling
Adds a --file option that will either:
- pull the date from a vimwiki filename
- pull the date from a p1k3 entry path
- pull the day from file's mtime
6 years ago
Brennen Bearnes
f8544374a2
timeslice: fix p1k3 entry-grabbing (was using a hardcoded path)
6 years ago
Brennen Bearnes
78865a6646
some pod tweaks to dog & photocp: remove gmail addy, order options to dog
6 years ago
Brennen Bearnes
6cc4353748
chmod +x bin/enterprise
6 years ago
Brennen Bearnes
be5ebe6402
pinboard entries in timeslice
6 years ago
Brennen Bearnes
6a312f148d
move fragments into /home, add a couple things to cheat
6 years ago
Brennen Bearnes
503c9000ff
bin/timeslice
Aggregates some stuff by date range.
6 years ago
Brennen Bearnes
b0ab44718f
import wthr to bin from its own repo
This is Tyler's bash version, just because it doesn't have much in the
way of dependencies.
6 years ago
Brennen Bearnes
88f0c0af5f
photocp: tweak homedir var
6 years ago
Brennen Bearnes
3a0012f724
todaydir: better non-zero-padded day/months
6 years ago
Brennen Bearnes
70fb054fb7
yank: correct helptext
6 years ago
Brennen Bearnes
67aae2f2d5
firefox-wrapper: pass along arguments
6 years ago
Brennen Bearnes
7e9330af45
ssh-nofucks: i don't care if the key's changed, remove it
6 years ago
Brennen Bearnes
d988f62d6a
xmonad: trayer height 40 -> 25, smaller fonts, uxterm
6 years ago
Brennen Bearnes
7192f45232
bin/enterprise: make a noise like the USS Enterprise D
6 years ago
Brennen Bearnes
131677e2d2
new utils: firefox-wrapper, edit-clipboard, mcd()
firefox-wrapper: start firefox (a workaround for some $PATH nonsense).
edit-clipboard: open current contents of clipboard in $EDITOR, write them
back to clipboard. relies on xclip.
mcd(): a function to make a path and cd into it.
6 years ago
Brennen Bearnes
5190bb30e0
add machine-status (just a dsh wrapper at the moment)
6 years ago
Brennen Bearnes
3dcee4fcfa
bin/filter-exec-stdin: tweak whitespace handling
This should be slightly more correct and doesn't result in an extra blank
line.
6 years ago
Brennen Bearnes
7c141e33a7
bin/filter-exec-stdin
6 years ago
Brennen Bearnes
db5a0bf7e2
bin/build-used-names - not currently working
See: https://p1k3.com/2016/7/11/ - "extracting all (?) of the filenames
from packages available in debian"
6 years ago
Brennen Bearnes
8183a3e1d6
pypi-circuitpy tweaks
6 years ago
Brennen Bearnes
fc95230b05
bin/st: status stuff
6 years ago
Brennen Bearnes
6e0e938d2b
expand photocp locations somewhat haphazardly
6 years ago
Brennen Bearnes
28c60aa890
xmonad: commented out .screenlayout bit
6 years ago