home.social

#heredoc — Public Fediverse posts

Live and recent posts from across the Fediverse tagged #heredoc, aggregated by home.social.

  1. Anyone who works with Rails has heard of and used the runner command (guides.rubyonrails.org/command) with a single-line code argument that executes in the application context.
    While working on my application the other day, I needed to list all tables with their row counts.
    The code for listing the number of table rows on a single line looks rather ugly and unmaintainable.

    #Ruby #Rails #SQL #runner #bash #heredoc

  2. If a public foss repo offers a foss setup.sh command line script which, step by step, performs the installation / usage steps the repo readme lists for use at the command line to set up/use the code, what trust measures would you insist upon before downloading and before running the setup.sh script at your local command line? Is there a better way of offering an helpful automated but trustworthy than a scary .sh ?

  3. If a public foss repo offers a foss setup.sh command line script which, step by step, performs the installation / usage steps the repo readme lists for use at the command line to set up/use the code, what trust measures would you insist upon before downloading and before running the setup.sh script at your local command line? Is there a better way of offering an helpful automated but trustworthy #Heredoc than a scary .sh ?

    #ShellProgramming #git #security #codeberg #shellscript #bourneshell

  4. If a public foss repo offers a foss setup.sh command line script which, step by step, performs the installation / usage steps the repo readme lists for use at the command line to set up/use the code, what trust measures would you insist upon before downloading and before running the setup.sh script at your local command line? Is there a better way of offering an helpful automated but trustworthy #Heredoc than a scary .sh ?

    #ShellProgramming #git #security #codeberg #shellscript #bourneshell

  5. If a public foss repo offers a foss setup.sh command line script which, step by step, performs the installation / usage steps the repo readme lists for use at the command line to set up/use the code, what trust measures would you insist upon before downloading and before running the setup.sh script at your local command line? Is there a better way of offering an helpful automated but trustworthy #Heredoc than a scary .sh ?

    #ShellProgramming #git #security #codeberg #shellscript #bourneshell

  6. If a public foss repo offers a foss setup.sh command line script which, step by step, performs the installation / usage steps the repo readme lists for use at the command line to set up/use the code, what trust measures would you insist upon before downloading and before running the setup.sh script at your local command line? Is there a better way of offering an helpful automated but trustworthy #Heredoc than a scary .sh ?

    #ShellProgramming #git #security #codeberg #shellscript #bourneshell

  7. this variant implementation is also whitespace-aware and trims text outside of heredocs -- useful for implementing data formats on top of it

    #jevko #minimal #syntax #heredoc