Skip to content

Instantly share code, notes, and snippets.

View maikxchd's full-sized avatar

米科 ٩( ´ω` )و maikxchd

View GitHub Profile
@maikxchd
maikxchd / cbe_spu_fatan.c
Last active May 16, 2024 07:45
An implementation of a function to calculate arctangent approximations on the CELL SPU using the Estrin Method
#ifndef CBE_SPU_FATAN
#define CBE_SPU_FATAN
#include <stdint.h>
#include <spu_intrinsics.h>
#include <spu_mfcio.h>
// Helper functions to load constant values into quadwords
// These functions load pre-computed constant values into quadwords,
// which can be efficiently used in SIMD operations on the CELL SPE.
@maikxchd
maikxchd / cbe_spu_fatan.c
Last active May 2, 2024 05:14
Implementation of Atan on the CELL SPU
#ifndef CBE_SPU_FATAN
#define CBE_SPU_FATAN
#include <stdint.h>
#include <spu_intrinsics.h>
/* CBE_SPU_FATAN */
// Implementation of atan for the CELL BE Synergistic Processing Unit
// (SPU) using SIMD and IPL features
@maikxchd
maikxchd / EndpointSecurityDemo.m
Created March 10, 2024 09:44 — forked from Omar-Ikram/EndpointSecurityDemo.m
A demo of using Apple's EndpointSecurity framework - tested on macOS Monterey 12.2.1 (21D62)
//
// 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)
@maikxchd
maikxchd / check.go
Last active January 12, 2023 05:30
MBKM Check Script in Go
package main
import (
"fmt"
"net/http"
"time"
"golang.org/x/net/html"
)