These are instructions are for setting up your existing pass from the existing gpg keys and yubikey on a fresh Arch installation
yaourt -S pass gnupg2 pcsclite ccid yubikey-personalization hopenpgp-tools
#!usr/bin/env python | |
import json | |
import requests | |
API_KEY = 'abcxyz' | |
url = 'https://example.com/v1/api/endpoint' | |
params = dict(key=API_KEY, format=json) |
# Install libtool from source on Mac OS X | |
# prepare workspace | |
mkdir -p ~/code/build-from-src/ && cd $_ | |
# download source code | |
curl -LO https://ftp.gnu.org/gnu/libtool/libtool-2.4.6.tar.xz | |
# expand | |
tar -xf libtool-2.4.6.tar.xz |
# Install coreutils from source on Mac OS X | |
# prepare workspace | |
mkdir -p ~/code/build-from-src/ && cd $_ | |
# download source code | |
curl -LO https://ftp.gnu.org/gnu/coreutils/coreutils-8.31.tar.xz | |
# expand | |
tar -xJvf coreutils-8.31.tar.xz |
# Install OpenSSL from source on Mac OS X | |
# prepare workspace | |
mkdir -p ~/code/build-from-src/ && cd $_ | |
# download source code | |
curl -LO https://www.openssl.org/source/openssl-1.1.1d.tar.gz | |
# expand tar | |
tar -xzvf openssl-1.1.1d.tar.gz |
# | |
# Resize Logical Volume | |
# | |
# | |
# For reference https://wiki.archlinux.org/index.php/Resizing_LVM-on-LUKS#Enlarge_LVM_on_LUKS | |
# | |
# Stackexchange Thread: https://unix.stackexchange.com/questions/505241/resize-luks-volumes | |
# Reddit Thread: https://old.reddit.com/r/linuxquestions/comments/az6cgw/resize_my_luks_volumes/ | |
# | |
# Originally set up from this: https://gist.github.com/byronmansfield/9e0797c89866c520f4a6b7b9c0f26421 |
These are instructions are for setting up your existing pass from the existing gpg keys and yubikey on a fresh Arch installation
yaourt -S pass gnupg2 pcsclite ccid yubikey-personalization hopenpgp-tools
# | |
# | |
# Dell XPS 9370 Arch Install | |
# | |
# | |
# Arch Official Wiki - https://wiki.archlinux.org/index.php/Installation_guide | |
# | |
# Most of it follows the official guide and a few others | |
# | |
# heavily follows this guide for file system setup - https://pastebin.com/5gGCTchX |
https://apple.stackexchange.com/questions/251842/how-to-restart-bluetooth-service-from-command-line | |
# Kill bluetooth daemon | |
sudo pkill blued | |
# you can list them like this if it is a different name | |
sudo launchctl list | |
# Stop and Start it manually | |
sudo launchctl stop com.apple.blued |
#!/bin/bash | |
_cancel() { | |
echo "No version file created" | |
echo "Exiting" | |
exit 1 | |
} | |
_invalid_input() { | |
echo "Invalid response" |
for GOOS in darwin linux windows; do | |
for GOARCH in 386 amd64; do | |
GOOS=$GOOS GOARCH=$GOARCH go build -v -o my-app-$GOOS-$GOARCH | |
done | |
done |