helloworld

joined 4 years ago
[–] helloworld@lemmy.ml 1 points 10 hours ago (1 children)

My first simple use case: I want to start a http (busybox httpd) server on localhost inside a certain directory whenever I turn the PC on.

[–] helloworld@lemmy.ml 14 points 10 hours ago (1 children)

At this point you can copy Chinas great firewall I guess.

[–] helloworld@lemmy.ml 2 points 10 hours ago* (last edited 10 hours ago) (1 children)

a hobby project: generate a rss feed based on recent file changes in a directory. But I thought this can also have many applications …

  • auto formatting code files on change
  • automatic backups of a certain folder: run rsync on change in folder.
[–] helloworld@lemmy.ml 4 points 10 hours ago (2 children)

I found this answer helpful, can you open it? https://lemmy.ml/post/35169048/20671736

[–] helloworld@lemmy.ml 31 points 11 hours ago (6 children)

Recently they switched to a more public court-order based approach.

But my thought on this is as well: Once their domain name servers are configured according to law, can they force us to not use other domain name services?

[–] helloworld@lemmy.ml 5 points 11 hours ago* (last edited 11 hours ago)

Yeah after searching on the arch wiki, I guess systemd timers, not services, are specifically what I was interested in, thanks!

[–] helloworld@lemmy.ml 4 points 11 hours ago (4 children)

so once I delete the email contained in that field, it will be deleted on the server as well I hope? I should look this up in the lemmy code i.g.

[–] helloworld@lemmy.ml 1 points 11 hours ago

does lsblk detect the device?

[–] helloworld@lemmy.ml 1 points 11 hours ago

If you are paranoid enough: Run all pypi packages in a QubesOs virtual machine I guess?

[–] helloworld@lemmy.ml 10 points 11 hours ago

After some suggestions to check out inotifywait I ended up with a solution that works for me as desired.

inotifywait --event modify,create ./targetfolder/; echo "new change, that I am interested in, occurred in targetfolder";

It turned out I was interested in both file modification and file creation events.

[–] helloworld@lemmy.ml 8 points 11 hours ago* (last edited 11 hours ago)

Thanks for your hint! After some experimentation and man page reading, this was what I was interested in:

inotifywait --event modify,create ./targetfolder/; echo "new change, that I am interested in, occurred in targetfolder";

I was interested in both file modification and file creation events.

[–] helloworld@lemmy.ml 5 points 11 hours ago

yeah it should be in their TOS somewhere as well.

 

cross-posted from: https://lemmy.ml/post/35171067

Have you ever deleted a google account before? Any Experiences? What should one know about this? Do you trust them to really delete everything?

 

They did similar things to block the pirate bay, I guess 💀

 

Have you ever deleted a google account before? Any Experiences? What should one know about this? Do you trust them to really delete everything?

7
submitted 13 hours ago* (last edited 13 hours ago) by helloworld@lemmy.ml to c/linuxquestions@lemmy.zip
 

I think there are multiple things one could do to achieve this, but am uncertain which way to go:

  • if you use systemd create a systemd service I guess? How to create systemd service that runs a (python) script on startup?
  • some files similar to .bashrc always run on system startup/boot?; use this if you are less fancy / have no systemd
 

I would classify this as a matlab alternative. Plot stuff. Do Matrix calculations with direct (syntax) support in the programming language.

 

cross-posted from: https://lemmy.ml/post/35169329

Using a shell script, can I watch a folder and block program execution until a file in a certain folder changes?

 

Using a shell script, can I watch a folder and block program execution until a file in a certain folder changes?

 

cross-posted from: https://lemmy.ml/post/35169048

Can other lemmy clients or the server admins see the email address associated with my account?

 

Can other lemmy clients or the server admins see the email address associated with my account?

view more: next ›