https://www.linuxjournal.com/content/writing-secure-shell-scripts
The first "What file do you seek?" example is safe. I tried it in bash 4.4:
cd "$(mktemp -d)"
cat > script <<EOF
echo -n "What file do you seek? "https://www.linuxjournal.com/content/writing-secure-shell-scripts
The first "What file do you seek?" example is safe. I tried it in bash 4.4:
cd "$(mktemp -d)"
cat > script <<EOF
echo -n "What file do you seek? "This is a patch to the VPN Indicator Gnome Shell Extension to make it work for the SNX VPN.
Links for the VPN Indicator Gnome Shell Extension:
VPN Indicator
https://extensions.gnome.org/extension/1134/vpn-indicator/
I needed to download Oracle JDBC jar files for use with my database query tool. Oracle JDBC drivers have been available in the public official Maven repository since September 15, 2019. They extended it to include all supported releases in February, 2020. (link1 [link2] [link3] [link4]).
Related issue:
| #!/usr/bin/env raku | |
| # The following `use` pragma requires the leading 'v' in the version specification, or you'll get | |
| # an error: | |
| # | |
| # in Raku please use "v" prefix for pragma (e.g., "use v6;", "use v6.c;") instead | |
| # | |
| # The relevant documention page shows only examples with the 'v' | |
| # https://docs.raku.org/language/pragmas |
| #!/bin/perl | |
| # Binary search in perl | |
| # https://www.perlmonks.org/?node_id=920127 | |
| # Useful for finding closest element | |
| # https://www.perlmonks.org/?node_id=927656 | |
| sub _unsigned_to_signed { unpack('j', pack('J', $_[0])) } | |
| sub binsearch(&$\@) { |
| #!/bin/perl | |
| #!/bin/perl -CSDA # Try this variation | |
| use v5.16.3; | |
| use warnings; | |
| use File::Temp qw(tempfile tempdir); | |
| my @layers; | |
| print 'tmp layers: '; |
| #!/bin/sh | |
| AMOUNT=5 | |
| WHAT=paras | |
| START=false | |
| MARKDOWN_PARAGRAPHS= # Insert a blank line between paragraphs, like Markdown | |
| HARD_WRAP= | |
| WIDTH=78 | |
| while getopts ":n:wpblsmhW:" opt; do |
| // SDL2 Hello, World! | |
| // This should display a white screen for 2 seconds | |
| // with the text 'Hello World!' | |
| // Prerequisites (Fedora): | |
| // sudo dnf install SDL2-static | |
| // sudo dnf install SDL2-devel (Actually, this gets installed as a dependency of SDL2-static) | |
| // sudo dnf install SDL2_ttf-devel | |
| // Compile: | |
| // gcc -g sdl2hello.cc -o sdl2hello -lSDL2 -lSDL2main -lSDL2_ttf | |
| // Run: |