Skip to content

Instantly share code, notes, and snippets.

@faveoled
faveoled / pmos.config
Created March 3, 2026 09:30
pmOS configuration fragment
CONFIG_DEVTMPFS=y
CONFIG_DRM_FBDEV_EMULATION=y
CONFIG_SYN_COOKIES=y
CONFIG_SYSVIPC=y
CONFIG_VT=y
CONFIG_UEVENT_HELPER=y
CONFIG_USER_NS=y
@faveoled
faveoled / exynos9820-beyond1lte.dts
Created February 7, 2026 12:59
Galaxy S10 Mainline DTS
// SPDX-License-Identifier: GPL-2.0 OR BSD-3-Clause
/dts-v1/;
#include "exynos9820.dtsi"
#include <dt-bindings/gpio/gpio.h>
/ {
model = "Samsung Galaxy S10";
compatible = "samsung,s10", "samsung,exynos9820";
@faveoled
faveoled / rk3188-starway-andromeda-s8.dts
Last active July 15, 2025 17:57
Starway Andromeda S8 Linux
// SPDX-License-Identifier: (GPL-2.0+ OR MIT)
/*
* Copyright (c) 2018 MundoReader S.L.
* Author: Heiko Stuebner <heiko.stuebner@bq.com>
*/
/dts-v1/;
#include <dt-bindings/i2c/i2c.h>
#include <dt-bindings/input/input.h>
#include <dt-bindings/interrupt-controller/irq.h>
#
# Automatically generated file; DO NOT EDIT.
# Linux/arm 6.14.0-rc3 Kernel Configuration
#
CONFIG_CC_VERSION_TEXT="armv7-alpine-linux-musleabihf-gcc (Alpine 14.3.0) 14.3.0"
CONFIG_CC_IS_GCC=y
CONFIG_GCC_VERSION=140300
CONFIG_CLANG_VERSION=0
CONFIG_AS_IS_GNU=y
CONFIG_AS_VERSION=24400
@faveoled
faveoled / config-5.10.27-rk3188.txt
Created July 12, 2025 15:01
RK3188 Radxa Rock Armbian Linux 5.10.27 kernel config
#
# Automatically generated file; DO NOT EDIT.
# Linux/arm 5.10.27 Kernel Configuration
#
CONFIG_CC_VERSION_TEXT="arm-linux-gnueabihf-gcc (Ubuntu 9.3.0-17ubuntu1~20.04) 9.3.0"
CONFIG_CC_IS_GCC=y
CONFIG_GCC_VERSION=90300
CONFIG_LD_VERSION=234000000
CONFIG_CLANG_VERSION=0
CONFIG_LLD_VERSION=0
/dts-v1/;
/memreserve/ 0x00000000e0000000 0x0000000000d00000;
/ {
compatible = "samsung,armv8\0samsung,exynos7885";
dtb-hw_rev = <0x00>;
dtb-hw_rev_end = <0xff>;
interrupt-parent = <0x01>;
#address-cells = <0x02>;
#size-cells = <0x01>;
/dts-v1/;
/ {
compatible = "samsung,armv8", "samsung,exynos9820";
dtb-hw_rev = <0x0>;
dtb-hw_rev_end = <0xff>;
interrupt-parent = <0x1>;
#address-cells = <0x2>;
#size-cells = <0x1>;
@faveoled
faveoled / run.scala
Created February 24, 2024 15:36
Scala.js Node.js run process
def runProcess(command: String, cwd: Option[String], details: String = ""): Future[String] = {
val msg = if (details == "") then s"Running command `${command}`" else s"${details}"
println(s"${msg}...")
val options = encodingBufferEncodingExe(BufferEncoding.utf8)
cwd.foreach(cwdR => options.cwd = cwdR)
val process = node_child_process.exec(command, options)
var strBuilder = mutable.StringBuilder()
process.stdout.asInstanceOf[typings.node.streamMod.Readable].on_data(nodeStrings.data, data => {
strBuilder.append(data)
println(s"cmd stdout: $data")
@faveoled
faveoled / snapcraft.yml
Created January 1, 2024 13:52
Graphviz snap
name: graphviz
base: core22
version: '9.0.0'
summary: S
description: |
A
grade: stable
confinement: strict
@faveoled
faveoled / oktete-msys2.log
Created July 28, 2023 10:47
Okteta build failure
[501/933] Linking CXX executable bin\bytearrayrawfilesynchronizertest.exe
FAILED: bin/bytearrayrawfilesynchronizertest.exe
cmd.exe /C "cd . && C:\msys64\mingw64\bin\c++.exe -fno-operator-names -fno-exceptions -Wall -Wextra -Wcast-align -Wchar-subscripts -Wformat-security -Wno-long-long -Wp
ointer-arith -Wundef -Wnon-virtual-dtor -Woverloaded-virtual -Werror=return-type -Werror=init-self -Wvla -Wdate-time -Wsuggest-override -Wlogical-op -fdiagnostics-colo
r=always kasten/core/io/tests/CMakeFiles/bytearrayrawfilesynchronizertest.dir/bytearrayrawfilesynchronizertest_autogen/mocs_compilation.cpp.obj kasten/core/io/tests/C
MakeFiles/bytearrayrawfilesynchronizertest.dir/bytearrayrawfilesynchronizertest.cpp.obj kasten/core/io/tests/CMakeFiles/bytearrayrawfilesynchronizertest.dir/__/__/docu
ment/bytearraydocument.cpp.obj kasten/core/io/tests/CMakeFiles/bytearrayrawfilesynchronizertest.dir/__/filesystem/bytearrayrawfilesynchronizer.cpp.obj kasten/core/io/t
ests/CMakeFiles/bytearrayrawfilesynchronizertest.dir/__/files