alpha
Login
or
Join now
j3s.sh
/
dotfiles
Star
0
Fork
0
Atom
Configure Feed
Issues
Pull Requests
Commits
Tags
Feed URL
Select the types of activity you want to include in your feed.
my dotz
Star
0
Fork
0
Atom
Configure Feed
Issues
Pull Requests
Commits
Tags
Feed URL
Select the types of activity you want to include in your feed.
Overview
Issues
Pulls
Pipelines
replace jsync with syncthing
author
j3s
date
5 years ago
(Mar 12, 2021, 1:12 PM -0600)
commit
0526c62c
0526c62c5e141f60ccee77056d690333046c7ced
parent
9b81391b
9b81391bcedcb1c0e783a3969fe22a92a4a489a3
-21
2 changed files
Expand all
Collapse all
Unified
Split
bin
bedtime
jsync
-10
bin/bedtime
Reviewed
···
1
1
-
#!/bin/sh -e
2
2
-
#
3
3
-
# Plan tomorrow's day
4
4
-
5
5
-
notefile="$HOME/drop/notes.md"
6
6
-
printf '\n' >> "$notefile"
7
7
-
date +"%Y-%m-%d" >> "$notefile"
8
8
-
printf -- "----------------" >> "$notefile"
9
9
-
vim "+normal Go" +startinsert "$notefile"
10
10
-
jsync
-11
bin/jsync
Reviewed
···
1
1
-
#!/bin/sh -e
2
2
-
3
3
-
homedir="$HOME/drop"
4
4
-
if ! [ -d "$homedir" ]; then
5
5
-
git clone j3s@gibson:drop "$homedir"
6
6
-
fi
7
7
-
cd "$homedir"
8
8
-
git pull
9
9
-
git add --all
10
10
-
git commit -m "$(date +%s)"
11
11
-
git push