Skip to content

Instantly share code, notes, and snippets.

View SalemHarrache's full-sized avatar
💭
😴

Salem Harrache SalemHarrache

💭
😴
View GitHub Profile
@john-tornblom
john-tornblom / fetchpkg.py
Last active July 18, 2024 05:45
Fetch Sony Playstation 4 or 5 package updates referenced by a JSON-formatted manifest at the given URL
#!/usr/bin/env python3
# encoding: utf-8
# Copyright (C) 2024 John Törnblom
#
# This program is free software; you can redistribute it and/or modify it
# under the terms of the GNU General Public License as published by
# the Free Software Foundation; either version 3 of the License, or
# (at your option) any later version.
#
# This program is distributed in the hope that it will be useful, but
@aschober
aschober / ssh-on-android-linux-terminal.md
Created March 19, 2025 04:41
Setup SSH and Tailscale on Android 15 Linux Terminal App

Setup SSH and Tailscale on Linux Terminal App

This guide outlines the steps to set up an SSH server and Tailscale on a fresh Debian installation inside the Android Linux Terminal App. After completing these steps, you'll be able to securely SSH into the Linux environment running on your Android device from any remote machine over the internet using Tailscale.

  1. Update package lists and upgrade installed packages to the latest versions:

    sudo apt update && sudo apt upgrade -y
    
@Gezine
Gezine / PS5_CEC_example.sh
Last active May 22, 2026 23:44
PS5 HDMI libcec commands
# Note
# I am using Raspberry pi 4 to send CEC commands
# /dev/cec1 is pi's second HDMI port
# '4' is PS5 address that TV assigned, change if you need
# Turn on PS5 (You need to enable "Power off Link" at PS5 HDMI settings to turn on from rest mode)
cec-ctl -d /dev/cec1 --to 4 --user-control-pressed ui-cmd=power-on-function
# Turn on PS5 from rest mode (When you didn't enable "Power off Link" at PS5 HDMI settings)
cec-ctl -d /dev/cec1 --to 4 --user-control-pressed ui-cmd=power-toggle-function
@SvenGDK
SvenGDK / Full-Y2JB-YouTube-Block.md
Last active March 16, 2026 14:15
How to fully block YouTube from being updated on the PS5 when using YT2JB.

Simply modifing appinfo.db will not block YouTube from being updated. As soon as you connect to the internet without setting a DNS it will automatically refresh itself to the correct clean state, the icon also switches back to original. This can result in a softlock where you have to set up everyhting again.

In order to properly block YouTube from being updated, you also need to fully update YouTube's parameters after a new installation.

The param.json file of the YouTube app is actually located at 3 positions when installed :

  • At /system_data/priv/appmeta/PPSA01650/param.json
  • At /user/appmeta/PPSA01650/param.json
  • And also inside /system_data/priv/mms/app.db TABLE: tbl_contentinfo COLUMN: AppInfoJson
@ntfargo
ntfargo / test.html
Created May 11, 2026 20:43
Use-after-free in CSSFontFace::setStatus and CSSFontFace::pump
<!DOCTYPE html>
<html>
<head>
<style id="s">
@font-face { font-family: x; src: url(nonexistent-font.woff); unicode-range: U+0042; }
</style>
</head>
<body>
<script>
if (window.testRunner) {