- Create a temporary directory and
cdinto it - Clone the gist
- Run the examples
cd "$(mktemp -d)"
git clone [email protected]:4ba7867a771de384b66b512d1847de61.git .
| #!/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 |
| #!/usr/bin/env perl | |
| # Demo showing when Perl upgrades strings from bytes to Unicode | |
| use v5.16.3; | |
| use warnings; | |
| use warnings qw(FATAL utf8); | |
| use utf8; | |
| use open qw(:std :utf8); | |
| use Encode qw(decode_utf8); |
| #!/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: |
cd into itcd "$(mktemp -d)"
git clone [email protected]:4ba7867a771de384b66b512d1847de61.git .
| /main.js | |
| /node_modules | |
| /package-lock.json |
| Checking for existence of jq command ..... Y | |
| Checking for existence of rpm2cpio command ..... Y | |
| Checking for existence of cpio command ..... Y | |
| You are running Fedora 38 | |
| You are running Gnome 44 | |
| There are 43 packages matching the pattern 'gnome-shell-extension-*' | |
| 1 gnome-shell-extension-appindicator-0:53-1.fc38.noarch | |
| 2 gnome-shell-extension-apps-menu-0:44.0-1.fc38.noarch | |
| 3 gnome-shell-extension-argos-0:3^20220712git1180568-2.fc38.noarch | |
| 4 gnome-shell-extension-auto-move-windows-0:44.0-1.fc38.noarch |
The versions-maven-plugin, by default, does not ignore versions ending with qualifier strings when searching for the latest version of an artifact.
For example, versions ending with -alpha.14, -beta3, -M-2, and -RC1 will be considered as valid upgrade candidates.
Suppose your project depends on version 3.2.1 of a certain artifact and then 3.3.0-beta is released.
The versions-maven-plugin will, by default, consider that to be a valid upgrade.