(C-x means ctrl+x, M-x means alt+x)
The default prefix is C-b. If you (or your muscle memory) prefer C-a, you need to add this to ~/.tmux.conf
:
#! /usr/bin/env python | |
""" Convert values between RGB hex codes and xterm-256 color codes. | |
Nice long listing of all 256 colors and their codes. Useful for | |
developing console color themes, or even script output schemes. | |
Resources: | |
* http://en.wikipedia.org/wiki/8-bit_color | |
* http://en.wikipedia.org/wiki/ANSI_escape_code |
<?xml version="1.0" encoding="UTF-8"?> | |
<!DOCTYPE plist PUBLIC "-//Apple//DTD PLIST 1.0//EN" "http://www.apple.com/DTDs/PropertyList-1.0.dtd"> | |
<plist version="1.0"> | |
<dict> | |
<key>Label</key> | |
<string>org.my.logoutwatcher</string> | |
<key>ProgramArguments</key> | |
<array> | |
<string>/usr/local/myorg/logoutwatcher.sh</string> | |
</array> |
onLogout() { | |
# Insert whatever script you need to run at logout | |
exit | |
} | |
echo "INFO - Watching ${HOME}" >> /var/log/org.my.log | |
trap 'onLogout' SIGINT SIGHUP SIGTERM | |
while true; do |
#!/bin/bash | |
# Output all to log | |
exec 2>&1 >> /var/log/unloadFDERecoveryAgent.log | |
log() | |
{ | |
NOW="$(date +"%Y-%m-%d %H:%M:%S")" | |
echo "$NOW": "$1" | |
} |
class Logging(object): | |
__name__ = 'logger.info(1)' | |
plist = '/System/Library/Preferences/Logging/Subsystems/' | |
def __init__(__name__, plist, *args, **kwargs): | |
super(getLogger/, self).__init__() | |
logger.info('Input parameters:\n' | |
'accessibility: "{com.apple.Accessibility.plist}"\n' |
#!/usr/bin/env python | |
# -*- coding: utf-8 -*- | |
""" | |
Jamf Pro - Determine Execution Environment | |
""" | |
import os | |
def is_running_directly(): | |
""" |
@charset "utf-8"; | |
@font-face { | |
font-family: "Poppins"; | |
src: url("../fonts/Poppins-Regular.otf"); | |
} | |
// @font-face { | |
// font-family: "Merriweather"; | |
// src: url("../fonts/Merriweather-Regular.ttf"); | |
// } |
The Jamf Pro GUI allows you to automatically set up the necessary payloads to manage the FDE Recovery Key Escrow process for macOS 10.13+.
However, the settings reside in the "Security & Privacy" grouping within the Jamf Pro GUI, forcing you to manage settings other than those related to recovery key escrow. You may inadvertently lock your users out of being able to make changes to the firewall, analytics settings, screen saver password requirement, etc.
You can upload a custom profile to the Jamf Pro Server that manages only FDE Recover Key Escrow preferences, but it takes a little work.
You'll also need to sign your resultant configuration profile to prevent the Jamf Pro Server from manipulating its contents or preventing deployment. You can use an Apple Developer certificate, or your Jamf Pro Server's CA (if self signed).