snose

Timeline
Login

Many hyperlinks are disabled.
Use anonymous login to enable hyperlinks.

22 check-ins using file LICENSE version e9736dd8bc

2019-03-10
01:51
Typo, should have been file not filename Leaf check-in: 44025db081 user: atomicules tags: trunk, master
2018-11-17
10:59
Break many more common bits out into methods:

- snitems (iterating through items) - snwrite (writing a file from disk) - snread (reading a file from disk) - snremote (getting a remote note from Simplenote)+def snitems(snose): check-in: 3ee3b5e7a8 user: atomicules tags: trunk, master

2018-11-16
17:46
Move some move common bits out to a method check-in: 20b98bc9de user: atomicules tags: trunk, master
14:59
Add a write_index method, avoid repetition check-in: 410d185b80 user: simon tags: trunk, master
14:46
Minor formatting changes check-in: bf33015cce user: simon tags: trunk, master
13:37
Add a load_or_new() method

Haven't really touched this in years so could do with starting to tidy this up a bit. Lots of repetitive code. check-in: d217d13956 user: simon tags: trunk, master

2018-10-28
12:20
Those exits should have been sys.exit(). Whoops./ check-in: 3735e6b8ec user: simon tags: trunk, master
2018-10-18
20:13
Update README to reflect --file and other recent changes. check-in: 36abba8d1a user: simon tags: trunk, master
19:58
Explicitly set snose tag during sync

Because otherwise it gets removed - this is due to Simperium changes that require everything to be set and since we don't set it here the tags get set to a default of empty in simplenote.py now.

It would be nicer to not remove other tags if set, but I can live with this just setting "snose". check-in: f26f676e5d user: simon tags: trunk, master

19:32
Tweak command line args more to suit --file check-in: bdaac3057a user: simon tags: trunk, master
2018-10-13
12:26
Improve regex for filename matching and exit properly if none found check-in: cf115f6116 user: simon tags: trunk, master
12:03
Fixes from 1fe8adea90

Blindly copy/pasted. Some were name not filename check-in: 2f57297d12 user: simon tags: trunk, master

10:57
I give in - switch to spaces instead of tabs check-in: 5dee798315 user: simon tags: trunk, master
10:40
More Python 3 and 2 compatibility - UTF-8 write files

I suspect I didn't get everything quite as good as I could in simplenote.py I wish Python 2 would go away - it's so messy trying to do both. check-in: 1fe8adea90 user: simon tags: trunk, master

2018-10-11
10:25
Add ability to determine filename from first few lines of a file

Wanted to do this for awhile, but was too lazy until now.

Most of my snose files have the filepath as the first or second line in the file (in a comment). This makes it easier to sneeze files out. check-in: ba8e456fb6 user: simon tags: trunk, master

07:54
Merge in Python3 stuff check-in: 5d0589b3be user: simon tags: trunk, master
2018-10-06
17:56
Python3 compatibility - iteritems vs items

I think that might be all that's needed. This was never super duper advanced code. Leaf check-in: 7dedaed4cc user: atomicules tags: python3

16:41
Start of Python3 compatibility

It's about time... print statements are the easy ones. check-in: d20f7e7998 user: atomicules tags: python3

16:28
Simperium compatibility

Use version instead of syncnum (since I _think_) with Simperium version does what both of these did: I.e. version will increment whether content or metadata changes.

Some import tweaks.

(Gah! This code is horrible, but still works) check-in: f66d33d3c7 user: atomicules tags: trunk, master

2018-03-24
10:25
Remove extraneous quote check-in: f2c2d16206 user: noreply@github.com tags: trunk, master
10:23
Markdown formatting check-in: ea5e442e42 user: noreply@github.com tags: trunk, master
2014-02-11
12:20
Re-license as BSD 2-Clause check-in: c2dcf75092 user: atomicules@users.noreply.github.com tags: trunk, master