whateverforever / zettelwarmer Goto Github PK
View Code? Open in Web Editor NEWCLI Tool for Zettlr/Obsidian to help you browse random notes. The older the note, the more likely it will be shown.
License: MIT License
CLI Tool for Zettlr/Obsidian to help you browse random notes. The older the note, the more likely it will be shown.
License: MIT License
Hey! Love the idea and the script works great.
I was looking for a method / process / habit of reviewing old notes and this fits perfectly.
On Linux, I had to change line 152 with:
subprocess.run(["xdg-open", zettel])
This code does not necessarily work on any Linux.
As a broader solution, I replaced the same line with:
try:
subprocess.run(["open", zettel]) #original command for Mac
except:
subprocess.run(["xdg-open", zettel])
It should work on Mac and several Linux distros.
It should be expanded to include Windows systems, and I'm sure there are way more elegant solutions for this.
When I run it, I get the following error:
Traceback (most recent call last):
File "/Users/philipp/.scripts/zettelwarmer.py", line 204, in <module>
main(**params)
File "/Users/philipp/.scripts/zettelwarmer.py", line 144, in main
plot_age_heatmap(ages)
File "/Users/philipp/.scripts/zettelwarmer.py", line 26, in plot_age_heatmap
padded_ages_mins = np.pad(
File "<__array_function__ internals>", line 5, in pad
File "/usr/local/lib/python3.8/site-packages/numpy/lib/arraypad.py", line 803, in pad
_set_pad_area(roi, axis, width_pair, value_pair)
File "/usr/local/lib/python3.8/site-packages/numpy/lib/arraypad.py", line 147, in _set_pad_area
padded[left_slice] = value_pair[0]
ValueError: cannot convert float NaN to integer
A declarative, efficient, and flexible JavaScript library for building user interfaces.
๐ Vue.js is a progressive, incrementally-adoptable JavaScript framework for building UI on the web.
TypeScript is a superset of JavaScript that compiles to clean JavaScript output.
An Open Source Machine Learning Framework for Everyone
The Web framework for perfectionists with deadlines.
A PHP framework for web artisans
Bring data to life with SVG, Canvas and HTML. ๐๐๐
JavaScript (JS) is a lightweight interpreted programming language with first-class functions.
Some thing interesting about web. New door for the world.
A server is a program made to process requests and deliver data to clients.
Machine learning is a way of modeling and interpreting data that allows a piece of software to respond intelligently.
Some thing interesting about visualization, use data art
Some thing interesting about game, make everyone happy.
We are working to build community through open source technology. NB: members must have two-factor auth.
Open source projects and samples from Microsoft.
Google โค๏ธ Open Source for everyone.
Alibaba Open Source for everyone
Data-Driven Documents codes.
China tencent open source team.