Skip to content

Instantly share code, notes, and snippets.

View starkindustries's full-sized avatar
🎯
Focusing

Zion starkindustries

🎯
Focusing
View GitHub Profile
@starkindustries
starkindustries / min-linux.md
Created October 13, 2025 19:22 — forked from bluedragon1221/min-linux.md
Create a minimal linux from scratch with initramfs and busybox.
@bluedragon1221
bluedragon1221 / min-linux.md
Last active October 21, 2025 16:57
Create a minimal linux from scratch with initramfs and busybox.
@0xdevalias
0xdevalias / reverse-engineering-macos.md
Last active October 30, 2025 01:21
Some notes, tools, and techniques for reverse engineering macOS binaries
@msmuenchen
msmuenchen / 00_MAIN.md
Last active September 5, 2025 19:19
Patching around the Samsung Wearable ecosystem for fun and (no) profit

tl;dr: Samsung is a bunch of crap company that doesn't inform their customers about serious limitations on their Wearables lineup. Great hardware, dog poo software.

So, what's this about: Samsung omits a bunch of crucial information for consumers anywhere on the Galaxy Watch product pages - at least on those for the Galaxy Watch 4, Galaxy Watch 5 or Galaxy Watch 6.

They omit on the product pages, the pages that should inform a consumer about requirements and limitations, that:

  1. unless you're rooted, the companion phone actually must be a phone, tablets and even phablets like the Galaxy Tab Active 3 are not supported. (If you're rooted, you can patch that away. Just follow along for the guide)
  2. only certain wearables
@fuzyll
fuzyll / make_ghidra_app.sh
Last active December 4, 2023 21:09
Script to automatically create a MacOS Application Bundle out of a Ghidra release archive.
#!/usr/bin/env bash
# make_ghidra_app.sh | MacOS App Bundle Creator Script
#
# Copyright (c) 2019 Alexander Taylor <[email protected]>
#
# Licensed under the Apache License, Version 2.0 (the "License");
# you may not use this file except in compliance with the License.
# You may obtain a copy of the License at
#
@ditzel
ditzel / PhysicsHelper.cs
Created January 20, 2019 16:54
Unity Helper for Physic Functions
using UnityEngine;
namespace Ditzelgames
{
public static class PhysicsHelper
{
public static void ApplyForceToReachVelocity(Rigidbody rigidbody, Vector3 velocity, float force = 1, ForceMode mode = ForceMode.Force)
{
if (force == 0 || velocity.magnitude == 0)
@laobubu
laobubu / ABOUT.md
Last active October 25, 2025 18:35
A very simple HTTP server in C, for Unix, using fork()

Pico HTTP Server in C

This is a very simple HTTP server for Unix, using fork(). It's very easy to use

How to use

  1. include header httpd.h
  2. write your route method, handling requests.
  3. call serve_forever("12913") to start serving on port 12913
@wojteklu
wojteklu / clean_code.md
Last active October 31, 2025 09:32
Summary of 'Clean code' by Robert C. Martin

Code is clean if it can be understood easily – by everyone on the team. Clean code can be read and enhanced by a developer other than its original author. With understandability comes readability, changeability, extensibility and maintainability.


General rules

  1. Follow standard conventions.
  2. Keep it simple stupid. Simpler is always better. Reduce complexity as much as possible.
  3. Boy scout rule. Leave the campground cleaner than you found it.
  4. Always find root cause. Always look for the root cause of a problem.

Design rules

@cyhsutw
cyhsutw / MathJax.ipynb
Last active October 20, 2025 06:05
Grabbed from https://github.com/odewahn/ipynb-examples, converted to v3 for GitHub to render.
Loading
Sorry, something went wrong. Reload?
Sorry, we cannot display this file.
Sorry, this file is invalid so it cannot be displayed.
@vin-the-dev
vin-the-dev / CustomPageRenderer.swift
Last active November 29, 2018 16:31
PDF Creation from iOS swift
//
// CustomPageRenderer.swift
// (c) 2016 Vineeth Vijayan, licensed under the MIT License
// Inspired by https://gist.github.com/mattt/bd5e48ae461848cdbd1e#file-recipepagerenderer-swift
import UIKit
import AVFoundation
/// Units for printing content insets
let POINTS_PER_INCH: CGFloat = 72