Pretty straight forward
Pretty straight forward
Pretty straight forward
Tsk tsk... forgot to clean up your temp file!
For shame. They forgot to make a script to make a tmp script using mktmp, so they can store their tmp script in the tmp script and have proper cleanup
Always follow best practices, make sure you cleanup by deleting the hello world bash file!
My coworkers could learn a thing or two from this. For one, it actually works.
Sure.
Okay but 🍒 shouldn't output 🍉. This is inconsistent and confusing. We have standards.
Picking emojis that make sense actually made it easy to read.
Violates CERT C ENV33-C.
It violates oh so much including that.
Now call that C program from some other program in another language.
with open('program.c', 'w') as f: f.write( """I'm not actually going to copy down the program... But you get the idea of the joke. Right?""")
May I present to you: https://github.com/mame/quine-relay
It's..... Beautiful.
why would you hurt me like this
Fucking brilliant
Thanks, I hate it.
Who says C isnt mem safe?
Some time ago I wrote a program in COBOL and half of it was just CALL "SYSTEM" BY CONTENT
in the end.
I did the same with python once lol.
I didn't know enoug python or bash so i mixed both with os.system
Dave is not here.
That's me with TCL.
I've had an eggdrop for years (obviously) and I'm very bad with TCL, so any new script that I want to add is a bash script executed by the TCL script.
TIL people still run eggdrop bots. I don't think Ive touched one since maybe 2003. was probably the last time I messed with tcl
I still have an IRC server but the eggdrop's usefulness has pretty much been reduced to fetching YouTube titles and the URL of images on tenor. Its main use was to fetch titles for all URLs pasted on channels where it is, but because me and most of the users are now using TheLounge as a client, there is no need for that anymore, except for a few exceptions. At one point it was also displaying all the things my friends upvoted on reddit, but since reddit closed its API and I came here...
IRC with TheLounge is still very useful though.
I C what you did there!
reinventing shell scripting. Though I am guilty of this, I do something like this (more complex) but essentially a shell script in rust just because for some application, reading files is slower that way
subprocess.run()
Apologies for being off-topic, but the domain name, "swg-empire.de", does the 'swg' part 'Star Wars Galaxies' by chance?
No. It was for a Star Wars roleplay but not a video game. It started life in the newsgroup de.rec.sf.starwars and I played the role of Emperor.