Skip to content

Instantly share code, notes, and snippets.

View spacecowgirl314's full-sized avatar

Chloe Stars spacecowgirl314

  • Melbourne, Victoria, Australia
  • 05:05 (UTC +10:00)
View GitHub Profile
@steventroughtonsmith
steventroughtonsmith / main.m
Created March 24, 2016 08:08
Load Mach-O executable at runtime and execute its entry point
void callEntryPointOfImage(char *path, int argc, char **argv)
{
void *handle;
int (*binary_main)(int binary_argc, char **binary_argv);
char *error;
int err = 0;
printf("Loading %s…\n", path);
handle = dlopen (path, RTLD_LAZY);
@gomfunkel
gomfunkel / elgato-eve.md
Last active September 9, 2023 18:28
Elgato Eve HomeKit Services & Characteristics

Elgato Eve HomeKit Services & Characteristics

A work in progress collection of proprietary and as of yet undocumented HomeKit characteristics and their UUIDs used by Elgato Eve.

This list is not including all Eve accessories available and some services and characteristics still make no sense to me. If you have anything to contribute, please leave a comment. There is no guarantee that the information listed below is correct.

Elgato Eve Energy (Firmware Revision 1.3.1;466)

Service - Characteristic UUID R W Type Description

Dead-easy spicy strawberry curry

Sambal oelek is a spicy chili pepper sauce; Huy Fong Foods's sambal oelek is pretty easy to find in grocery stores. Don't try to substitute other hot sauces for it.

Ingredients

  • 2-3 heaping teaspoons sambal oelek
  • 3 large strawberries, chopped finely
/*
* asdfghjkl;'
*/
#include <mach/machine/vm_types.h>
#include <stdint.h>
#include <stdio.h>
#include <string.h>
#include <stdlib.h>