Updated radio file, archive now doesnt care about log.txt, will be making better use of my todo list for this
This commit is contained in:
parent
c55b73e979
commit
951c827bfa
3 changed files with 11 additions and 14 deletions
BIN
archive.tar.gz
BIN
archive.tar.gz
Binary file not shown.
19
dev-env.sh
19
dev-env.sh
|
@ -10,7 +10,6 @@ _notes_locations_print()
|
||||||
echo "\t\ttodo.txt:\t$TODOTXTPATH"
|
echo "\t\ttodo.txt:\t$TODOTXTPATH"
|
||||||
echo "\t\twiki:\t\t$VIMWIKIPATH"
|
echo "\t\twiki:\t\t$VIMWIKIPATH"
|
||||||
echo "\t\tvimrc:\t\t$MYVIMRC"
|
echo "\t\tvimrc:\t\t$MYVIMRC"
|
||||||
echo "\t\tlog.txt:\t$LOGTXTPATH"
|
|
||||||
echo "\t\tbashrc:\t\t$HOME/.bashrc"
|
echo "\t\tbashrc:\t\t$HOME/.bashrc"
|
||||||
echo "\t\trss feeds:\t$HOME/.config/newsraft/feeds"
|
echo "\t\trss feeds:\t$HOME/.config/newsraft/feeds"
|
||||||
}
|
}
|
||||||
|
@ -29,18 +28,17 @@ _help()
|
||||||
|
|
||||||
_extract_notes()
|
_extract_notes()
|
||||||
{
|
{
|
||||||
if [ ! -e "./archive.tar.gz.gpg" ];
|
if [ ! -e "./archive.tar.gz" ];
|
||||||
then
|
then
|
||||||
echo "archive.tar.gz.gpg does not exist."
|
echo "archive.tar.gz does not exist."
|
||||||
exit 1
|
exit 1
|
||||||
fi
|
fi
|
||||||
mkdir tmp
|
mkdir tmp
|
||||||
#gpg -o archive.tar.gz -d archive.tar.gz.gpg
|
#gpg -o archive.tar.gz -d archive.tar.gz
|
||||||
tar xzf archive.tar.gz -C .
|
tar xzf archive.tar.gz -C .
|
||||||
cp -r ./tmp/wiki $(dirname $VIMWIKIPATH)
|
cp -r ./tmp/wiki $(dirname $VIMWIKIPATH)
|
||||||
cp ./tmp/todo.txt $TODOTXTPATH
|
cp ./tmp/todo.txt $TODOTXTPATH
|
||||||
cp ./tmp/.vimrc $MYVIMRC
|
cp ./tmp/vimrc $MYVIMRC
|
||||||
cp ./tmp/log.txt $LOGTXTPATH
|
|
||||||
cp ./tmp/bashrc $HOME/.bashrc
|
cp ./tmp/bashrc $HOME/.bashrc
|
||||||
cp ./tmp/rssfeeds $HOME/.config/newsraft/feeds
|
cp ./tmp/rssfeeds $HOME/.config/newsraft/feeds
|
||||||
rm -r ./tmp
|
rm -r ./tmp
|
||||||
|
@ -54,7 +52,6 @@ _storage_notes()
|
||||||
cp $TODOTXTPATH ./tmp/
|
cp $TODOTXTPATH ./tmp/
|
||||||
cp -r $VIMWIKIPATH ./tmp/
|
cp -r $VIMWIKIPATH ./tmp/
|
||||||
cp $MYVIMRC ./tmp/vimrc
|
cp $MYVIMRC ./tmp/vimrc
|
||||||
cp $LOGTXTPATH ./tmp/
|
|
||||||
cp $HOME/.bashrc ./tmp/bashrc
|
cp $HOME/.bashrc ./tmp/bashrc
|
||||||
cp $HOME/.config/newsraft/feeds ./tmp/rssfeeds
|
cp $HOME/.config/newsraft/feeds ./tmp/rssfeeds
|
||||||
tar czf archive.tar.gz ./tmp/
|
tar czf archive.tar.gz ./tmp/
|
||||||
|
@ -104,7 +101,7 @@ _launch_notes()
|
||||||
{
|
{
|
||||||
tmux new-session -d 'bash'
|
tmux new-session -d 'bash'
|
||||||
tmux new-window 'newsraft'
|
tmux new-window 'newsraft'
|
||||||
tmux new-window 'vim -o $TODOTXTPATH $VIMWIKIPATH/index.md $LOGTXTPATH'
|
tmux new-window 'vim -o $TODOTXTPATH $VIMWIKIPATH/index.md'
|
||||||
tmux -2 attach-session -d
|
tmux -2 attach-session -d
|
||||||
}
|
}
|
||||||
|
|
||||||
|
@ -130,12 +127,6 @@ then
|
||||||
exit 1
|
exit 1
|
||||||
fi
|
fi
|
||||||
|
|
||||||
if [ -z "$LOGTXTPATH" ];
|
|
||||||
then
|
|
||||||
echo "LOGTXTPATH not set."
|
|
||||||
exit 1
|
|
||||||
fi
|
|
||||||
|
|
||||||
if [ -z "$RSSFEEDSPATH" ];
|
if [ -z "$RSSFEEDSPATH" ];
|
||||||
then
|
then
|
||||||
echo "RSSFEEDSPATH not set."
|
echo "RSSFEEDSPATH not set."
|
||||||
|
|
6
radio/main.m3u
Normal file
6
radio/main.m3u
Normal file
|
@ -0,0 +1,6 @@
|
||||||
|
#EXTM3U
|
||||||
|
#PLAYLIST:Online radio: mskor radio
|
||||||
|
#EXTINF:-1, Phonk Radio
|
||||||
|
http://79.120.77.11:9035
|
||||||
|
#EXTINF:-1, Lainchan Radio
|
||||||
|
https://radio.lainchan.org/listen/lainchan_radio_main/radio.mp3
|
Loading…
Reference in a new issue