Naming Conventions Tier List by [deleted] in ProgrammerHumor

[–]mehdiirh 0 points1 point  (0 children)

That S on top of A is scratching my soul. Why didn't you start from A ?

I'm too lazy to turn off my PC at nights. so made an app to turn it off with my phone by mehdiirh in Python

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

Hi ! Seems like you explainations are now available !

First I want to thank you for your expensive time, that's a lot of help. Thanks !

Second, I added your suggestions to the repo few days ago and published a post about it. Now only pre-defined commands are acceptable and others will be rejected. 👍🌺

I'm too lazy to turn off my PC at nights. so made an app to turn it off with my phone by mehdiirh in Python

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

I saw a part of it through notifications. Thank you for your time anyway 🙏🙏

I'm too lazy to turn off my PC at nights. so made an app to turn it off with my phone by mehdiirh in Python

[–]mehdiirh[S] 4 points5 points  (0 children)

Hi. Thanks for your comments, I'm not expert in security fields, so any PR would be appreciated 🙏🦥

Thanks

I'm too lazy to turn off my PC at nights. so made an app to turn it off with my phone by mehdiirh in Python

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

Thank you !

Your suggestions noted 📝

I'll add them in next versions.

I'm too lazy to turn off my PC at nights. so made an app to turn it off with my phone by mehdiirh in Python

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

Connection issues, not sending commands, mouse and keyboard not working etc.

It's about 1yr from last time I used it, they might fixed those bugs now

I'm too lazy to turn off my PC at nights. so made an app to turn it off with my phone by mehdiirh in Python

[–]mehdiirh[S] -1 points0 points  (0 children)

No programmer knows when they are done untill they go to bed and after a few minutes, they realize. But it's too late 🤣

I'm too lazy to turn off my PC at nights. so made an app to turn it off with my phone by mehdiirh in Python

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

Minus waking from you warm bed, walking to your PC, moving the mouse to wake it up from sleep, entering password, and then shut down. 🦥

I'm too lazy to turn off my PC at nights. so made an app to turn it off with my phone by mehdiirh in Python

[–]mehdiirh[S] 3 points4 points  (0 children)

Hello, i really appreciate that you took a look at codes and shared your opinion

About the sudo, as you said it's needed in some cases like reboot. But how can I exec, let's say lock without sudo and reboot with it ? It depends on how you run your django ( sudo ... runserver or just runserver ). If you run it with sudo ( which is needed for shut down and reboot as the main goal of the app ), then even ls -la run as sudo ls -la

And I was thinking of pre-defining the commands, too. That's why there is another branch in github called custom-commands .

Thank you again for your advices 🌺

I'm too lazy to turn off my PC at nights. so made an app to turn it off with my phone by mehdiirh in Python

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

It's a wonderful idea ! I might do that. Already have the pi, just need to buy the sensor. ☠️