Skip to content

Instantly share code, notes, and snippets.

@GuiSevero
GuiSevero / git_merge_repos.sh
Created July 28, 2020 12:01 — forked from lloeki/git_merge_repos.sh
Merge repos and keep whole history by creating a single multi-parent merge commit
#!/bin/bash
set -e
set -u
set -o pipefail
prefix="git@gitlab.somewhere.com:mygroup"
target="$1"
shift
@GuiSevero
GuiSevero / sass-7-1-pattern.scss
Created August 16, 2019 19:55 — forked from rveitch/sass-7-1-pattern.scss
Sass 7-1 Pattern
sass/
|
|– base/
| |– _reset.scss # Reset/normalize
| |– _typography.scss # Typography rules
| ... # Etc…
|
|– components/
| |– _buttons.scss # Buttons
| |– _carousel.scss # Carousel
#!/bin/bash
if [[ $EUID -ne 0 ]]; then
echo "This script must be run using sudo or as the root user."
exit 1
fi
echo "EAP Controller on Raspberry Pi"
echo "=============================="
echo "Author: Arthur Gay <arthurgay05@gmail.com>"

Raspberry Pi VPN Router

This is a quick-and-dirty guide to setting up a Raspberry Pi as a "router on a stick" to PrivateInternetAccess VPN.

Requirements

Install Raspbian Jessie (2016-05-27-raspbian-jessie.img) to your Pi's sdcard.

Use the Raspberry Pi Configuration tool or sudo raspi-config to: