Skip to content

Instantly share code, notes, and snippets.

@Wowfunhappy
Wowfunhappy / download-mavericks.sh
Last active August 19, 2025 17:48
Download a Mac OS X 10.9 Mavericks installer image Apple
#!/bin/sh
# Download script written by Wowfunhappy. Last updated 2025/06/15.
# Thank you to Krackers, Jazzzny, and others for helping analyze Apple's download process and debug this script.
# Thank you to dosdude1 for donating identifiers from a broken Mac.
# Any mistakes are mine alone.
# Helper functions
Make MacOS Folder Icons
@OrionReed
OrionReed / dom3d.js
Last active August 31, 2025 17:00
3D DOM viewer, copy-paste this into your console to visualise the DOM topographically.
// 3D Dom viewer, copy-paste this into your console to visualise the DOM as a stack of solid blocks.
// You can also minify and save it as a bookmarklet (https://www.freecodecamp.org/news/what-are-bookmarklets/)
(() => {
const SHOW_SIDES = false; // color sides of DOM nodes?
const COLOR_SURFACE = true; // color tops of DOM nodes?
const COLOR_RANDOM = false; // randomise color?
const COLOR_HUE = 190; // hue in HSL (https://hslpicker.com)
const MAX_ROTATION = 180; // set to 360 to rotate all the way round
const THICKNESS = 20; // thickness of layers
const DISTANCE = 10000; // ¯\\_(ツ)_/¯
@jmconway
jmconway / Set-Win10Baseline21H2.ps1
Created May 29, 2022 21:51
PowerShell module/helper script with custom functions for imaging Windows 10 build 21H2 with MDT/WDS.
# For the purposes of this script, assume DWORD values
function Set-RegistryItem {
param (
[CmdletBinding()]
[string]$Path
)
param (
[CmdletBinding()]
[string]$Name
)
@realAzazello
realAzazello / Personal_GHHbD_block-list.txt
Last active August 27, 2025 18:27
Personal block list used for GHHbD ('Google Hit Hider by Domain'), a userscript <http://www.jeffersonscher.com/gm/google-hit-hider/> created by Jefferson Scher
[Personal "Google Hit Hider by Domain" list]
['Bad' TLDs]
[https://greasyfork.org/en/forum/discussion/comment/55821/#Comment_55821]
[Reputation Statistics: gTLDs associated with bad domains ~ https://www.spamhaus.org/reputation-statistics/gtlds/domains/]
[Reputation Statistics: (ccTLDs) ~ https://www.spamhaus.org/reputation-statistics/cctlds/domains/ <formerly 'The Top 10 Worst TLDs ~ https://www.spamhaus.org/statistics/tlds/>]
[2021: https://unit42.paloaltonetworks.com/top-level-domains-cybercrime/]
[https://community.cisco.com/t5/firepower/blocking-spamhaus-top-10-most-abused-top-level-domains/td-p/3096704]
@ishad0w
ishad0w / microsoft_edge_uninstaller_21h1_ltsc.bat
Last active May 17, 2025 15:56
Microsoft Edge Uninstaller [Windows 10 LTSC 2021/21H1 Edition]
@echo off
@title Microsoft Edge Uninstaller [Windows 10 LTSC 2021/21H1 Edition]
ver
echo+
goto check_admin_permissions
:check_admin_permissions
echo Script must Run as Administrator! Detecting permissions...
net session >nul 2>&1
if %errorLevel% == 0 (
@ByronScottJones
ByronScottJones / profile.ps1
Last active May 30, 2021 00:27
Powershell Profile
#Requires -Version 7
# Version 1.2.9
$Secrets = get-content -raw -path ~/.secrets/secrets.json | cnvertfrom-json
# check if newer version
#$gistUrl = "https://api.github.com/gists/......."
gistUrl = $Secrets.PowershellProfile.gistUrl
$latestVersionFile = [System.IO.Path]::Combine("$HOME",'.latest_profile_version')
@crutkas
crutkas / InstallWinGet.ps1
Last active June 30, 2024 07:15
InstallWinGet PowerShell
function InstallWinGet()
{
$hasPackageManager = Get-AppPackage -name "Microsoft.DesktopAppInstaller"
if(!$hasPackageManager)
{
$releases_url = "https://api.github.com/repos/microsoft/winget-cli/releases/latest"
[Net.ServicePointManager]::SecurityProtocol = [Net.SecurityProtocolType]::Tls12
$releases = Invoke-RestMethod -uri "$($releases_url)"
@LukeZGD
LukeZGD / ios-downgrade-dualboot.md
Last active August 29, 2025 08:55
Downgrade and dualboot status of almost all iOS devices

Downgrade and dualboot status of almost all iOS devices

UPDATED: 2025-08-24

@filhocodes
filhocodes / .gitignore
Created February 14, 2021 13:30
Ansible Setup
inventory.local.yml