Skip to content

Instantly share code, notes, and snippets.

View cecekpawon's full-sized avatar

@cecekpawon cecekpawon

View GitHub Profile
@cecekpawon
cecekpawon / indihome-landing-redirect.user.js
Last active July 9, 2020 07:29
indihome landing page http auto redirect
(function () {
// ==UserScript==
// @name indihome landing redirect
// @namespace https://cecekpawon.github.io/
// @version 0.1
// @description indihome landing page http auto redirect
// @author cecekpawon
// @grant none
// @match http*://welcome.indihome.co.id/*
// @run-at document-body
@cecekpawon
cecekpawon / OcCfgDiff.py
Last active July 13, 2020 07:16
Trackdown changes of current and latest OpenCore config with Beyond Compare / diff file.
#!/usr/bin/env python
# @cecekpawon - 8/9/2019 4:58:12 PM
# Trackdown changes of current and latest OpenCore config with Beyond Compare.
# https://github.com/acidanthera/OpenCorePkg
# https://www.scootersoftware.com/
import os, sys, subprocess, platform, plistlib, difflib
@cecekpawon
cecekpawon / AppleAlcStripdown.sh
Last active August 5, 2019 01:18
AppleALC stripdown
#!/bin/bash
# AppleALC stripdown | @cecekpawon Sun Jul 28 14:14:02 2019
#
# User defined
#
gCodecIdDec=283904146
gDeviceId=ALC892
@cecekpawon
cecekpawon / github_release.sh
Created July 16, 2019 06:53
Github releases - for Slice - with love
#!/bin/bash
owner=Acidanthera
repo=(AptioFixPkg AppleSupportPkg)
target=RELEASE #DEBUG
for r in "${repo[@]}"
do
json=$(curl -s https://api.github.com/repos/${owner}/${r}/releases/latest)
tag=$(echo "${json}" | grep '"tag_name":' | sed -E 's/.*"([^"]+)".*/\1/')
@cecekpawon
cecekpawon / Readme.md
Last active November 12, 2019 09:57
Ozmosis Patches
@cecekpawon
cecekpawon / yod-AppleEfiFfsExtractor.php
Last active July 5, 2019 10:45
Apple EFI/FFS Extractor
#!/usr/bin/php
<?php
/*
---
Apple EFI/FFS Extractor
---
- chmod+x.script.
- Place FirmwareFile ($FF) & UEFIExtract into same directory as script.
- UEFIExtract: https://github.com/LongSoft/UEFITool/releases
@cecekpawon
cecekpawon / KBDL.user.js
Last active May 30, 2020 19:28
Apple support download ez nav
// ==UserScript==
// @name KBDL
// @namespace https://cecekpawon.github.io/
// @version 0.2
// @description Apple support download ez nav
// @author cecekpawon
// @match https://support.apple.com/kb/DL*
// @grant none
// ==/UserScript==
@cecekpawon
cecekpawon / yod-NakedAppleFirmwareUpdatePkg.php
Created August 9, 2017 08:58
Naked Apple FirmwareUpdate.pkg
#!/usr/bin/php
<?php
/*
---
Naked Apple FirmwareUpdate.pkg
---
- chmod+x.script.
- Place FirmwareUpdate.pkg & UEFIExtract into same directory as script.
- UEFIExtract: https://github.com/LongSoft/UEFITool/releases
@cecekpawon
cecekpawon / yod-OzTheme.php
Last active August 7, 2017 21:11
Parse Ozmosis theme data.
#!/usr/bin/php
<?php
# Ozmosis theme (un)packer.
# @cecekpawon: Sun Aug 6 19:26:08 2017
# chmod +x script
function help ($str = "") {
$script = basename (__FILE__);
@cecekpawon
cecekpawon / youtubedarkmode.user.js
Last active January 21, 2018 12:19
Youtube Darkmode
(function () {
// ==UserScript==
// @name Youtube Darkmode
// @namespace https://github.com/cecekpawon
// @author cecekpawon (THRSH)
// @description Youtube Darkmode, thanks internet!
// @version 1.0
// @grant none
// @match https://*.youtube.com/*
// @run-at document-start