Docker.app will complain about incompatible processor, so we will use Docker Machine.
Download Docker for Mac (Docker.app). It contains some binaries that are necessary.
brew install virtualbox docker-machine
# Copyright: (c) 2019, Jordan Borean (@jborean93) <[email protected]> | |
# MIT License (see LICENSE or https://opensource.org/licenses/MIT) | |
Function Get-ServiceCredential { | |
<# | |
.SYNOPSIS | |
Retrieve the username and plaintext password for all services installed on the local computer. | |
.DESCRIPTION | |
Will retrieve the username and plaintext password for the service(s) specified. This must be run as an |
#!/bin/bash | |
# Backup a Plex database. | |
# Author Scott Smereka | |
# Version 1.0 | |
# Script Tested on: | |
# Ubuntu 12.04 on 2/2/2014 [ OK ] | |
# Plex Database Location. The trailing slash is |
CACHE_INFO: 127.0.0.1 | |
CF_CONNECTING_IP: 127.0.0.1 | |
CF-Connecting-IP: 127.0.0.1 | |
CLIENT_IP: 127.0.0.1 | |
Client-IP: 127.0.0.1 | |
COMING_FROM: 127.0.0.1 | |
CONNECT_VIA_IP: 127.0.0.1 | |
FORWARD_FOR: 127.0.0.1 | |
FORWARD-FOR: 127.0.0.1 | |
FORWARDED_FOR_IP: 127.0.0.1 |
public function saved(Task $task): void | |
{ | |
if ($task->isDirty('attachment')) { | |
$originalFieldContents = $task->getOriginal('attachment'); | |
$newFieldContents = $task->attachment; | |
# We attempt to JSON decode the field. If it is an array, this is an indication we have ->multiple() activated | |
$originalFieldContentsDecoded = json_decode($task->getOriginal('attachment')); |
Enable Option Key as Meta
in iTerm. Set as Esc+
- http://stackoverflow.com/a/438892
Ctrl + a
Go to the beginning of the line (Home)Ctrl + e
Go to the End of the line (End)Ctrl + p
Previous command (Up arrow)Ctrl + n
Next command (Down arrow)(async function generateReplies(document) { | |
/** | |
* Those saved replies are a mix of the "conventional comments" and the | |
* "code review emoji guide". | |
* Refer to the following resources: | |
* - https://conventionalcomments.org | |
* - https://github.com/axolo-co/code-review-emoji-guide | |
*/ | |
const LABEL = { |
See how a minor change to your commit message style can make a difference.
Tip
Take a look at git-conventional-commits , a CLI util to ensure these conventions, determine version and generate changelogs
Some notes on accessing / exporting Apple's Screen Time data