This is a draft.
macOS doesn’t have many of the advanced Linux or UNIX features that have come about in the past 20 years. So getting a proper chroot environment up and running takes a little more work.
#!/usr/bin/env python | |
# -*- charset utf8 -*- | |
import pyaudio | |
import numpy | |
import math | |
import matplotlib.pyplot as plt | |
import matplotlib.animation | |
RATE = 44100 |
// How to: | |
// 1) Login into https://icloud.com | |
// 2) Open the developer tools and execute this code in the console | |
// See more @ https://medium.com/bugbountywriteup/how-apple-stored-all-your-email-metadata-for-years-on-their-servers-2a61b1a3232d | |
const _API_URL='https://p18-mailws.icloud.com/wm/recents'; | |
const _requestContacts = () => { | |
console.warn('Requesting your contacts...'); | |
return fetch(_API_URL, { | |
method: 'POST', | |
headers: { |
#!/usr/bin/env bash | |
# ~/.osx — http://mths.be/osx | |
# Ask for the administrator password upfront | |
sudo -v | |
# Keep-alive: update existing `sudo` time stamp until `.osx` has finished | |
while true; do sudo -n true; sleep 60; kill -0 "$$" || exit; done 2>/dev/null & |
The repository for the assignment is public and Github does not allow the creation of private forks for public repositories.
The correct way of creating a private frok by duplicating the repo is documented here.
For this assignment the commands are:
git clone --bare git@github.com:usi-systems/easytrace.git
c46ca3523b5a6da56bb25cd982c58b95_cmd() { | |
echo "[INFO] $@" ; sh -c "$@" | |
} | |
brew_install_or_upgrade() { | |
# shellcheck disable=SC2206 | |
local tools=($@) | |
# shellcheck disable=SC2155 | |
local -a installed | |
echo [INFO] checking installed... |