Re: [dev] reading an epub book with less: adventures in text processing

2024-03-11 Thread Viktor Grigorov


Rather late to the party and I've already forgotten the initial email. 
Nevertheless, I'll give the program I most use: epub2txt.[0] It's not perfect, 
but compared to calibre's ebook-convert, and everything else I found in C in 
github or codeberg or gitlab, it's the best. A once-over with an editor capable 
of multiple selection and edition is the most I've had to do. Faulty output 
includes, say, only a single letter rather than a whole word capitalised or 
within '\e[...m' and '\e[0m'.

Protip; Run it with -w 0 to get 'natural' paragraphs.


[0] https://github.com/kevinboone/epub2txt2





Re: [dev] organizing programs

2023-05-13 Thread Viktor Grigorov
I use a a a timer zsh script that has a timer/countdown and alarm options, the 
former of which can easily serve as a pomodo technique utility.
There was a todo dash script using dmenu, if you input a new item it gets 
added, otherwise an existed is removed from the file.
Can share if interested.
Pen and paper work best for me when it comes to tasks.

May 13, 2023, 23:01 by s.je...@gmail.com:

> Heyhey!
>
> Страхиња Радић  wrote:
>
>> On 23/05/12 02:11PM, LM wrote:
>> > I'd be curious to know what tools other people use on the list to
>> > handle organizational jobs such as time and task scheduling, todo
>> > lists, habit tracking, displaying/printing calendars, etc.  Any
>> > recommendations?  If you use more than one application, which programs
>> > work together or chain well?  Thanks.
>>
>> http://codemadness.org/todo-application.html
>>
>
> Just chiming in with that years ago I was trying out taskwarrior as
> well but after neglecting this system for years I have simply used a
> ~/TODO.txt file at work.
>
> I always order the items in there according to priority and delete the
> items I have finished using vim. This system has worked very well for
> me and I haven't seen a need to change it yet. Your mileage may vary!
>
> Cheers,
> Silvan
>




[dev] surf ephemeral not switching(?)

2021-10-22 Thread Viktor Grigorov
Hey,

Usually I clean out ~/.surf/cache/localstorage for all but 2 sites. I found out 
the emphemeral option could acomplish just that, and setting up peruri options 
with all 3 permutations (each being same priority) turned out to not work. It's 
either on, or off, as evidenced by the files being created or not, and the 
userscript not accessing (or not being able to access) the locally stored 
settings in the above dir. I make'd surf with a new keyboard command to toggle 
ephemeral, but to no avail. 
Am I missing something, or is this unexpected behavior?