https://github.com/arn4v/dotfiles
https://github.com/arn4v/dotfiles
Last synced: 3 months ago
JSON representation
- Host: GitHub
- URL: https://github.com/arn4v/dotfiles
- Owner: arn4v
- Created: 2020-08-02T15:43:46.000Z (almost 6 years ago)
- Default Branch: master
- Last Pushed: 2022-04-03T08:09:03.000Z (about 4 years ago)
- Last Synced: 2025-05-21T05:11:40.555Z (about 1 year ago)
- Language: Vim script
- Size: 4.36 MB
- Stars: 1
- Watchers: 2
- Forks: 0
- Open Issues: 0
-
Metadata Files:
- Readme: README.md
Awesome Lists containing this project
README
# Snippets
#### Batch change filename extensions
```shell
for f in `ls .`;do mv $f ${basename $f | cut -d. -f1`}.; done
```
#### Roam Research - Add to Reading List Bookmarklet
````js
javascript:title=`{{[[TODO]]}} [${document.querySelector('meta[property="og:title"]')?.content ?? document.title}](${document.URL}) by [[${document.querySelector('meta[name="author"]')?.content ?? document.querySelector('meta[property="og:site_name"]').content ?? ''}]]`;if(title){void(prompt('Page Title',title));}
````