This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
#!/bin/bash | |
modprobe -r ec_sys | |
modprobe ec_sys write_support=1 | |
on="\x8a" | |
off="\x0a" | |
led(){ | |
echo -n -e $1 | dd of="/sys/kernel/debug/ec/ec0/io" bs=1 seek=12 count=1 conv=notrunc 2> /dev/null |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
#!/usr/bin/env bash | |
# | |
# Script for guide: | |
# https://gorka.eguileor.com/vbox-vmware-in-secureboot-linux-2016-update/ | |
# | |
# Verification: | |
# dmesg | grep "EFI:.*cert.*${cert_name}" | |
# | |
set -eu | |
set -o pipefail |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
# see https://www.jamf.com/jamf-nation/feature-requests/7095/kext-inventory-data | |
# and https://www.richard-purves.com/2017/11/09/mdm-and-the-kextpocalypse-2 | |
# TL;DR how to check | |
sudo sqlite3 /var/db/SystemPolicyConfiguration/KextPolicy | |
SELECT * FROM kext_policy; | |
.exit |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
#!/bin/bash | |
# Script to scan a system for kexts and gather the information needed for Apple whitelisting | |
# open https://www.richard-purves.com/2017/11/12/kextpocalyse-2-the-remediation | |
plist="com.apple.syspolicy.kernel-extension-policy.plist" | |
output="$HOME/Desktop" | |
override="false" | |
# Stop IFS linesplitting on spaces |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
# macOS quick & dirty fix for https://bugs.ntp.org/show_bug.cgi?id=3396 | |
sudo ln -s /tmp/ntp-kod /var/db/ntp-kod | |
# since /tmp gets cleared, | |
touch /tmp/ntp-kod | |
# this file will disappear! | |
# a workaround (suggestion) is to either use your dotfile-fu skills or... | |
# https://www.howtogeek.com/206178/mac-os-x-change-which-apps-start-automatically-at-login | |
# test result |
- read the actual spec: https://github.com/OAI/OpenAPI-Specification
- Awesome-openapi3 list: https://apis.guru/awesome-openapi3/
- Runscope tools list: https://blog.runscope.com/posts/openapi-swagger-resource-list-for-api-developers
- OpenAPI.tools: http://openapi.tools/
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
MS Graph Dev https://developer.microsoft.com/en-us/graph | |
MS Graph Docs https://docs.microsoft.com/en-us/graph/overview | |
Ms Graph Expl https://developer.microsoft.com/en-us/graph/graph-explorer |
OlderNewer