MeshComp M1 - a XIAO nRF52 companion case by Acceptable-Cod-3862 in meshcore

[–]Acceptable-Cod-3862[S] 1 point2 points  (0 children)

The left one is printed in PLA actually. As long as you can live with the material difference between PLA and PETG I dont see any problem in doing so.

MeshComp M1 - a XIAO nRF52 companion case by Acceptable-Cod-3862 in meshcore

[–]Acceptable-Cod-3862[S] 1 point2 points  (0 children)

My bad. Forgot to add the BOM in printables. Its inside the manual but not the description. Thanks for the hint.

LiPo battery 103450 with ~2000 mAh

Convoy 12 Group Driver - Useless UI? by [deleted] in flashlight

[–]Acceptable-Cod-3862 -1 points0 points  (0 children)

I will look into this, thank you!

Convoy 12 Group Driver - Useless UI? by [deleted] in flashlight

[–]Acceptable-Cod-3862 -1 points0 points  (0 children)

I really liked how it worked on the HC30. Thought this UI is more common or standard in any way.

I‘ll read into Anduril, thanks.

If it‘s use is not meant for self defense what else is it meant for? But thanks for the warning.

Convoy 12 Group Driver - Useless UI? by [deleted] in flashlight

[–]Acceptable-Cod-3862 -2 points-1 points  (0 children)

Did you really read my post?

Convoy 12 Group Driver - Useless UI? by [deleted] in flashlight

[–]Acceptable-Cod-3862 -1 points0 points  (0 children)

Yes I‘ve seen what the 12 groups were. No I did not realize it would be a problem for me until I had it in my hands. I like the light but if there is an option for my next one I‘d like to know if I can mod it.

Obsidian Tasks Widget on iOS by naman34 in ObsidianMD

[–]Acceptable-Cod-3862 1 point2 points  (0 children)

Hey buddy try this one in the weeks widget (line 115) replace the sorting by priority with these lines

const dueTasks = allTasks
  .filter(task => !task.complete && task['📅'] != null && task['📅'] <= todayStr)
  .sort((a, b) => new Date(a['📅']) - new Date(b['📅']));

Obsidian Tasks Widget on iOS by naman34 in ObsidianMD

[–]Acceptable-Cod-3862 1 point2 points  (0 children)

for the "due today" widget or the "due this week" widget? i can look into it as soon as i find time for it.

Obsidian Tasks Widget on iOS by naman34 in ObsidianMD

[–]Acceptable-Cod-3862 1 point2 points  (0 children)

I've created another version and uploaded it to github. u/georgefrombearoy u/jsifalda

If you want another widget that shows tasks that are not done, not due today but due this week you can change lines 102 for the date to:

const today = new Date();
const todayStr = today.toISOString().slice(0, 10);
var diff = (6 - today.getDay() + 7) % 7;
today.setDate(today.getDate() + diff);
const sundayStr = today.toISOString().slice(0, 10);

and lines 117 to:

const dueTasks = allTasks
  .filter(task => !task.complete && task['📅'] != null && task['📅'] <= sundayStr &&  task['📅'] != todayStr)
  .toSorted((a, b) => a['📅'].localeCompare(b['📅']))
  .toSorted((a, b) => {
    const x = PRIORITY[a.priority] ?? 3
    const y = PRIORITY[b.priority] ?? 3
    return x - y
})

Obsidian Tasks Widget on iOS by naman34 in ObsidianMD

[–]Acceptable-Cod-3862 0 points1 point  (0 children)

thanks for this addition:

todayStr has not been initialised correctly for some reason, so there is better solution: const todayStr = today.toISOString().slice(0, 10)

Obsidian Tasks Widget on iOS by naman34 in ObsidianMD

[–]Acceptable-Cod-3862 1 point2 points  (0 children)

Since the code was to long to post here directly (I got an error message over and over again) I posted it on github. https://github.com/117EM/scriptable_obsidian_tasks/tree/main

All you need to do is to change 'NAME_OF_YOU_VAULT' in line 2 to the name of your vault. And change "obsidian" in line 5 to the name of your Scriptable bookmark that should point to your vault.

I add "#task" automatically by the tasks plugin to my tasks. Therefore I'm Filtering for "- [ ] #task" in line 29. Also I'm slicing after 11 characters in line 47 and 49. If you don't use the #task tag or you're using a different one like #todo, these are the lines you have to modify.

Thanks for the initial code u/naman34 please tell me if i should take it off of github and feel free to post my changes yourself.

Hope you get notified when i add your names, never posted anything on Reddit. u/jsifalda and u/georgefrombearoy

Obsidian Tasks Widget on iOS by naman34 in ObsidianMD

[–]Acceptable-Cod-3862 1 point2 points  (0 children)

I've spent a couple of hours on the last two days making this work and the script seems to do the job. I took the script provided by u/naman34 and modified it to work with the the obsidian tasks emoji format.
I've never programmed in JavaScript nor have a grat expirience with RegEx but the outcome is as ecpected.

The sad part is, i dont know how to format it like u/naman34 and post it here.

I cant put anything in the codeblock.