Skip to content

Instantly share code, notes, and snippets.

View natsumerinchan's full-sized avatar
⚒️

Celica Sylphil natsumerinchan

⚒️
View GitHub Profile
#!/bin/bash
#Install Latest Stable 1Panel Release
osCheck=`uname -a`
if [[ $osCheck =~ 'x86_64' ]];then
architecture="amd64"
elif [[ $osCheck =~ 'arm64' ]] || [[ $osCheck =~ 'aarch64' ]];then
architecture="arm64"
elif [[ $osCheck =~ 'armv7l' ]];then
architecture="armv7"
#!/bin/sh
set -eux
GKI_ROOT=$(pwd)
echo "[+] GKI_ROOT: $GKI_ROOT"
if test -d "$GKI_ROOT/common/drivers"; then
DRIVER_DIR="$GKI_ROOT/common/drivers"
elif test -d "$GKI_ROOT/drivers"; then
name: Android NDK CI
on:
push:
branches: [ "main" ]
pull_request:
branches: [ "main" ]
jobs:
build:
@natsumerinchan
natsumerinchan / bilibili-daily-task.yml
Created May 23, 2023 05:11
BiliBili Auto Checkin
# 每日任务
name: bilibili-daily-task
on:
workflow_dispatch: # 手动触发
schedule: # 计划任务触发
- cron: '0 0 * * *'
name: Apk Build
on:
push:
branches: [ "main" ]
pull_request:
branches: [ "main" ]
workflow_dispatch:
jobs:
From 45735c0f8ff96a1d1c14373b3e4a7aff6aeb0c1d Mon Sep 17 00:00:00 2001
From: DozNaka <dozdguide@gmail.com>
Date: Mon, 11 Apr 2022 20:43:45 -0400
Subject: [PATCH] Makefile: Use CCACHE for faster compilation
---
Makefile | 20 ++++++++++----------
1 file changed, 10 insertions(+), 10 deletions(-)
diff --git a/Makefile b/Makefile
#!/bin/bash
set -eux
if [ ! "$1" ]; then
echo No text!
else
echo "$1"
fi

Module Installer

These scripts are used to install Magisk/KernelSU modules to Android Device by PC

You should install platform-tools(include adb,fastboot...) at first.

module_installer.ps1 : Support Windows,Linux and Mac.(Need install powershell
and type Set-ExecutionPolicy RemoteSigned,Mac has not tested.)

module_installer.sh : Support Linux.

From 2cea5094c6104dba89e2e759b7984a65357c5d2d Mon Sep 17 00:00:00 2001
From: =?UTF-8?q?=E3=82=BB=E3=83=AA=E3=82=AB=E3=83=BB=E3=82=B7=E3=83=AB?=
=?UTF-8?q?=E3=83=95=E3=82=A3=E3=83=AB?=
<64072399+natsumerinchan@users.noreply.github.com>
Date: Sat, 25 Mar 2023 18:13:53 +0800
Subject: [PATCH] kernel: Show the real /proc/config.gz
MIME-Version: 1.0
Content-Type: text/plain; charset=UTF-8
Content-Transfer-Encoding: 8bit
@natsumerinchan
natsumerinchan / 0001-kallsyms-strip-LTO-suffixes-from-static-functions.patch
Created March 21, 2023 12:07
0001-kallsyms-strip-LTO-suffixes-from-static-functions.patch
From 2a710a626354016cd0344b848adeedb6e31ae643 Mon Sep 17 00:00:00 2001
From: Nathan Chancellor <nathan@kernel.org>
Date: Tue, 21 Mar 2023 15:04:24 +0800
Subject: [PATCH] kallsyms: strip LTO suffixes from static functions
https://lore.kernel.org/all/1fd40e80-283f-62e9-a0fa-84ad68047a23@kernel.org/#r
---
kernel/kallsyms.c | 47 ++++++++++++++++++++++++++++++++++-------------
1 file changed, 34 insertions(+), 13 deletions(-)