Skip to content

Instantly share code, notes, and snippets.

View Sidelobe's full-sized avatar

Lorenz Bucher Sidelobe

View GitHub Profile
@bpteague
bpteague / OS X Code Signing Pyinstaller.md
Last active December 16, 2025 22:05 — forked from txoof/OS X Code Signing Pyinstaller.md
PyInstaller recipe for codesigning an OSX .app bundle

This worked as of Feb 17 2025, on OSX Sonoma 14.7.2, using PyInstaller 6.12.0. And this packaged a very nontrivial app, which you can now download from https://cytoflow.readthedocs.io.

Setup

  • Create a developer account with Apple
  • Download and install XCode from the App Store.
    • open XCode and install all of the command-line tools when it asks.
  • Create a certificate signing request (CSR)
  • Launch the "Keychain Access" utility
@ilyagr
ilyagr / meld-macos.md
Last active September 28, 2025 16:38
Using meld on Macs (as of 2025-01-22)

Running Meld on MacOS

The state of Meld on Macs is currently in flux. TLDR: currently, the best way to run Meld is to install Homebrew and then run brew install dehesselle-meld.

Update 2025-04-21: Starting today, it seems that Homebrew renamed the dehesselle-meld cask to just meld, https://formulae.brew.sh/cask/meld. So, brew install --cask meld should work (possibly after updating Homebrew), and simple brew install meld might work too.

@donny-dont
donny-dont / aligned_allocator.cpp
Created December 13, 2011 09:11
An aligned allocator for placing SIMD types in std::vector
#ifdef _WIN32
#include <malloc.h>
#endif
#include <cstdint>
#include <vector>
#include <iostream>
/**
* Allocator for aligned data.