Skip to content

Instantly share code, notes, and snippets.

@GamePlayer-8
GamePlayer-8 / paramiko_ssh_server.py
Created November 14, 2023 16:47
Paramiko SSH Server
import sys
import os
import threading
import subprocess
import logging
import socket
import asyncio
import requests
import paramiko
@GamePlayer-8
GamePlayer-8 / openpgp.md
Last active October 30, 2023 11:24
Keyoxide proof.

openpgp4fpr:892c0804e0a0e07773fb35b443df282cd257ad64

@GamePlayer-8
GamePlayer-8 / woodpecker.yml
Created October 22, 2023 18:08
Gitio container example usage.
steps:
container:
image: codeberg.org/gameplayer-8/gitio
commands:
- export CONTAINERTAGGING="$(basename "$CICOMMIT_REF")"
- gitio container OUTPUTIMAGENAME:$CIREPONAME:"$CONTAINER_TAGGING"
secrets:
- OCI_TOKEN
@GamePlayer-8
GamePlayer-8 / dmesg.log
Created October 16, 2023 14:12
Chromebook Dmesg log.
[ 0.000000] Linux version 6.5.5-artix1-1 (linux@artixlinux) (gcc (GCC) 13.2.1 20230801, GNU ld (GNU Binutils) 2.41.0) #1 SMP PREEMPT_DYNAMIC Sun, 24 Sep 2023 21:04:56 +0000
[ 0.000000] Command line: BOOT_IMAGE=/boot/vmlinuz-linux root=UUID=eca8f344-c8db-4762-a451-43905717477c rw net.ifnames=0 splash quiet cryptdevice=UUID=53d848d9-865e-4a43-bfe0-12c8bdea4785:luks-53d848d9-865e-4a43-bfe0-12c8bdea4785 root=/dev/mapper/luks-53d848d9-865e-4a43-bfe0-12c8bdea4785
[ 0.000000] BIOS-provided physical RAM map:
[ 0.000000] BIOS-e820: [mem 0x0000000000000000-0x0000000000000fff] reserved
[ 0.000000] BIOS-e820: [mem 0x0000000000001000-0x000000000009ffff] usable
[ 0.000000] BIOS-e820: [mem 0x00000000000a0000-0x00000000000fffff] reserved
[ 0.000000] BIOS-e820: [mem 0x0000000000100000-0x00000000beeabfff] usable
[ 0.000000] BIOS-e820: [mem 0x00000000beeac000-0x00000000beebbfff] ACPI data
[ 0.000000] BIOS-e820: [mem 0x00000000beebc000-0x00000000bf30efff] usable
[ 0.000000] BIOS-e820: [mem 0x0000000
@GamePlayer-8
GamePlayer-8 / flashrom.log
Created October 14, 2023 05:47
Firmware flash succeed
ChromeOS Device Firmware Utility Script [2023-10-13]
(c) Mr Chromebox <[email protected]>
*********************************************************
** Device: HP Chromebook 11A G6 EE (BARLA)
** Platform: AMD StoneyRidge
** Fw Type: Stock ChromeOS w/RW_LEGACY
** Fw Ver: Google_Grunt.11031.169.0 (06/24/2021)
** Fw WP: Disabled
*********************************************************
@GamePlayer-8
GamePlayer-8 / crash.log
Created October 13, 2023 18:29
Firmware flash fatal error.
ChromeOS Device Firmware Utility Script [2023-10-13]
(c) Mr Chromebox <[email protected]>
*********************************************************
** Device: HP Chromebook 11A G6 EE (BARLA)
** Platform: AMD StoneyRidge
** Fw Type: Stock ChromeOS w/RW_LEGACY
** Fw Ver: Google_Grunt.11031.169.0 (06/24/2021)
** Fw WP: Disabled
*********************************************************
** 1) Install/Update RW_LEGACY Firmware
@GamePlayer-8
GamePlayer-8 / init.lua
Created September 25, 2023 05:01
Lite-XL configuration file.
-- put user settings here
-- this module will be loaded after everything else when the application starts
-- it will be automatically reloaded when saved
local core = require "core"
local keymap = require "core.keymap"
local config = require "core.config"
local style = require "core.style"
------------------------------ Themes ----------------------------------------
@GamePlayer-8
GamePlayer-8 / github-gitio.sh
Created September 2, 2023 13:06
Fake GitHub CI Environment for GitIO.
export GITHUB_REF="refs/heads/main"
export GITHUB_TOKEN="token"
export GITHUB_NAME="git-test"
export GITHUB_OWNER="GamePlayer-8"
export GITHUB_REPO="GamePlayer-8/git-test"
@GamePlayer-8
GamePlayer-8 / macos-virtualbox.sh
Created August 29, 2023 15:27
Configure Mac OS X for Virtualbox
#!/bin/sh
VM_NAME="${VM_NAME:-$1}"
VM_NAME="${VM_NAME:-'Ventura'}"
VBoxManage modifyvm "$VM_NAME" --cpuidset 00000001 000106e5 00100800 0098e3fd bfebfbff
VBoxManage setextradata "$VM_NAME" "VBoxInternal/Devices/efi/0/Config/DmiSystemProduct" "iMac19,3"
VBoxManage setextradata "$VM_NAME" "VBoxInternal/Devices/efi/0/Config/DmiSystemVersion" "1.0"
VBoxManage setextradata "$VM_NAME" "VBoxInternal/Devices/efi/0/Config/DmiBoardProduct" "Iloveapple"
VBoxManage setextradata "$VM_NAME" "VBoxInternal/Devices/smc/0/Config/DeviceKey" "ourhardworkbythesewordsguardedpleasedontsteal(c)AppleComputerInc"
@GamePlayer-8
GamePlayer-8 / PKGBUILD
Last active August 22, 2023 12:42
Cubic Server `PKGBUILD` file.
# Maintainer: Chimmie Firefly <gameplayer2019pl (at) tutamail (dot) com>
pkgname=cubic-server-git
_pkgname=cubic-server-git
pkgver=r1442.efa5d7d4
pkgrel=1
pkgdesc='A fast and extensible C++ implementation of Minecraft is server.'
arch=(
'i686'
'x86_64'