Skip to content

Instantly share code, notes, and snippets.

View sadiqsalau's full-sized avatar
💻
Coding

Sadiq Salau sadiqsalau

💻
Coding
View GitHub Profile
@sadiqsalau
sadiqsalau / Isotope.jsx
Last active February 15, 2024 03:22
React Isotope
/** npm install isotope-layout clsx **/
import IsotopeLayout from "isotope-layout";
import React from "react";
import clsx from "clsx";
const IsotopeContext = React.createContext();
export const Isotope = ({ children, ...props }) => {
const isotope = React.useRef();
@sadiqsalau
sadiqsalau / .cpanel.sample.conf
Last active October 14, 2023 15:39
Deploy Laravel to another workflow
export RUN_MIGRATIONS=false
@sadiqsalau
sadiqsalau / ci.yml
Created October 14, 2023 15:35
Deploy React to another Repository
name: "Build and Deploy"
on:
push:
branches: ["main"]
pull_request:
branches: ["main"]
jobs:
build:
@sadiqsalau
sadiqsalau / example.conf
Created August 22, 2023 05:01
PHP FPM Linux
<Directory "/srv/http/example">
Allow from all
Require all granted
AllowOverride all
Options all
<FilesMatch \.php$>
SetHandler "proxy:unix:/run/php80-fpm/php-fpm.sock|fcgi://localhost"
</FilesMatch>
</Directory>
@sadiqsalau
sadiqsalau / README.txt
Last active July 2, 2023 10:25
Ipad 2 Bypass
FOLLOW THIS TUTORIAL FIRST!
1. Start PHP server
php -S localhost:7000
2. Activate Device
ideviceactivation activate -s http://localhost:7000/sliver.php
@sadiqsalau
sadiqsalau / .cpanel.yml
Created May 26, 2023 04:49
Cpanel Download Github Release
---
deployment:
tasks:
# If .deploy.conf doesn't exist, create it from .deploy.example.conf
- |
if [ ! -f .deploy.conf ]
then
cp .deploy.example.conf .deploy.conf
exit
else
@sadiqsalau
sadiqsalau / mtk-partitions.txt
Last active February 11, 2024 07:44
MTK Partitions
MTK platform partition meaning
#Pre-loader
Pre-loader image
Handles all the download and secure boot procedure
#DSP_BL
DSP Boot Loader
#MBR、EBR1、EBR2
Ext4 file system partition index table
@sadiqsalau
sadiqsalau / .cpanel.yml
Last active December 20, 2023 04:15
Laravel Cpanel Deploy
---
deployment:
tasks:
# If .deploy.conf doesn't exist, create it from .deploy.example.conf
- |
if [ ! -f .deploy.conf ]
then
cp .deploy.example.conf .deploy.conf
exit
else
@sadiqsalau
sadiqsalau / README.md
Last active April 26, 2023 06:45
Gionee S10L - MtkClient Patch

Make sure to delete every preloader in mtkclient/Loader/Preloader except preloader_gnsz6757_66_n_s10.bin

**Changes

  • Hard coded emmc info - Line 580, fixes the no emmc info error of MT6757
  • Disabled emmc info check - Line 1200, ensure to keep only the right preloader
@sadiqsalau
sadiqsalau / .cpanel.yml
Last active April 26, 2023 05:39
gh-pages Cpanel Deploy
---
deployment:
tasks:
# If .deploy.conf doesn't exist, create it from .deploy.example.conf
- |
if [ ! -f .deploy.conf ]
then
cp .deploy.example.conf .deploy.conf
exit
else