Skip to content

Instantly share code, notes, and snippets.

View angelorobo's full-sized avatar

Angelo Huang angelorobo

View GitHub Profile
@angelorobo
angelorobo / main.dart
Last active October 24, 2019 06:45
BlaBla 编程挑战
// **BlaBla 编程挑战**
// Github提供2种公开的API,一种是REST和另一种是GraphQL。BlaBla编程挑战是利用Github GraphQL以查询GitHub的公共数据
// 并解析API的JSON响应以回答我们已下出的问题。我们系统中使用了GraphQL,因此拥有GraphQL的知识对我们团队中的移动开发人员是非常重要的。
// 首先,您可以在以下链接测试Github GraphQL并了解一些实际的例子:
// https://developer.github.com/v4/explorer/
// 这个指南提供了有关GitHub GraphQL入门的信息:
// https://developer.github.com/v4/guides/
@angelorobo
angelorobo / gist:71e723c94b220123b4ac94037d6cd40f
Created July 17, 2026 17:20
Huntress post-install script for Swif
#!/bin/zsh
#
# Huntress post-install script for Swif.ai
#
# Requirements:
# 1. Deploy HuntressSystemExtensionProfile.mobileconfig before this script.
# 2. Replace ACCOUNT_KEY and ORGANIZATION_KEY below.
# 3. Run as root through Swif/Munki.
#
@angelorobo
angelorobo / gist:313e10a4e32503fb55d8118010f2fa3d
Last active July 17, 2026 19:37
Huntress post-install for Swif V2
#!/bin/zsh
#
# Huntress post-install script for Swif.ai
#
# Before deploying:
# 1. Replace ACCOUNT_KEY with the 32-character Huntress Account Key.
# 2. Replace ORGANIZATION_KEY with the exact Huntress Organization Key.
# 3. Deploy HuntressSystemExtensionProfile.mobileconfig before this app.
#
@angelorobo
angelorobo / gist:e8d6afe260144292a5ea989c0674d98d
Last active July 17, 2026 19:37
Huntress installcheck script for Swif
#!/bin/zsh
HUNTRESS_BINARY="/Applications/Huntress.app/Contents/MacOS/Huntress"
#
# Munki installcheck_script semantics:
#
# exit 0 = installation is needed
# exit 1 = application is already correctly installed
#