Skip to content

Instantly share code, notes, and snippets.

View nonrice's full-sized avatar

Eric Xue nonrice

View GitHub Profile
@johndturn
johndturn / launchd-for-services.md
Last active July 12, 2024 21:15
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?

@7kfpun
7kfpun / gist:41d4fda1f9486cb79e9ca5f72ce05a5b
Created June 12, 2016 14:50
Round corners of an image with ImageMagick
convert -size 512x512 xc:none -draw "roundrectangle 0,0,512,512,40,40" png:- | convert src.png -matte - -compose DstIn -composite dst.png