GithubHelp home page GithubHelp logo

savenotes's People

Contributors

bshannon avatar

Stargazers

 avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar

Watchers

 avatar  avatar  avatar  avatar  avatar

savenotes's Issues

Instructions to compile?

Any chance you can provide instructions for getting this up and running? I just installed JDK and have no idea what to do next.
Thanks!

Java cannot cast class to integer error

This code has been running for me unchanged for many months. Only throwing this error now. Possibly there was a silent update of Notes.app?

Environments tested on:
macOS Catalina 10.15.7
macOS Big Sur 11.5.1

Running:
> java -ea -jar savenotes.jar -d notes -m

Produces:

Exception in thread "main" java.lang.ClassCastException: class java.lang.Integer cannot be cast to class [B (java.lang.Integer and [B are in module java.base of loader 'bootstrap')
	at ObjectData.getBytes(ObjectData.java:82)
	at SaveNotes.getNoteBody(SaveNotes.java:558)
	at SaveNotes.save(SaveNotes.java:234)
	at SaveNotes.main(SaveNotes.java:152)

Checkbox state

Continuing our conversation from ydkhatri/mac_apt/issues/13:

I've gotten it up and running. Super exciting! Thanks for the hard work!

When I'm using either the -m or -h args, I get checklist items decorated with the following html:
<div style="103">

Regardless of whether or not the checkbox is checked.

Update Readme

Please add mvn package as a command to build the jar to the README. I am no Java developer but lost my notes nevertheless :)

Thx!

Feature request: Output images

Hello Bill!

I have the occasional image saved inside my notes, and it would be great if those were exported with the notes. Markdown has a fairly flexible image notation: ![title](example.png) which works with relative file locations.

Let me know what you think. Thank you!

Error: No suitable driver found for jdbc:sqlite

Just tried to run

java -ea -jar ~/Desktop/NOTES/apps/savenotes-master/target/savenotes.jar -f ~/Desktop/NOTES/data/NotesV7.storedata -d ~/output

without success:

No suitable driver found for jdbc:sqlite:/Users/iwanuschka/Desktop/NOTES/data/NotesV7.storedata
Exception in thread "main" java.lang.NullPointerException: Cannot invoke "java.sql.Connection.createStatement()" because "conn" is null
	at SaveNotes.save(SaveNotes.java:177)
	at SaveNotes.main(SaveNotes.java:152)

NotesV7.storedata has been taken from a system running Mac OS Catalina.

Any idea?

Strikethrough formatting not exported

Text with strikethrough formatting is not exported to markdown

For example, this text results in unadorned text in the output

example

becomes

example

Suggest using the GFM format for strikethrough export
~~example~~

Recommend Projects

  • React photo React

    A declarative, efficient, and flexible JavaScript library for building user interfaces.

  • Vue.js photo Vue.js

    ๐Ÿ–– Vue.js is a progressive, incrementally-adoptable JavaScript framework for building UI on the web.

  • Typescript photo Typescript

    TypeScript is a superset of JavaScript that compiles to clean JavaScript output.

  • TensorFlow photo TensorFlow

    An Open Source Machine Learning Framework for Everyone

  • Django photo Django

    The Web framework for perfectionists with deadlines.

  • D3 photo D3

    Bring data to life with SVG, Canvas and HTML. ๐Ÿ“Š๐Ÿ“ˆ๐ŸŽ‰

Recommend Topics

  • javascript

    JavaScript (JS) is a lightweight interpreted programming language with first-class functions.

  • web

    Some thing interesting about web. New door for the world.

  • server

    A server is a program made to process requests and deliver data to clients.

  • Machine learning

    Machine learning is a way of modeling and interpreting data that allows a piece of software to respond intelligently.

  • Game

    Some thing interesting about game, make everyone happy.

Recommend Org

  • Facebook photo Facebook

    We are working to build community through open source technology. NB: members must have two-factor auth.

  • Microsoft photo Microsoft

    Open source projects and samples from Microsoft.

  • Google photo Google

    Google โค๏ธ Open Source for everyone.

  • D3 photo D3

    Data-Driven Documents codes.