p0lyg0n
09/05/2020, 10:37 PMkevins8
09/05/2020, 10:37 PMkevins8
09/05/2020, 10:37 PMkevins8
09/05/2020, 10:37 PMp0lyg0n
09/05/2020, 10:38 PMp0lyg0n
09/05/2020, 10:38 PMbase.*
or home.*
insteadp0lyg0n
09/05/2020, 10:39 PM*.tags.*
for hierarchies that have tags but that's redundant and could create dupes, I will instead have a base.tags.*
and then *.tags
notes linking back to tags from base.tags.*
p0lyg0n
09/05/2020, 10:39 PMbase.tags
the note having an index of all p0lyg0n
09/05/2020, 10:39 PMp0lyg0n
09/05/2020, 10:40 PMkevins8
09/05/2020, 10:40 PMkevins8
09/05/2020, 10:40 PMkevins8
09/05/2020, 10:41 PMbase.tags
, i just do tags
kevins8
09/05/2020, 10:41 PMroot.*
kevins8
09/05/2020, 10:42 PMtags.all
or a tags.index
kevins8
09/05/2020, 10:43 PMrb
require 'time'
guard :shell do
watch /.*/ do |m|
now = Time.now.utc.to_datetime.strftime '%Y-%m-%dT%H'
commit = now
out = `git log -n1 --grep #{now}`
if out.empty?
`git add . && git commit -m "#{commit}"`
else
`git add . && git commit --amend -m "#{commit}"`
end
end
end
- supervisor.conf
conf
[program:guard_dev]
directory=/Users/kevinlin/Dropbox/Apps/Noah/dev
command=bash -c "source $HOME/.zshrc && guard -G ../arc/Guardfile -i"
stdout_logfile=/tmp/%(program_name)s.out.log
stderr_logfile=/tmp/%(program_name)s.err.log
[program:guard_self]
directory=/Users/kevinlin/Dropbox/Apps/Noah/self
command=bash -c "source $HOME/.zshrc && guard -G ../arc/Guardfile -i"
stdout_logfile=/tmp/%(program_name)s.out.log
stderr_logfile=/tmp/%(program_name)s.err.log
[program:guard_notesv2]
directory=/Users/kevinlin/Dropbox/Apps/Noah/notesv2
command=bash -c "source $HOME/.zshrc && guard -G ../arc/Guardfile -i"
stdout_logfile=/tmp/%(program_name)s.out.log
stderr_logfile=/Tmp/%(program_name)s.err.log
p0lyg0n
09/05/2020, 10:44 PMroot.*
@User Yeah makes sense, thanks for sharingp0lyg0n
09/05/2020, 10:45 PMp0lyg0n
09/05/2020, 10:45 PMkevins8
09/05/2020, 10:47 PMkevins8
09/05/2020, 10:47 PMkevins8
09/05/2020, 10:48 PMp0lyg0n
09/05/2020, 10:48 PMp0lyg0n
09/05/2020, 10:49 PMp0lyg0n
09/05/2020, 10:50 PMp0lyg0n
09/05/2020, 10:50 PMkevins8
09/05/2020, 10:51 PMkevins8
09/05/2020, 10:53 PMp0lyg0n
09/05/2020, 10:53 PMkevins8
09/05/2020, 10:54 PM