https://smallstep.com/blog/ssh-agent-explained/ https://gist.github.com/ryuheechul/494f4e6f08eaca34ef00ab8b238eca2a#ssh-server
To setup your computer to work with *.test domains, e.g. project.test, awesome.test and so on, without having to add to your hosts file each time.
- Homebrew
- Mountain Lion -> High Sierra
| #!/bin/bash | |
| CERT_ID='gdb-cert' # the name of the certificate used for signing | |
| if ! security find-certificate -c "$CERT_ID" &>/dev/null; then | |
| echo >&2 "> ❌ certificate($CERT_ID) not found" | |
| echo "Here is a brief note on how to create one:" | |
| echo | |
| echo "1. Open Keychain Access" | |
| echo "2. Open the menu item: Keychain Access -> Certificate Assistant -> Create a Certificate..." |
Here are the steps to installing and setting up GDB on Mac OS Sierra/High Sierra.
Run brew install gdb.
On starting gdb, you will get the following error:
Unable to find Mach task port for process-id 2133: (os/kern) failure (0x5).
(please check gdb is codesigned - see taskgated(8))To fix this error, follow the following steps:
I heard you like headless VMs on your Mac so I wrote this script for your launchds.
- Tested on Mac OS X 10.6.4 with VMware Fusion 2.0.5 and 3.1.1.
- A interactive user automatically logs into the system at startup. I had some issues trying to get this running without an interactive user logged in. I automatically log in for Airfoil Speakers anyway.
- Your virtual machines live in
/Virtual Machines
| # https://wiki.archlinux.org/index.php/Tmux#Start_tmux_on_every_shell_login | |
| # https://stackoverflow.com/a/49134974 | |
| # https://gist.github.com/theel0ja/3d3c1de607702b87292687d27f99141b | |
| # If not running interactively, do not do anything | |
| [[ $- != *i* ]] && return | |
| # You can replace 0 with the session name you prefer such as "onLogin" (without parenthesis) | |
| [[ -z "$TMUX" ]] && exec tmux new -A -s 0 |
| #!/usr/bin/env bash | |
| # | |
| # Author: Stefan Buck | |
| # License: MIT | |
| # https://gist.github.com/stefanbuck/ce788fee19ab6eb0b4447a85fc99f447 | |
| # | |
| # | |
| # This script accepts the following parameters: | |
| # | |
| # * owner |
This document has been modified from its [original format][m1], which was written by Ning Shang ([email protected]). It has been updated and reformatted into a [Markdown][m2] document by [Woody Gilk][m3] and [republished][m4].
When working with a remote git repository which is hosted on a third-party storage server, data confidentiality sometimes becomes