pycache to gitignore

This commit is contained in:
2019-03-20 01:11:12 +04:00
parent 243ec8ecc0
commit 7bd08705dd
2 changed files with 12 additions and 3 deletions

View File

@@ -2,3 +2,6 @@
.DS_Store .DS_Store
.idea .idea
.ipynb_checkpoints
__pycache__

View File

@@ -173,12 +173,12 @@ function .dcp {
.g push .g push
} }
function strip-tags { function strip_tags {
FUNCTION_PRELUDE FUNCTION_PRELUDE
find . -type f -name '*.mp3' \ find . -type f -name '*.mp3' \
| tr '\n' '\0' \ | tr '\n' '\0' \
| xargs -0 -n1 mid3v2 --delete-frames=TXXX,USLT,TIPL,UFID,APIC,TBPM,TCMP,TDOR,TDRC,TLAN,TMED,TPOS,TPUB,TRCK,TCON | xargs -0 -n1 mid3v2 --delete-frames=APIC,TXXX,USLT,TBPM
} }
function levi_beet { function levi_beet {
@@ -215,7 +215,7 @@ function rsync2 {
"${(@)@}" "${(@)@}"
} }
function sync-music { function sync_music {
FUNCTION_PRELUDE FUNCTION_PRELUDE
# if ! is_local; then # if ! is_local; then
@@ -329,3 +329,9 @@ function update_.g {
function .sh_setup { function .sh_setup {
echo 'wget abra.me/.sh && chmod +x .sh && ./.sh' echo 'wget abra.me/.sh && chmod +x .sh && ./.sh'
} }
function send_new_torrents {
FUNCTION_PRELUDE
rsync2 --remove-source-files ~/Downloads/*.torrent(mm-10) levi:/projects/torrent_autoadd/
}