Skip to content

Instantly share code, notes, and snippets.

View lexjacobs's full-sized avatar

Alex Jacobs lexjacobs

View GitHub Profile

How to setup iCloud+ Custom Domain Catch All email with Gmail

I've recently tested on how to move the custom domain catch all email from G Suite to the new iCloud+ Catch All feature and wanted to share my experience.

The end result is having Custom Domain email and Catch All routing, that can be fully used via Gmail, including receiving and sending emails.


The steps

  • Setup your Custom Domain (or subdomain) with iCloud+
@lexjacobs
lexjacobs / eslint-vscode-airbnb.md
Created June 15, 2023 14:07 — forked from raftheunis87/eslint-vscode-airbnb.md
Setting up ESLint on VS Code with Airbnb JavaScript Style Guide
  1. cd coding-directory
  2. npm init -y
  3. npm install --save-dev --save-exact eslint eslint-config-airbnb-base eslint-plugin-import
  4. Create .eslintrc file with following content:
{
  "extends": "airbnb-base",
  "env": {
    "browser": true,
 "node": true
@lexjacobs
lexjacobs / docker-mongo.md
Last active February 27, 2023 23:12 — forked from eric-do/docker-mongo.md
Guide for installing Mongo via Docker

Installing Mongo 4.4 via Docker

TLDR: just looking for the code? Skip to the end.

🐳 Installing Docker

Download Docker Desktop here.

📀 Pulling and containerizing a mongo server instance

Make sure Docker is running.

@lexjacobs
lexjacobs / docker-mysql.md
Last active November 4, 2024 02:07 — forked from eric-do/docker-mysql.md
Guide for installing running MySQL 8.0 using Docker.

Installing MySQL 8.0 via Docker

TLDR: just looking for the code? Skip to the end.

📖 Summary

This document guides you through the setup of Docker and MySQL.

Why would you want to do it this way?

  • Isolated environment. Need to upgrade from version 5.7 to 8.0 and are just developing locally? Previous configurations breaking your installation? Toss your old image and get a new one.
  • Preparation for real world development. Local databases are typically for coding and testing. Developers don't normally run a live production database from their own machine. We just need a database we can quickly test and develop on. Docker is perfect for that.
@lexjacobs
lexjacobs / detect-displays.command
Last active October 7, 2022 06:30
When plugging or unplugging external monitor via hdmi cable, sometimes the change in external display won't register. This is an applescript to automate the process of using the display menu "detect displays" button.
#!/usr/bin/env osascript
# adapted from https://stackoverflow.com/a/12641263/3044358
# don't forget to
# chmod 744 detect-displays.command
tell application "System Preferences"
activate
reveal pane "com.apple.preference.displays"
end tell
@lexjacobs
lexjacobs / filter-branch.txt
Created November 4, 2020 22:55
rewrite particular author for all commit history (majorly destructive. use with awareness and care)
git filter-branch --env-filter '
WRONG_EMAIL="[email protected]"
NEW_NAME="New Name Value"
NEW_EMAIL="[email protected]"
if [ "$GIT_COMMITTER_EMAIL" = "$WRONG_EMAIL" ]
then
export GIT_COMMITTER_NAME="$NEW_NAME"
export GIT_COMMITTER_EMAIL="$NEW_EMAIL"
fi
@lexjacobs
lexjacobs / rm_mysql.md
Last active June 18, 2022 21:47 — forked from vitorbritto/rm_mysql.md
Remove MySQL completely from Mac OSX
@lexjacobs
lexjacobs / quicktime-hangouts-recording.md
Created April 8, 2020 20:28 — forked from caseywatts/quicktime-hangouts-recording.md
Quicktime Hangouts Recording (using soundflower for audio)

Short link to this page: caseywatts.com/quicktime

Other gists & tricks: http://caseywatts.com/gists-and-tricks

Quicktime + Hangouts Recording

Scenario: You want to talk with someone over google hangouts (like for a user study), and you want to record BOTH:

  • the system output audio (from them)
  • the microphone audio (from you)
@lexjacobs
lexjacobs / composer.json
Last active January 17, 2019 18:08 — forked from dovy/Sendy.md
Installing Sendy on Heroku
{
"require": {
"php": ">=5.5.0",
"ext-gettext": "*"
}
}