https://icons.duckduckgo.com/ip2/{hostname}.icohttps://www.google.com/s2/favicons?domain_url={hostname}https://favicon.yandex.net/favicon/{hostname1}/{hostname2}/https://f1.allesedv.com/16/{hostname}http://grab-favicons.herokuapp.com/api/v1/grab-favicons/?url={hostname}https://besticon-demo.herokuapp.com/icon?url={hostname}&size=80..120..200http://favicongrabber.com/service-api-reference
This file contains hidden or 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
| // | |
| // main.m | |
| // EndpointSecurityDemo | |
| // | |
| // Created by Omar Ikram on 17/06/2019 - macOS Catalina 10.15 Beta 1 (19A471t) | |
| // Updated by Omar Ikram on 15/08/2019 - macOS Catalina 10.15 Beta 5 (19A526h) | |
| // Updated by Omar Ikram on 01/12/2019 - macOS Catalina 10.15 (19A583) | |
| // Updated by Omar Ikram on 31/01/2021 - macOS Big Sur 11.1 (20C69) | |
| // Updated by Omar Ikram on 07/05/2021 - macOS Big Sur 11.3.1 (20E241) | |
| // Updated by Omar Ikram on 04/07/2021 - macOS Monterey 12 Beta 2 (21A5268h) |
This file contains hidden or 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
| #import <Foundation/Foundation.h> | |
| #import <EndpointSecurity/EndpointSecurity.h> | |
| #import <os/log.h> | |
| #import <bsm/libbsm.h> | |
| /* | |
| In the beta 1 seed it's not straight forward to create an EndpointSecurity extension. | |
| You can use libEndpointSecurity.dylib directly as long as you set the following things: | |
| 1. Disable SIP |
This file contains hidden or 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
| Portable Version KEYS: | |
| P6Z3T-UYJC9-YAK3F-APN9M-6ZDSD | |
| FGZPK-93CWX-Q33Y6-D5URV-YXC3X | |
| 9CZQX-9YAQA-PF33L-XVUQH-NSD48 | |
| 8RZ3L-H3Y5L-W2RY5-Z5M8N-C7Z2U | |
| CCZNU-LW3LF-K9V2T-MYZFF-94667 | |
| EWZM6-3W4UX-KH922-C96GK-VGBH2 | |
| Standard Version KEYS: | |
| 4AZNW-S2YHE-LLMWM-J6EL8-7QKDL |
This file contains hidden or 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/sh | |
| echo 'use "curl -sSL git.io/corefile | bash" to update Corefile' | |
| echo "remember to change 192.168.1.1 to your ISP's DNS server address or use public DNS server such as 114/DNSPod etc. directly" | |
| china=`curl -sSL https://raw.githubusercontent.com/felixonmars/dnsmasq-china-list/master/accelerated-domains.china.conf | while read line; do awk -F '/' '{print $2}' | grep -v '#' ; done | paste -sd " " -` | |
| apple=`curl -sSL https://raw.githubusercontent.com/felixonmars/dnsmasq-china-list/master/apple.china.conf | while read line; do awk -F '/' '{print $2}' | grep -v '#' ; done | paste -sd " " -` | |
| google=`curl -sSL https://raw.githubusercontent.com/felixonmars/dnsmasq-china-list/master/google.china.conf | while read line; do awk -F '/' '{print $2}' | grep -v '#' ; done | paste -sd " " -` | |
| bogus=`curl -sSL https://raw.githubusercontent.com/felixonmars/dnsmasq-china-list/master/bogus-nxdomain.china.conf | grep "=" | while read line; do awk -F '=' '{print $2}' | grep -v '#' ; done | paste -sd " " -` | |
| cat>Corefile |
- Macintosh HDを小さくして1つのpartitionを追加
- とりあえずFATで
- swapは必要になったらfileで作る
- 8MBくらいのAPFSパーティションも自動で追加されてしまうのは気にしないでおく
- やったら適用失敗になって50GBのpartitionが出来てたので、FATのを削除してexFATで作成
- FAT32のpartition上限かな?
- 適用し終わったら作成したpartitionの前後に"Apple_Boot"ってのが出来てた(disk0s3, disk0s5)
First download the install app bundle. Older versions can be hard to find but the current version of the time you read this, can be found in the App Store.
To create a drive run this command: hdiutil create -o /tmp/Mojave.cdr -size 6200m -layout SPUD -fs HFS+J.
Next you will need to mount that drive hdiutil attach /tmp/Mojave.cdr.dmg -noverify -mountpoint /Volumes/install_build.
Use the downloaded app bundle to create the media: sudo /Applications/Install\ macOS\ Mojave.app/Contents/Resources/createinstallmedia --volume /Volumes/install_build.
This file contains hidden or 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
| import asyncio | |
| import json | |
| import logging | |
| import signal | |
| import aiohttp | |
| import platform | |
| from aiohttp import web | |
| from datetime import datetime | |
| from nats.aio.client import Client as NATS |
This file contains hidden or 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
| #include <stdio.h> | |
| #include <curl/curl.h> | |
| int main(void) | |
| { | |
| CURL *curl; | |
| CURLcode res; | |
| curl = curl_easy_init(); | |
| if(curl) { |