Skip to content

Instantly share code, notes, and snippets.

View LelandSindt's full-sized avatar
🎯
... always something on my mind.

Leland Sindt LelandSindt

🎯
... always something on my mind.
View GitHub Profile
@LelandSindt
LelandSindt / centos4mesos.sh
Last active September 27, 2016 17:33 — forked from carlosvargasvip/centos4mesos.sh
CentOS Configuration for Mesosphere
#!/bin/bash
#
# Author: Carlos Vargas (ContainerKing.Ninja)
# Script: centos4mesos.sh
echo "Configure Hostname Script"
curl https://gitlab.com/carlosvargas/devops/raw/master/CentOS/hostname>/tmp/hostname && chmod +x /tmp/hostname && sudo cp /tmp/hostname /etc/init.d/
ln -s /etc/init.d/hostname /etc/rc3.d/S11hostname
#
@LelandSindt
LelandSindt / configure.sh
Created February 2, 2019 19:25 — forked from lukicdarkoo/configure.sh
Raspberry Pi: AP + client mode
#!/bin/sh
# The script configures simultaneous AP and Managed Mode Wifi on Raspberry Pi Zero W (should also work on Raspberry Pi 3)
# Usage: curl https://gist.githubusercontent.com/lukicdarkoo/6b92d182d37d0a10400060d8344f86e4/raw | sh -s WifiSSID WifiPass APSSID APPass
# Licence: GPLv3
# Author: Darko Lukic <lukicdarkoo@gmail.com>
# Special thanks to: https://albeec13.github.io/2017/09/26/raspberry-pi-zero-w-simultaneous-ap-and-managed-mode-wifi/
MAC_ADDRESS="$(cat /sys/class/net/wlan0/address)"
CLIENT_SSID="${1}"
CLIENT_PASSPHRASE="${2}"