Skip to content

Instantly share code, notes, and snippets.

@marolsi
marolsi / questions.md
Last active August 4, 2022 06:04
Relationship Compatibility

Questions to help you consider if a partner is right for you. Be sure to take a step back from your reasons for swaying one way or another, and answer as honestly as possible!

Questions

  1. Do you feel physically attracted to this person?
  2. Do you look forward to spending time with them?
  3. Do you feel like you don’t have to hold back who you are around them?
  4. Do you like the part of yourself that they bring out?
  5. Do you have evidence that your current lifestyles are compatible?
  6. What goals and dreams are important to you in your life? Are they compatible with this person’s goals and dreams?
  7. Do you have any principles that guide your decisions in life? If so, are you confident that they share or at least respect these?
@piaverous
piaverous / setup_ssh_agent_with_apple_keychain.sh
Last active April 26, 2022 01:31
A simple bash snippet to add to your .bashrc or .zshrc in order to easily load password protected SSH Keys from the Apple Keychain, and never worry about them again !
###
# SSH keys setup with Apple keychain
###
if [ -z "$SSH_AUTH_SOCK" ] && [ -z "$SSH_AGENT_PID" ]; then
# If no SSH Agent is running, start one and load keys from Apple keychain
eval `ssh-agent -s` &> /dev/null
ssh-add --apple-load-keychain &> /dev/null
else
if [ -z "$(ssh-add -l | grep SHA256)" ]; then
# If agent is running but has no keys, load keys from Apple keychain
@cloudnull
cloudnull / unifi-debian11-install.sh
Last active January 7, 2024 21:25
Install the latest Unifi Controller on Debian 11
#!/usr/bin/env bash
set -ev
set -o pipefail
# Install dependencies
apt update
apt -y install apt-transport-https ca-certificates wget dirmngr gnupg gnupg2 software-properties-common
# Install old mongo (requried).
@glenselle
glenselle / bridge-diff-subnet.sh
Last active June 11, 2023 02:14
Raspberry PI4 Wifi to Eth Bridge
#!/usr/bin/env bash
set -e
[ $EUID -ne 0 ] && echo "run as root" >&2 && exit 1
apt-get update && apt install -y dnsmasq
# Create a directory where we will store our `iptables` forwarding rules.
mkdir -p /etc/iptables
@steelbrain
steelbrain / One-Dark.itermcolors
Last active April 20, 2020 03:26
One Dark Iterm scheme
<?xml version="1.0" encoding="UTF-8"?>
<!DOCTYPE plist PUBLIC "-//Apple//DTD PLIST 1.0//EN" "http://www.apple.com/DTDs/PropertyList-1.0.dtd">
<plist version="1.0">
<dict>
<key>Ansi 0 Color</key>
<dict>
<key>Alpha Component</key>
<real>1</real>
<key>Blue Component</key>
<real>0.0</real>