• 0 Posts
  • 15 Comments
Joined 1 年前
cake
Cake day: 2023年7月15日

help-circle

  • My washing machine has a wheel to select multiple, heat-specific programs but also has a “cold” switch for other programs. I seldom use the heat specific ones, unless I’m particularly interested in a hot wash.

    So I guess that the mileage may vary by country (I’m in Spain) and how old a washing machine is (mine is quite old).








  • It seems that Meta is low-key following the “everything app” goal that Elon Musk wanted for Twitter/X, tying products like WhatsApp, Instagram, Threads while at the same time distancing themselves from the Facebook brand.

    For example, WhatsApp is a chat app that has been enhanced to have Business Accounts, which allows for Bots, Stores and Payments. Further integration with Instagram could potentially use these features to tie together content+business. Threads is an enhancement over Instagram to add textual content.




  • As far as I recall and for Linux, the shebang is interpreted by the kernel to execute the text file as the input of a given program. Are you talking about adding a shebang to a C source file? If so, this would not work, because the hash could be interpreted as a preprocessor instruction.

    Take into consideration that, in bash, you can use ${0} to get the filename of the current script. If you want the count of lines in your script wc -l ${0} ought do the trick.

    If you’re using C, you could rely on the FILE define for your imolementation but the rest implies reading the source code and then acting on it.