Skip to content

Instantly share code, notes, and snippets.

@nxadm
nxadm / 3ds
Last active November 1, 2025 19:24
In volgorde naargelang de prijs/staat. Nr 1 heel graag, maar nr 2 is zeker OK.
Goed werkende staat en vooral zijn de schermen van belang (krasvrije schermen, niet vergeeld, geen lichtplekken).
Front en achterplaten kan ik aftermarket doen. Doos en lader mag, maar moet niet als het de prijs drukt.
Modellen:
1. New Nintendo 3DS LL: [foto's](https://www.nintendo.co.jp/hardware/3dsseries/new3dsll/index.html).
Prijs rond 150 euro.
2. New Nintendo 2DS LL: [foto's](https://www.nintendo.co.jp/hardware/3dsseries/new2dsll/index.html).
Prijs rond 120 euro. Alle 2DS clamshells zijn "New" varianten. De niet new is uit een stuk (precies deurstopper).
+ CONFIGURE='perl ./Configure.pl --relocatable --prefix=/opt/rakudo-pkg'
+ mkdir moarvm
+ tar xzf moarvm.tar.gz -C moarvm '--strip-components=1'
+ cd moarvm
+ '[' -f 3rdparty/nqp-configure/lib/NQP/Config.pm ]
+ perl ./Configure.pl --relocatable '--prefix=/opt/rakudo-pkg'
Welcome to MoarVM!
Configuring native build environment ...................
trying to compile a simple C program ............... YES
In file included from 3rdparty/mimalloc/src/prim/prim.c:25,
from 3rdparty/mimalloc/src/static.c:38:
3rdparty/mimalloc/src/prim/unix/prim.c:36:12: fatal error: linux/prctl.h: No such file or directory
36 | #include <linux/prctl.h>
| ^~~~~~~~~~~~~~~
compilation terminated.
make: *** [Makefile:674: 3rdparty/mimalloc/src/static.o] Error 1
full log:
2025-04-21T11:59:44.6553343Z Current runner version: '2.323.0'
// jwtInspectMiddleware checks if a token is valid (signature and not issued before
// a not-before date) and sets requester and owners in the context.
func (client *Client) jwtInspectMiddleware(next echo.HandlerFunc) echo.HandlerFunc {
return func(c echo.Context) error {
var (
ok bool
claims jwt.MapClaims
)
token, ok := c.Get("user").(*jwt.Token)
PROFILE_SCRIPT=/etc/profile.d/$PKG_NAME.sh
/usr/bin/cat - <<EOSCR >$PROFILE_SCRIPT
RAKUDO_PATHS=$INSTALL_PREFIX/bin
for TOP in raku perl6
do
if [ -d $INSTALL_PREFIX/share/\$TOP ]
then
for REP in site vendor core
@nxadm
nxadm / bash?
Created November 8, 2019 17:33
$ docker run -ti -v ~/Downloads:/mnt centos:6 bash
[root@bc847ce8edfb /]# /mnt/rakudo-2019.07.1/bin/set-env.sh
[root@bc847ce8edfb /]# . /mnt/rakudo-2019.07.1/bin/set-env.sh
ERROR: 'bash' does not exist.
[root@bc847ce8edfb /]# cat /mnt/rakudo-2019.07.1/bin/set-env.sh
#!/bin/sh
# Sourced from https://stackoverflow.com/a/29835459/1975049
rreadlink() (
target=$1 fname= targetDir= CDPATH=
#pkg;Module(s)
libsdl1.2-dev;SDL
libsdl-mixer1.2-dev;SDL
libsdl-image1.2-dev;SDL
libfoo;Foo,Bar,Baz
root@62312889d522:/# ssh github.com
Warning: Permanently added 'github.com,140.82.118.3' (RSA) to the list of known hosts.
root@github.com: Permission denied (publickey).
root@62312889d522:/# git clone git@github.com:nxadm/raku-blin-docker.git
Cloning into 'raku-blin-docker'...
Warning: Permanently added the RSA host key for IP address '140.82.118.4' to the list of known hosts.
git@github.com: Permission denied (publickey).
fatal: Could not read from remote repository.
Please make sure you have the correct access rights
@nxadm
nxadm / blin
Created October 30, 2019 20:46
~/Code/nxadm/raku-blin-docker$ docker run -ti -v /var/tmp/Blin-volume:/mnt rakudo/blin
🥞 Prep
🥞 Will use up to 4 threads for testing modules
Type List does not support associative indexing.
in sub ensure-required-config-values at /opt/rakudo-pkg/share/perl6/site/sources/2BF6F70EDCCD7C9CBA771FFFACF269753F9BDB9D (Whateverable::Config) line 33
in sub ensure-config at /opt/rakudo-pkg/share/perl6/site/sources/2BF6F70EDCCD7C9CBA771FFFACF269753F9BDB9D (Whateverable::Config) line 50
in sub MAIN at bin/blin.p6 line 114
in block <unit> at bin/blin.p6 line 11
#!/usr/bin/env perl
# Update pwdChangedTime to match sambaPwdLastSet which is provided by by IAM.
# Bugs to pub.claudio@gmail.com.
# CentOS 7 dependencies:
# - perl-LDAP
# - perl-TermReadKey
# Debian/Ubuntu dependencies:
# - libnet-ldap-perl
# - libterm-readkey-perl
our $VERSION = '0.2.0';