Skip to content

Instantly share code, notes, and snippets.

View itsbenatx's full-sized avatar

ben itsbenatx

  • Austin, TX
  • 08:10 (UTC -05:00)
View GitHub Profile

Disclaimer: I'm not the original author of this sheet, but can't recall where I found it. If you know the author, please let me know so I give the attribution.

Note: Since this seems to be helpful to some people, I formatted it to improve readability of the original. Also, note that this is from 2016, many things may have changed, and I don't use macOS anymore, so I probably can't help in case of questions, but maybe someone else can.

Mac Network Commands Cheat Sheet

After writing up the presentation for MacSysAdmin in Sweden, I decided to go ahead and throw these into a quick cheat sheet for anyone who’d like to have them all in one place. Good luck out there, and stay salty.

Get an ip address for en0:

Setting Up WP-Rocket on Pantheon

1- Install WP-Rocket

Install WP-Rocket regulary, do not activate.

2- Create caching folders

via your pantheon Dashboard, go to the envrionment then Connection Info and copy the login command line to SFTP. Login to SFTP, then create these 2 folders under Uploads

  • cd /code/wp-content/uploads
@itsbenatx
itsbenatx / .lando.yml
Created October 8, 2022 16:51 — forked from MatthieuScarset/.lando.yml
Correct settings for XDebug + VSCode + Lando (+3.0)
# Lando version is at least +3.0
name: drupal-nine
recipe: drupal9
services:
appserver:
webroot: web
xdebug: debug
config:
php: .vscode/php.ini