summaryrefslogtreecommitdiff
path: root/src/content/pastebins/2019
diff options
context:
space:
mode:
Diffstat (limited to 'src/content/pastebins/2019')
-rw-r--r--src/content/pastebins/2019/06/08/inconsistent-hash.adoc4
-rw-r--r--src/content/pastebins/2019/12/29/raku-tuple-type.adoc4
2 files changed, 4 insertions, 4 deletions
diff --git a/src/content/pastebins/2019/06/08/inconsistent-hash.adoc b/src/content/pastebins/2019/06/08/inconsistent-hash.adoc
index 32ebaec..8dc5794 100644
--- a/src/content/pastebins/2019/06/08/inconsistent-hash.adoc
+++ b/src/content/pastebins/2019/06/08/inconsistent-hash.adoc
@@ -37,7 +37,7 @@ terraform-godaddy = pkgs.buildGoModule rec {
== Local build:
-[source,shell]
+[source,sh]
----
$ nix-build -A terraform-godaddy
these derivations will be built:
@@ -191,7 +191,7 @@ error: build of '/nix/store/y5961vv6y9c0ps2sbd8xfnpqvk0q7qhq-terraform-godaddy-1
The `setup.sh` script contains a call to `nix-shell` which in turns build the
same `terraform-godaddy` derivation:
-[source,shell]
+[source,sh]
----
$ cd vps/
$ ./scripts/ci/setup.sh
diff --git a/src/content/pastebins/2019/12/29/raku-tuple-type.adoc b/src/content/pastebins/2019/12/29/raku-tuple-type.adoc
index 0337ad8..50dd841 100644
--- a/src/content/pastebins/2019/12/29/raku-tuple-type.adoc
+++ b/src/content/pastebins/2019/12/29/raku-tuple-type.adoc
@@ -1,7 +1,7 @@
= Raku tuple type annotation
:categories: raku programming-languages
-[source,perl]
+[source,raku]
----
# Single Str return value: this works
sub f1(Str $in --> Str) {
@@ -21,7 +21,7 @@ sub f2(Str $in --> (Str, Str)) {
Error log is:
-[source,perl]
+[source,raku]
----
===SORRY!=== Error while compiling /path/to/my/file
Malformed return value