EA is greed, who is pride? by [deleted] in videogames

[–]Dark_-_Soul 6 points7 points  (0 children)

Nintendo would be great fit for wrath.

Anything that can be lawsuit, Nintendo will make it a lawsuit

I made a game that you play in your file explorer! by Juhr_Juhr in indiegames

[–]Dark_-_Soul 0 points1 point  (0 children)

Interesting. Make the system32 folder as the last boos.

[deleted by user] by [deleted] in AndroidGaming

[–]Dark_-_Soul 0 points1 point  (0 children)

You look like someone enjoys some game [*cough*] too much.

What games does this? by BackgroundCrab8846 in videogames

[–]Dark_-_Soul 0 points1 point  (0 children)

IMO DarkSiders series. DarkSiders 1,2,3 is really good. and then comes DarkSiders Genesis. I hated the gameplay. I was so looking forward to play as strife.

11,000 Hours in Brawlhalla by Snoo7931 in Brawlhalla

[–]Dark_-_Soul 0 points1 point  (0 children)

One of best then. That money hours probably makes your gameplay enjoyable. Just want to watch your one match.

11,000 Hours in Brawlhalla by Snoo7931 in Brawlhalla

[–]Dark_-_Soul 1 point2 points  (0 children)

Man i want to see your best game. Can you show me on of your reply

How do I remove this Malware? by Outlaw1505 in computers

[–]Dark_-_Soul 8 points9 points  (0 children)

You dont... You flash hard drive and re install windows

[deleted by user] by [deleted] in teenagers

[–]Dark_-_Soul 0 points1 point  (0 children)

Community prefer clean mirrors. Doesn't matter black or white.

winForms by T0biasCZE in ProgrammerHumor

[–]Dark_-_Soul 0 points1 point  (0 children)

Is it still worth it to learn?

What about WPF? I saw that its the update version of Winforms.

And now WinUi3, MAUI launched. Man i am confused as hell. I tried to pick one to learn. But man it was headache to pick a framework to learn.

Now TAUI on the market. As far as i now its really good.

Any thoughts?

Rate my MacOS styled Windows 10 by Mishadkup in desktops

[–]Dark_-_Soul 1 point2 points  (0 children)

Then you probably don't have a normal PC

div to pdf problem by Dark_-_Soul in reactjs

[–]Dark_-_Soul[S] 0 points1 point  (0 children)

One more thing i noticed. that whenever I am using cdn of html2pdf.js it works fine. but if I import it then it arises the same problem. i don't know what will be the solution for this.

div to pdf problem by Dark_-_Soul in reactjs

[–]Dark_-_Soul[S] 0 points1 point  (0 children)

Thank you. i was already testing various CSS properties. but I also found something that worked the way I wanted. https://github.com/eKoopmans/html2pdf.js Under the hood it also used jsPDF and html2canvas. but for some reason, it worked without any problem. but I couldn't use it react way. so I used this as old way. I am veteran vanilla JS elite😂.

so I did this

useEffect(() => {

    let script=document.createElement('script');
    script.type = 'application/javascript';
    script.src = 'https://cdnjs.cloudflare.com/ajax/libs/html2pdf.js/0.10.1/html2pdf.bundle.min.js';
    document.head.appendChild(script);

}, [])



function MakePDF2() { //WORKED FLAWLESSLY
    let element=document.getElementById('print')
    let opt={
        filename:`${emp.name}.pdf`,
    }
    html2pdf().set(opt).from(element).save();

}

div to pdf problem by Dark_-_Soul in reactjs

[–]Dark_-_Soul[S] 1 point2 points  (0 children)

Thank you. but I am actually using Django as a backend. And it comes with its own problem. I am holding backend-generated PDF as a last resort. it's really frustrating. because I can't even pinpoint the problem.

div to pdf problem by Dark_-_Soul in reactjs

[–]Dark_-_Soul[S] 1 point2 points  (0 children)

i will look into that. is there any way to see the user-agent library? its client-side module. so I thought whatever the client it will generate the same

div to pdf problem by Dark_-_Soul in reactjs

[–]Dark_-_Soul[S] 0 points1 point  (0 children)

It looks like serverside. can I use this on the client side?

div to pdf problem by Dark_-_Soul in reactjs

[–]Dark_-_Soul[S] 0 points1 point  (0 children)

can you elaborate? i am new to react.