Skip to content

Instantly share code, notes, and snippets.

View Sphiment's full-sized avatar
🥰

~Sphiment Sphiment

🥰
View GitHub Profile
@Sphiment
Sphiment / Quran.com-Tweaks.js
Last active June 1, 2025 11:54
Enhanced quran.com UI for saving screenshots of Ayat
// ==UserScript==
// @name Quran.com Tweaks
// @namespace https://quran.com/
// @version 1.1
// @description Enhanced quran.com UI for saving screenshots of Ayat
// @author Sphiment
// @source https://gist.github.com/Sphiment/38b36d4261698e027d43e250b095b6a5
// @match https://quran.com/*
// @grant GM_addStyle
// ==/UserScript==
@Sphiment
Sphiment / WinMasterBlocker.bat
Created May 8, 2025 21:02 — forked from ph33nx/WinMasterBlocker.bat
Block All Adobe .exe files via Firewall on Windows Using Batch Script | Stop adobe apps to access internet
:: ################################################################
:: ## 🔥 WinMasterBlocker 🔥 #
:: ################################################################
:: # Author: https://github.com/ph33nx #
:: # Repo: https://github.com/ph33nx/WinMasterBlocker #
:: # #
:: # This script blocks inbound/outbound network access #
:: # for major apps like Adobe, Autodesk, Corel, Maxon, #
:: # and more using Windows Firewall. #
:: # #
@Sphiment
Sphiment / 3D rotation expression.txt
Created March 8, 2025 04:01
3D rotation expression
360 / 16 * (index - 1) + time * -20
@Sphiment
Sphiment / End of Ramp.txt
Last active January 12, 2025 20:51
Bend anchor point to the bottom of the layer - after effects expression
const rect = thisLayer.sourceRectAtTime();
if (thisLayer.text || thisLayer.content) {
[toComp([rect.left + rect.width / 2, rect.top])[0], toComp([rect.left + rect.width / 2, rect.top + rect.height])[1]];
} else {
[anchorPoint[0],anchorPoint[1] + rect.height/2 ]
}
@Sphiment
Sphiment / Start of Ramp.txt
Last active January 12, 2025 20:51
Bend anchor point to the top of the layer - after effects expression
const rect = thisLayer.sourceRectAtTime();
if (thisLayer.text || thisLayer.content) {
[toComp([rect.left + rect.width / 2, rect.top])[0], toComp([rect.left + rect.width / 2, rect.top])[1]];
} else {
[anchorPoint[0],anchorPoint[1] - rect.height/2 ]
}
@Sphiment
Sphiment / cleanup-win10.ps1
Created July 27, 2023 04:58 — forked from halkyon/cleanup-win10.ps1
Cleanup Windows 10 Powershell script
##
## Windows 10 cleanup script.
## Remove dodgy tracking settings, unneeded services, all apps, and optional features that come with Windows 10. Make it more like Windows 7.
## NOTE: this was tested on Creators Update (1703) and Fall Creators Update (1709). Some of this may not work as expected on newer versions.
##
## Instructions
## 1. Run this script (under Powershell as Administrator):
## powershell -ExectionPolicy Bypass .\cleanup-win10.ps1
## 2. Let it run through, you may see a few errors, this is normal
## 3. Reboot