Skip to content

Instantly share code, notes, and snippets.

View mebinum's full-sized avatar

Oyem E mebinum

View GitHub Profile
@cedrickchee
cedrickchee / ai_engineering_handbook.md
Last active April 15, 2025 07:23
AI Engineering Handbook (Draft)

AI Engineering Handbook (Draft)

What is AI Engineering?

AI engineers operate at a higher level of abstraction than Machine Learning (ML) engineers or large language model (LLM) engineers and don't necessarily need to know how to build an LLM or a ML model.

AI engineering builds upon ML systems[^1], but with a focus on large scale, ready made models (aka. base models).

The distinct skills that AI engineers need to know include prompt engineering,

enter recovery mode on your Mac: restart and hold Cmd R
open Utilities -> Terminal
in the terminal, type: `csrutil disable`
restart your Mac
open a Terminal window and type: `systemextensionsctl list`
It will show something like:
```
1 extension(s)
--- com.apple.system_extension.cmio
@Neo23x0
Neo23x0 / log4j_rce_detection.md
Last active April 11, 2025 22:49
Log4j RCE CVE-2021-44228 Exploitation Detection

log4j RCE Exploitation Detection

You can use these commands and rules to search for exploitation attempts against log4j RCE vulnerability CVE-2021-44228

Grep / Zgrep

This command searches for exploitation attempts in uncompressed files in folder /var/log and all sub folders

sudo egrep -I -i -r '\$(\{|%7B)jndi:(ldap[s]?|rmi|dns|nis|iiop|corba|nds|http):/[^\n]+' /var/log
#!/bin/bash
###
### my-script — does one thing well
###
### Usage:
### my-script <input> <output>
###
### Options:
### <input> Input file to read.
### <output> Output file to write. Use '-' for stdout.

React Native + macOS + Clojurescript

image

Project Catalyst

Since the recent release of Catalina, macOS has shipped with the ability to allow iOS/iPAD apps to run on macOS without any modification via a featureset known as Project Catalyst.

This is exciting, as writing React Native + Clojurescript apps as a target for the desktop is much more compelling than a pure Electron app (imo).

@CodingDoug
CodingDoug / README.md
Last active December 14, 2022 09:48
Realtime Database triggers with Cloud Functions for Firebase - source

Realtime Database triggers with Cloud Functions for Firebase - source

This gist contains the source code in my video series about Realtime Database triggers. You can watch the three parts here:

  1. Part 1 (intro, onCreate)
  2. Part 2 (onUpdate, infinite loops)
  3. Part 3 (onDelete, transactions)

index.ts contains the Cloud Functions code, and dialog.ts contains the script to run

@kristianpd
kristianpd / BasicNetworkedSceneManager.cs
Last active February 18, 2021 08:25
Additive scene loading over network with Unity UNet
using System.Collections;
using System.Collections.Generic;
using UnityEngine;
using UnityEngine.Networking;
using UnityEngine.Networking.NetworkSystem;
using UnityEngine.SceneManagement;
using VRTK;
using System.Linq;
/// <summary>
@OliverJAsh
OliverJAsh / foo.ts
Last active January 27, 2025 18:24
Records and dictionaries in TypeScript
/*
In JavaScript, objects can be used to serve various purposes.
To maximise our usage of the type system, we should assign different types to our objects depending
on the desired purpose.
In this blog post I will clarify two common purposes for objects known as records and dictionaries
(aka maps), and how they can both be used with regards to the type system.
@mtrunkat
mtrunkat / docker-mongo-repair
Last active March 19, 2024 06:28
Run "mongo --repair" in Docker container that cannot start because of MongoDB error
#!/bin/bash
# See https://github.com/docker-library/mongo/pull/63
docker run --rm --volumes-from my-mongo-server mongo unlink "/data/db/mongod.lock"
docker run --rm --volumes-from my-mongo-server mongo --repair