Skip to content

Instantly share code, notes, and snippets.

View shoya0x00's full-sized avatar
😇
I may be slow to respond.

shoya0x00

😇
I may be slow to respond.
View GitHub Profile
@shoya0x00
shoya0x00 / README.md
Created June 27, 2024 08:09 — forked from SebaUbuntu/README.md
Generate framework compatibility matrix from fqnames

Generate framework compatibility matrix from fqnames

  • Download these 2 files
  • Compile AOSP without fcm from stock and wait for check_vintf to error out
  • Delete Python prefix from all lines (e.g. checkvintf E 06-24 00:30:22 49120 49120 check_vintf.cpp:554])
  • Paste the result in fqnames.txt
  • Launch the script
@shoya0x00
shoya0x00 / cloudflared
Last active May 22, 2023 10:00
cloudflared on alpine
#!/sbin/openrc-run
name="cloudflares"
description="cloudflared"
token="token"
command="/usr/bin/cloudflared"
command_args=" --pidfile /var/run/$name.pid --autoupdate-freq 24h0m0s tunnel run --token $token"
command_user="root"
pidfile="/var/run/$name.pid"
stdout_log="/var/log/$name.log"
stderr_log="/var/log/$name.err"
@shoya0x00
shoya0x00 / redsocks
Created March 9, 2023 10:14
working socks5 tunnel with redsocks for openwrt
#!/bin/sh /etc/rc.common
# Copyright (C) 2007 OpenWrt.org
START=90
INTERFACE=br-lan
PORT=1337
# check if configuration exists
[ -e "/etc/redsocks.conf" ] || exit 0