Skip to content

Instantly share code, notes, and snippets.

@faqteur
faqteur / launchd-for-services.md
Created June 12, 2024 13:23 — forked from johndturn/launchd-for-services.md
Overview of using launchd to set up services on a macOS machine.

launchd - Script Management in macOS

What is it?

  • Used on macOS for managing agents and daemons and can be used to run scripts at specified intervals
    • macOS's competitor to cron, along with other things
  • Runs Daemons and Agents

What is a Daemon?

@faqteur
faqteur / filtter_happier.txt
Created July 20, 2021 09:51
Fitter Happier
Fitter, happier, more productive,
Comfortable,
Not drinking too much,
Regular exercise at the gym
(Three days a week),
Getting on better with your associate employee contemporaries,
At ease,
Eating well
(No more microwave dinners and saturated fats),
A patient better driver,
@faqteur
faqteur / wavecuepoint.c
Last active July 20, 2021 09:57 — forked from jimmcgowan/wavecuepoint.c
This code reads a .wav file and a text file containing marker locations (specified as frame indexes, one per line) and creates a new .wav file with embedded cue points for each location. The code is standard, portable C.
//
// wavecuepoint.c
// Created by Jim McGowan on 29/11/12.
// jim@bleepsandpops.com
// jim@malkinware.com
//
// This function reads a .wav file and a text file containing marker locations (specified as frame indexes, one per line)
// and creates a new .wav file with embedded cue points for each location. The code is standard, portable C.
//
// For a full description see http://bleepsandpops.com/post/37792760450/adding-cue-points-to-wav-files-in-c