Skip to content

Instantly share code, notes, and snippets.

View fennectech's full-sized avatar

FennecTECH fennectech

View GitHub Profile
#!/usr/bin/env bash
#Copyright 2026 fennectech
#
# Redistribution and use in source and binary forms, with or without modification, are permitted provided that the following conditions are met:
#
# 1. Redistributions of source code must retain the above copyright notice, this list of conditions and the following disclaimer.
#
# 2. Redistributions in binary form must reproduce the above copyright notice, this list of conditions and the following disclaimer in the documentation and/or other materials provided with the distribution.
#
# 3. Neither the name of the copyright holder nor the names of its contributors may be used to endorse or promote products derived from this software without specific prior written permission.
#!/usr/bin/env bash
#Copyright 2026 fennectech
#
# Redistribution and use in source and binary forms, with or without modification, are permitted provided that the following conditions are met:
#
# 1. Redistributions of source code must retain the above copyright notice, this list of conditions and the following disclaimer.
#
# 2. Redistributions in binary form must reproduce the above copyright notice, this list of conditions and the following disclaimer in the documentation and/or other materials provided with the distribution.
#
# 3. Neither the name of the copyright holder nor the names of its contributors may be used to endorse or promote products derived from this software without specific prior written permission.
[root@kindle etc]# nano /etc/fstab
[root@kindle etc]# mntroot rw
system: I mntroot:def:Making root filesystem writeable
[root@kindle etc]# nano /etc/fstab
[root@kindle etc]# rm /etc/fstab *
rm: ipkg: is a directory
[root@kindle etc]# ls
ipkg
[root@kindle etc]# ls
ipkg
[fennectech@jasper ~/switch-dev/nxsh]$ make dist
make[1]: Entering directory '/home/fennectech/switch-dev/nxsh'
make[1]: Leaving directory '/home/fennectech/switch-dev/nxsh'
make[1]: Entering directory '/home/fennectech/switch-dev/nxsh'
acc.c
aarch64-none-elf-gcc -MMD -MP -MF /home/fennectech/switch-dev/nxsh/build/acc.d -g -Wall -O2 -ffunction-sections -lcurl -lm -march=armv8-a -mtune=cortex-a57 -mtp=soft -fPIE -I/home/fennectech/switch-dev/nxsh/include -I/opt/devkitpro/portlibs/switch/include -I/opt/devkitpro/libnx/include -I/home/fennectech/switch-dev/nxsh/build -D__SWITCH__ -c /home/fennectech/switch-dev/nxsh/source/acc.c -o acc.o
/home/fennectech/switch-dev/nxsh/source/acc.c: In function 'nxsh_acc':
/home/fennectech/switch-dev/nxsh/source/acc.c:19:9: error: too few arguments to function 'accountInitialize'
19 | accountInitialize();
| ^~~~~~~~~~~~~~~~~
{20:25} Mon Jan 13
[fennectech@jasper ~/switch-dev/nxsh]$ make sys
make[1]: Entering directory '/home/fennectech/switch-dev/nxsh'
make[1]: Leaving directory '/home/fennectech/switch-dev/nxsh'
make[1]: Entering directory '/home/fennectech/switch-dev/nxsh'
echo.c
aarch64-none-elf-gcc -MMD -MP -MF /home/fennectech/switch-dev/nxsh/build/echo.d -g -Wall -O2 -ffunction-sections -march=armv8-a -mtune=cortex-a57 -mtp=soft -fPIE -I/home/fennectech/switch-dev/nxsh/include -I/opt/devkitpro/portlibs/switch/include -I/opt/devkitpro/libnx/include -I/home/fennectech/switch-dev/nxsh/build -D__SWITCH__ -D__SYS__ -c /home/fennectech/switch-dev/nxsh/source/echo.c -o echo.o
log.c
aarch64-none-elf-gcc -MMD -MP -MF /home/fennectech/switch-dev/nxsh/build/log.d -g -Wall -O2 -ffunction-sections -march=armv8-a -mtune=cortex-a57 -mtp=soft -fPIE -I/home/fennectech/switch-dev/nxsh/include -I/opt/devkitpro/portlibs/switch/include -I/opt/devkitpro/libnx/include -I/home/fennectech/switch-dev/nxsh/build -D__SWITCH__ -D__SYS__ -c /home/fe
[jasper build]# make libinstall
aarch64-none-elf-gcc -specs=/opt/devkitpro/libnx/switch.specs -march=armv8-a+crc+crypto -mtune=cortex-a57 -mtp=soft -fPIC -ftls-model=local-exec -L/opt/devkitpro/portlibs/switch/lib -L/opt/devkitpro/libnx/lib -o python \
Modules/python.o \
libpython2.7.a -lnx -lpthread -lm
_PYTHON_PROJECT_BASE=/home/fennectech/angels/cpython2.7.17/build _PYTHON_HOST_PLATFORM=horizon-aarch64 PYTHONPATH=../Lib:../Lib/plat-horizon python2.7 -S -m sysconfig --generate-posix-vars ;\
if test $? -ne 0 ; then \
echo "generate-posix-vars failed" ; \
rm -f ./pybuilddir.txt ; \
exit 1 ; \
fi
This file contains any messages produced by compilers while
running configure, to aid debugging if configure makes a mistake.
It was created by python configure 2.7, which was
generated by GNU Autoconf 2.69. Invocation command line was
$ ../configure LDFLAGS=-specs=/opt/devkitpro/libnx/switch.specs -march=armv8-a+crc+crypto -mtune=cortex-a57 -mtp=soft -fPIC -ftls-model=local-exec -L/opt/devkitpro/portlibs/switch/lib -L/opt/devkitpro/libnx/lib CONFIG_SITE=config.site --host=aarch64-none-elf --build=x86_64-pc-linux-gnu --prefix=/opt/devkitpro/portlibs/switch --disable-ipv6 --disable-shared --enable-optimizations
## --------- ##
## Platform. ##
if (!ConfigManager::getReceivedExFATWarning()) {
_restartAlertView = new AlertView("Are you sure?", "Restarting while using an ExFAT formatted SD card\nwill cause it to corrupt. It is recommended that if\nyou have an ExFAT formatted SD card to quit,\npress the home button, and restart the switch.", buttons);
_restartAlertView->onDismiss = bind(&PackageDownloadScene::_onAlertViewDismiss, this, _1, _2);
}
if (ConfigManager::getReceivedExFATWarning()) {
bind(&PackageDownloadScene::_onAlertViewDismiss, this, _1, _2);
}
{
"additional_save_folders": [],
"favorites": [
"0100D71004694000",
"0100D2600736A000",
"0100E46006708000",
"01000A10041EA000",
"0100CC700B2B4000",
"0100CC600ABB2000"
],
{
"additional_save_folders": {
"0x0100D71004694000": {
"folders": [
"/minecraft"
]
}
},
"favorites": [
"0100D71004694000",