Skip to content

Instantly share code, notes, and snippets.

View dairefagan's full-sized avatar
💡

Dáire Fagan dairefagan

💡
  • Dublin, Ireland
View GitHub Profile
@lovromazgon
lovromazgon / fix-grub.sh
Last active March 13, 2024 09:58
This script fixes GRUB for systems, that were installed according to the Manual Full System Encryption guide (https://help.ubuntu.com/community/ManualFullSystemEncryption). It is inspired by the original script used in the guide and reuses a lot of parts from it. Use an Ubuntu Live CD / USB to get to a terminal and run the script from there.
#!/usr/bin/env bash
####################################################################################################
#
# FIX GRUB FOR ENCRYPTED INSTALLATION
#
# This script is based on the Troubleshooting part of the Manual Full System Encryption for Ubuntu.
# See https://help.ubuntu.com/community/ManualFullSystemEncryption/Troubleshooting
#
# This is NOT AN OFFICIAL Ubuntu script, it can and will break your system. Use at own risk.
@Oceanswave
Oceanswave / ACD Secure Storage
Created March 10, 2017 21:57
Using a Raspberry Pi as a local gateway to unlimited encrypted storage via Amazon Cloud Drive
The Pi is Linux, so it can be done with shell scripts easily. Here is a part of a guide I wrote for setting up an encrypted ACD on Linux. I tried to use only the relevant parts, sorry if it seems disjointed.
After that, install the software that we will be using.
sudo apt-get update
sudo apt-get install sshfs
sudo apt-get install encfs
sudo apt-get install python3-pip
pip3 install --upgrade git+https://github.com/yadayada/acd_cli.git
acd_cli init
We will need to add the Amazon authorization key to the .cache/acd_cli/ folder. Instructions can be found at http://acd-cli.readthedocs.io/en/latest/authorization.html