mikyopii

joined 2 years ago
[–] mikyopii@programming.dev 14 points 2 years ago

God I wish. It was a purer time.

Now it's mostly about feeding people ads.

[–] mikyopii@programming.dev 10 points 2 years ago (7 children)

Why not just run TrueNAS Scale? It's a NAS built on top of Debian?

[–] mikyopii@programming.dev 5 points 2 years ago

Man, Hungarian Rhapsody No. 2 is still a banger.

[–] mikyopii@programming.dev 1 points 2 years ago

That's good to know. Thanks!

[–] mikyopii@programming.dev 3 points 2 years ago* (last edited 2 years ago) (3 children)

His example doesn't seem to perform any comparisons to determine what to name the file. If the text file is just a list then something like this could work:

$file = Get-Content -Path .\individuals2.txt

foreach ($line in $file) { Copy-Item -Path .\template.docx -Destination ".$(2 + $line + '.docs')" }

Edit: Wow, Lemmy destroys formatting.

[–] mikyopii@programming.dev 2 points 2 years ago

Yeah, I looked at the plain text of a .dotx file. That's unparsable. The other poster probably has the right idea on how to get information out of the file.

[–] mikyopii@programming.dev 3 points 2 years ago (2 children)

Does it have to be a Word template? If you can get that into a plain text format this will be much easier. There may be a module that you can download online otherwise you are probably going to have to do some painful parsing after you import the file using "Get-Content".

Do you have any code written? This sounds like something that ChatGPT could probably handle pretty well.

[–] mikyopii@programming.dev 3 points 2 years ago

I could tell, traffic was fucking terrible getting home today.

[–] mikyopii@programming.dev 20 points 2 years ago

I've been with Porkbun for over a year now. No complaints.

[–] mikyopii@programming.dev 20 points 2 years ago

Manga is Villainess Level 99: I May Be the Hidden Boss but I'm Not the Demon Lord.

It's cute, nothing to write home about.

[–] mikyopii@programming.dev 2 points 2 years ago

It does a little bit of both.

[–] mikyopii@programming.dev 4 points 2 years ago (2 children)

Dennou Coil

view more: ‹ prev next ›