Skip to content

Instantly share code, notes, and snippets.

View adrianbsb's full-sized avatar

Adrian S. adrianbsb

View GitHub Profile
@adrianbsb
adrianbsb / setup-redis.sh
Last active December 10, 2018 14:52 — forked from jpickwell/install-redis.sh
Setup Redis 5 on Amazon Linux / CentOS / RHEL 7
#!/bin/bash
###############################################
# To use:
# curl -O https://gist.github.com/adrianbsb/7610a8d75a21241a88c1b99d0ddfbad0/raw/74e6609a76225a8fc2a364cfc5d2694edbf86df5/setup-redis.sh
# chmod +x setup-redis.sh
# ./setup-redis.sh
###############################################
version=5.0.0
Tracks
Tooling (Git, deploy, diff console, IDE, docker)
- Language (PHP, Python, Go, Typescript)
- Framework (Laravel, Symfony, ZF, Flask,)
- Project
- Lambda Team
@adrianbsb
adrianbsb / InitLoopbackMacOS
Created July 27, 2018 14:34
Init Docker Loopback Address on MacOS
wget https://tinyurl.com/InitLoopbackMacOS --nv
chmod +x InitLoopbackMacOS
./InitLoopbackMacOS
rm InitLoopbackMacOS
@adrianbsb
adrianbsb / initloopback.sh
Created July 27, 2018 14:22
Docker MacOS Initloopback
#!/bin/bash
################################################################################
# macOS
################################################################################
sudo ifconfig lo0 alias 10.254.254.254 255.255.255.0
sudo bash -c "curl https://raw.githubusercontent.com/markoshust/magento-docker/master/lib/com.network.alias.plist > /Library/LaunchDaemons/com.network.alias.plist"
sudo chmod 0644 /Library/LaunchDaemons/com.network.alias.plist
sudo chown root:wheel /Library/LaunchDaemons/com.network.alias.plist
sudo launchctl load /Library/LaunchDaemons/com.network.alias.plist