Skip to content

Instantly share code, notes, and snippets.

@karthikeyan-mac
karthikeyan-mac / setRecoveryLock.sh
Created March 13, 2025 14:12
Recovery Lock Enablement in macOS Using the Jamf Pro API
#!/bin/zsh
# Script to Set/Remove Recovery Lock on Apple Silicon Macs using the Jamf API.
# Works based on the 'lockMode' variable (Set/Remove) to configure Recovery Lock.
#
# Key Functionalities:
# - Retrieves the Mac's serial number.
# - Generates a 26-digit random Recovery Lock password.
# - Uses JAMF API Roles and Clients
# - Uses Jamf Pro API to:
@caeperdiajinb
caeperdiajinb / iCareFone for WhatsApp Transfer
Created March 13, 2025 14:11
iCareFone for WhatsApp Transfer Cracked
iCareFone for WhatsApp Transfer Crackeded
# Finding Non-Self-Hosted Runners in a GitHub Organization
To find all GitHub-hosted runners (non-self-hosted) that are being used in your organization, you'll need to combine a few approaches since GitHub doesn't provide a single direct view for this specific filter.
## Method 1: Using GitHub API
The most comprehensive way is to use the GitHub API to query all workflow runs and filter out those using GitHub-hosted runners:
```bash
# Set your GitHub Personal Access Token with appropriate permissions
@fritzlaszlo
fritzlaszlo / download-kirby-content-folder.sh
Created March 13, 2025 14:10
A simple bash script to SSH into your server/webspace, zip Kirby's content folder, download to your machine and unzip it.
#!/bin/bash
# Colors for terminal output
GREEN='\033[0;32m'
BLUE='\033[0;34m'
YELLOW='\033[1;33m'
RED='\033[0;31m'
NC='\033[0m' # No Color (reset)
# Configuration variables
https://docs.google.com/forms/d/e/1FAIpQLSfgkgKIvw2DLs-8eGB2xm9PghJVYRqAsVQ5OQHngQzdWI4Ygw/viewform?usp=pp_url&entry.1036262531=%C4%90%C3%A3%20t%E1%BB%ABng&entry.74397389=C%C3%B3&entry.1189954871=Th%E1%BB%B1c%20ph%E1%BA%A9m%20l%C6%B0%C6%A1ng%20th%E1%BB%B1c&entry.1189954871=M%E1%BB%B9%20ph%E1%BA%A9m&entry.1189954871=S%E1%BB%AFa%2C%20th%E1%BB%B1c%20ph%E1%BA%A9m%20dinh%20d%C6%B0%E1%BB%A1ng&entry.1189954871=F%26B%20(Kinh%20doanh%20%C4%83n%20u%E1%BB%91ng)&entry.2106411643=6&entry.774266777=5&entry.558522891=7&entry.62730043=7&entry.1852177330=5&entry.2128304976=6&entry.1366418728=5&entry.519212339=7&entry.1716668977=6&entry.350589957=5&entry.604665872=6&entry.256859792=5&entry.1366192215=6&entry.2129121145=5&entry.1561467203=5&entry.1884087052=6&entry.615032464=6&entry.596101965=6&entry.324726302=5&entry.788232803=6&entry.1235350187=5&entry.627140506=6&entry.344259919=6&entry.1937453349=7&entry.1533161177=7&entry.157494604=5&entry.630285937=6&entry.1834724495=6&entry.699095017=7&entry.878958999=7&entry.979739921=N
@Xsir0
Xsir0 / gist:950b13e1c2d003c9209f1c965eefdef9
Created March 13, 2025 14:10
微信公众号HTML手动清理与插入剪贴板内容
// ==UserScript==
// @name 微信公众号HTML手动清理与插入剪贴板内容
// @namespace http://tampermonkey.net/
// @version 0.3
// @description 在微信公众号页面添加按钮,手动清除或插入剪贴板内容到指定路径
// @author Xsir
// @match *://mp.weixin.qq.com/cgi-bin/appmsg*
// @grant none
// ==/UserScript==
#Standard english stop words taken from Lucene's StopAnalyzer
&
a
an
and
are
as
at
be
but
{
"private": true,
"scripts": {
"bootstrap": "lerna bootstrap",
"build": "lerna run build",
"publish": "lerna publish"
},
"devDependencies": {
"lerna": "^8.1.9"
},
@critdedeha2c
critdedeha2c / NTFS Permissions Auditor Pro
Created March 13, 2025 14:09
NTFS Permissions Auditor Pro Cracked
NTFS Permissions Auditor Pro Crackeded
@Erik0622
Erik0622 / document.tex
Created March 13, 2025 14:09
LaTeX document generated at 2025-03-13T14:09:54.773Z
% Generated at: 2025-03-13T14:09:54.773Z
\documentclass[11pt,a4paper]{article}
\usepackage[utf8]{inputenc}
\usepackage[T1]{fontenc}
\usepackage[ngerman]{babel}
\usepackage{amsmath,amssymb}
\usepackage{avant}
\renewcommand{\familydefault}{\sfdefault}
\usepackage{cmbright}