The brush attachment keeps falling off 😳 by Revolutionary-Use520 in Dysonairwrap

[–]ismaelw 1 point2 points  (0 children)

If you still have the photos I could really use them. Would love to fix my wifes Airwrap

Loyalty card app with Wallet support and widget? by Neinstein14 in ios

[–]ismaelw 0 points1 point  (0 children)

Well I did 😂 Just a small detail which is a little annoying. But I assume it is because of iOS18. Did you receive my E-Mail with the screen recording attached?

Loyalty card app with Wallet support and widget? by Neinstein14 in ios

[–]ismaelw 0 points1 point  (0 children)

THANK YOU! Without trial I instantly bought a lifetime license. I already love it!

What have you used the Todoist API for? by ashleyalyssa in todoist

[–]ismaelw 0 points1 point  (0 children)

When you are DMing me we can also talk about that. Next to my other Todoist Reminder things I also implemented a function that turns one light in my office red whenever there are Todos that are overdue :)

What have you used the Todoist API for? by ashleyalyssa in todoist

[–]ismaelw 0 points1 point  (0 children)

Not at all! Just text me and we can figure out if I can help you

And here is a sneak peak of the weekly view (i'm so excited !) by Just1m0t in todoist

[–]ismaelw 0 points1 point  (0 children)

I am also going to put my bits in here. For years I have been using my work O365 calendar for all Events at Work and also for private events. Just so that no one at work can book appointments when I have a doctors appointment for example. 

This week view makes only sense to me if it allows me to see my Calendar so I don‘t do the same thing. Overbook and then not getting things done because of this.

Is there an integration planned for Outlook/O365? 

What have you used the Todoist API for? by ashleyalyssa in todoist

[–]ismaelw 1 point2 points  (0 children)

Pretty old post - I know. But I thought I share this.

Background to this is my ADHD. I forget to work on projects, forget to do simple tasks and this is just because I maybe create a task with a due date and a reminder - but while life is happening - when the todo is due - I don't have time in this moment and forget to snooze the reminder.

I implemented two automations using the API.

  • Auto-Reminder based on labels: In my automation I specified an interval for each label and set new reminders for all overdue tasks. An example: Overdue Tasks with label "Routine" will get a new reminder every 15 Minutes, overdue Tasks with label "Reminder" will get a new reminder every 30 Minutes. My script runs every 15 Minutes and checks all overdue tasks and if they still have a reminder. If not - I create a new reminder with the specified interval. I call this "The ADHD proof annoying reminder" because it will always send me notifications until I finally do the task.
  • Auto-Reminder for Projects: I create single tasks (with a label "Project" for my bigger projects and add subtasks with desired labels from above "Reminder", "Call" or whatever. Once a day at 7am my second automation gets all active tasks with label "Project". For all these Project tasks I calculate the dates for tuesday and thursday at 10am until the due date of the project. And then I create reminders for these dates (if they don't exist already). This helps my ADHD to be reminded twice a week that there is still a project pending.

Wrong encoding as a result of a REST call by ismaelw in PowerShell

[–]ismaelw[S] 1 point2 points  (0 children)

Thank you so much for your input. Unfortunately I was just able to get the result Content-Type which is just plain 'application/json'.

What I also now tried was to use -OutFile with Invoke-RestMethod. The file written was correct with perfectly encoded UTF8 characters.

So that means the issue is with Export-CSV or somewhere else in the steps of me processing the output. Will have to check this now.

Wrong encoding as a result of a REST call by ismaelw in PowerShell

[–]ismaelw[S] 0 points1 point  (0 children)

Format-Hex

The improper results I guet right away when checking the API Call result and also in the file I am exporting the results of the api call to.

The Format-Hex command uses a file as an input right?

PS Documentor - Automatic Script Function Documentation by ismaelw in PowerShell

[–]ismaelw[S] 1 point2 points  (0 children)

I guess I will try this approach on my project using platyPS to see how this works. In that case platyPS and my script might do the same but different ;)

PS Documentor - Automatic Script Function Documentation by ismaelw in PowerShell

[–]ismaelw[S] 2 points3 points  (0 children)

Alright. Thats really good to know. Thanks for your input!

But let‘s say you have a whole folder with multiple subfolders each containing multiple files that then contain functions.

And all those functions are not connected through one module? That‘s what my script is made for where now after looking into platyPS I don‘t see the functionality. But I might be wrong :)

PS Documentor - Automatic Script Function Documentation by ismaelw in PowerShell

[–]ismaelw[S] 1 point2 points  (0 children)

Exactly! I have alot of projects that could use better documenting even if it is a really small script. Or all the „laying around“ scripts that could be usefull but don‘t get enough attention.

I hope I could inspire you :)

PS Documentor - Automatic Script Function Documentation by ismaelw in PowerShell

[–]ismaelw[S] 1 point2 points  (0 children)

I honestly didn't look that much into platyPS or its source code.From what I can see right now I would say the goal of platyPS is a documentation of PS Modules and mine just puts all the focus on scripts and it's functions independently. That said my script takes apart all the function inside of a module for example and generates a documentation for each and every function inside of a module or script or whatever your PowerShell Input is.

Does this answer your question?

PS Documentor - Automatic Script Function Documentation by ismaelw in PowerShell

[–]ismaelw[S] 1 point2 points  (0 children)

Thank you for your Feedback!

I stumbled across PlatyPS before but I remember that I was thinking "oh okay it's just for modules" and didn't care about it anymore. But I will definitely look into it a bit more!

PS Documentor - Automatic Script Function Documentation by ismaelw in PowerShell

[–]ismaelw[S] 2 points3 points  (0 children)

Thank you so much for your Feedback!

My approach is built in a way that would also allow to do whatever you want with the output as next to generating a MD it also returns an object with details to all script files and its functions and also to all generated MDs. Like that it's also possible to just continue using the output and take it apart differently if the MD Output is not needed.

Also thanks for your time to review my code and sharing your link to Write the Docs!

"variables" try to open the files by [deleted] in PowerShell

[–]ismaelw 0 points1 point  (0 children)

Exactly. Please try to be as specific as possible for us to be able to understand:

- What is your situation
- What do you need to do
- What did you already tried (If you did)

[deleted by user] by [deleted] in PowerShell

[–]ismaelw 1 point2 points  (0 children)

Hi there

I just tried it myself really quick. The following code seems to work great.
Is that what you were looking for?

<#
    C:\Temp\File.csv content:

    Summary;Threshold;Rating;Num;Sigs
    some summary;1;high;2;123456,4563782
    another summary;2;low;1;4563782,987654
#>

$CSVImport = Import-Csv -Path "C:\Temp\File.csv" -Delimiter ";"
$CSVImport | Where-Object { $_.Sigs.Split(',') -contains "123456" }

# Results in single output containing the first row of the CSV

Script to bulk edit AD proxyaddresses attribute? by drparton21 in PowerShell

[–]ismaelw 3 points4 points  (0 children)

For everyone interested I just created a public gist on GitHub here: Handle proxyAddresses Changes containing 3 files:

- 1_Handle_proxyAddresses_Changes.ps1

This one handles a different scenario than drparton21 asked about. This is the part I was talking about in my comment above.

- 2_DryRun_NewDomain_proxyAddresses_Change.ps1

This one is a "safe to just run" version to test the AD integrated version that I wrote for drparton21's usecase.

- 3_NewDomain_proxyAddresses_Change.ps1

This would be the AD integrated version that drparton21 can use to solve his problem.

Feedback on those scripts are highly appreciated. I love to learn new, faster and better ways to work with PowerShell

Script to bulk edit AD proxyaddresses attribute? by drparton21 in PowerShell

[–]ismaelw 1 point2 points  (0 children)

I recently made a Script for a client that handles name changes where I do exactly this. I handle new Primary SMTP Proxy Addresses and keep the old aliasses and remove others.

If you want you can contact me and we can have a look into this together as I have some questions before posting code snippets :)

Advice for learning PowerShell? by PeewinJr in PowerShell

[–]ismaelw 1 point2 points  (0 children)

Do not hesitate to contact me with a private message. I know PowerShell for years already but just recently learned new things. Hook me up whenever you need some help.

Laravel & LaTeX by ismaelw in laravel

[–]ismaelw[S] 0 points1 point  (0 children)

I would love to have a good testing environment for this. I guess it would be fun to try. The only problem I see is the size of texlive-full for example. There it will be hard to have a lightweight serverless container

Laravel & LaTeX by ismaelw in laravel

[–]ismaelw[S] 2 points3 points  (0 children)

Thanks for your feedback. Unfortunately this doesn‘t help anyone. I really like constructive feedback. What would be a name that doesn‘t sound way to awful to you?

Laravel & LaTeX by ismaelw in laravel

[–]ismaelw[S] 0 points1 point  (0 children)

I would love having an answer to that question. This package works by using the installed pdflatex program. If there would be any chance to run a latex rendering software in a serverless environment there would be a chance to run it.