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
Brennen Bearnes
7894959751
/etc/os-release in cheatsheet
6 years ago
Brennen Bearnes
085c5f8b02
common-files-between-directories: does what says on tin
Uses comm(1) and bash process substitution to show filenames common between
two directories.
6 years ago
Brennen Bearnes
51d249cbcd
some miscellany for pypi bureaucracy
6 years ago
Brennen Bearnes
97050ece9a
add a couple things to cheatsheet
6 years ago
Brennen Bearnes
59574183c0
put / put-mv
6 years ago
Brennen Bearnes
aeee644689
cheat: s/Keys/Shell keys/
6 years ago
Brennen Bearnes
7b5688dfce
0-pad dated dir names in photocp
6 years ago
Brennen Bearnes
05d22c2aee
a bunch of random crap in fragments/
6 years ago
Brennen Bearnes
fd488fb45e
snowday
From https://github.com/brennen/snowday
6 years ago
Brennen Bearnes
7436d9e42e
dump_path -> dump-path
6 years ago
Brennen Bearnes
452f59a11b
add scping to squiggle.city to grab
6 years ago
Brennen Bearnes
6b6ad2ea60
rightnow: move unix time down the list
6 years ago
Brennen Bearnes
3cd4422842
bin/dump_path: drop the current $PATH into the clipboard via xclip
Useful for figuring out what $PATH things run in the window manager
environment but not from within a shell can see.
6 years ago
Brennen Bearnes
56cceac150
fragment-entry: add a <h2> title, use in .vimrc
In vim, replaces a slightly more convoluted invocation of bin/today.
6 years ago
Brennen Bearnes
e022f98f2f
add fragment-entry-gallery & fragment-entry-poem
7 years ago
Brennen Bearnes
e46db473c9
expect input from public_lynx instead of public
7 years ago
Brennen Bearnes
28af00910a
a .lynxrc & an editor wrapper for modifying p1k3 entries
This has very little utility, but might demonstrate a general
approach for using Lynx as a viewer for HTML files generated from some
other source and editing them from there. You hit `e` in Lynx and it
calls whatever editor is defined.
Hit `o` to set options and change the
editor in there to lynx-wrapper-edit, making sure to hit the "write
changes to disk" or whatever it says checkmark before applying changes.
This works by taking the path that Lynx passes off for the filename to
edit, changing part of that path with sed to reflect where the source
file is, and then handing that to vim to edit. After vim finishes, it
re-renders the static HTML files that Lynx is viewing.
7 years ago
Brennen Bearnes
722e3c2094
xmonad: add clipit clipboard manager to bin/xmonad.start
I've come to rely on this thing, for better or worse. Mostly as a way
to paper over the hilariously inconsistent clipboard behavior of a modern
apps like browsers.
7 years ago
Brennen Bearnes
0c6cca567a
bin/fragment-entry: a blog entry template
7 years ago
Brennen Bearnes
304b5311dd
photocp: add another media path for an antiquated canon digital camera
7 years ago
Brennen Bearnes
0c61d8805f
home/bin/mostrecent: discard an unnecessary option to ls(1)
7 years ago
Brennen Bearnes
64533cd45d
home/bin/gif-sel-4: correct name for underlying gif-sel script
7 years ago
Brennen Bearnes
6add232213
home/bin/mostrecent: get the most recently-modified file in a directory
Useful for screenshot directories and such.
7 years ago
Brennen Bearnes
82f59f6d45
a stupid perl fizzbuzz
7 years ago
Brennen Bearnes
fa9a8dbe5b
photocp: don't overwrite existing files
7 years ago
Brennen Bearnes
7c83dec4ec
rm home/bin/git-local-to-remote-status
7 years ago