Skip to content

Instantly share code, notes, and snippets.

@masklinn
masklinn / cheatsheet.md
Last active Oct 5, 2020
launchctl/launchd cheat sheet
View cheatsheet.md

I've never had great understanding of launchctl but the deprecation of the old commands with launchctl 2 (10.10) has been terrible as all resources only cover the old commands, and documentation for Apple utilities is generally disgracefully bad, with launchctl not dissembling.

Mad props to https://babodee.wordpress.com/2016/04/09/launchctl-2-0-syntax/ which contains most details

domains

Internally, launchd has several domains, but launchctl 1 would only ask for service names,

View it.rs
pub type Item = (String, Vec<u8>);
pub struct Lineish<R> {
inner: R
}
impl <R: Buffer> Lineish<R> {
pub fn new(inner: R) -> Lineish<R> {
Lineish {
inner: inner,
View index.html
<!doctype html>
<html>
<head><title>Editing host &amp; selection</title></head>
<body>
<div contenteditable="true">
<h4>
<span tabindex="-1" contenteditable="false">
<span contenteditable="true">YourCompany</span>
</span>
<small> - <a href="/page/website.aboutus">About us</a></small>
You can’t perform that action at this time.