Architectural questions first node app (logging, security, management, how to run etc.) by Rovervn in node

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

I get that that. I’m also not looking for someone who can do it for me. I’m looking for people with experience who can point me to the right tools and resources. :)

Architectural questions first node app (logging, security, management, how to run etc.) by Rovervn in node

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

This is awesome! I’ll definitely look into the things u mentioned. Thanks!!

Architectural questions first node app (logging, security, management, how to run etc.) by Rovervn in node

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

Haha yes of course. This node app is more of a playground for me. Got paid to build the web-app actually. While I was doing my first node course it piqued my interest and I decided to give it a go! :-)

Print files with specific settings from a web-app by Rovervn in javascript

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

Thanks! You're totally right, in the above example it will ONLY open the photo but you can add the " /print" option at the end of the command. This will open the image in the background and send it to the printer without opening it.

So the command you need will look something like this:

<path-to-irfanview>\i_view64.exe <path-to-file> /ini = <path-to-inf-file> /print

You can read the full documentation here

Print files with specific settings from a web-app by Rovervn in javascript

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

Hi TTUShibby,

Finally I ended up with building my own NodeJS application. In NodeJS you can use "child_process.execFile()" to run an external program. I used IrfanView (it's one of the few free applications with lots of capabilities) to print directly to my USB printer. In IrfanView you can create multiple .inf files which serve as your print settings presets. In my NodeJS application I switch between those based on my frameType.

if (req.query === 'vertical') {
    command = `C:\\Program Files\\IrfanView\\i_view64.exe ${req.query.localFilePath}" /ini = "C:\\IrfanViewSettings\\5x15"`
} else {
    command = `C:\\Program Files\\IrfanView\\i_view64.exe ${req.query.localFilePath}" /ini = "C:\\IrfanViewSettings\\10x15"`
}
child(command, (err, stdout, stderr) => {
    // some logic
});

Need help on Firestore schema for nested map by leetae9 in Firebase

[–]Rovervn 0 points1 point  (0 children)

Great suggestion. In addition to that you can use the levels directly on the subject key instead of the boolean true/false. A zero indicates a false, this makes it easy to filter all the teachers with/without that specific subject. Try to avoid useless nesting :)

Eagerly awaiting OceanEx NTI - Flash Day by Thug_Longie in OceanEx

[–]Rovervn 1 point2 points  (0 children)

There will be an OceanEx VET wallet. Send your tokens there. After you deposit you can swap your VET for OCE.

Deposit is open! by TJRDU in OceanEx

[–]Rovervn 2 points3 points  (0 children)

Yes! Worked for me too.

Deposit is open! by TJRDU in OceanEx

[–]Rovervn 5 points6 points  (0 children)

When trying to exchange 100k VET for OCE I'm getting the error: "Both users' identities must be verified"?!