For excessively paranoid client authentication.
Updated Apr 5 2019:
because this is a gist from 2011 that people stumble into and maybe you should AES instead of 3DES in the year of our lord 2019.
some other notes:
| # Backs up all the photos from Google Picasa Web Albums. | |
| # | |
| # The script downloads the original version of the photos, and is not limited to | |
| # 1600x1200 thumbnails. | |
| # | |
| # Author:: Victor Costan | |
| # Copyright:: Copyright (C) 2010 Victor Costan | |
| # License:: MIT | |
| require 'yaml' |
| # Backs up all the photos from Google Picasa Web Albums. | |
| # | |
| # The script downloads the original version of the photos, and is not limited to | |
| # 1600x1200 thumbnails. | |
| # | |
| # Author:: Victor Costan | |
| # Copyright:: Copyright (C) 2010 Victor Costan | |
| # License:: MIT | |
| # ------------------------------------------------------------ |
| #!/bin/sh | |
| WEBDIR=yourwebdir | |
| WORKSPACE=your/workspace | |
| TEX_FILE_NAME=your_file | |
| echo | |
| echo "**** Pulling changes into Live [Hub's post-update hook]" | |
| echo |
| /* | |
| * Copyright 2014 Chris Banes | |
| * | |
| * Licensed under the Apache License, Version 2.0 (the "License"); | |
| * you may not use this file except in compliance with the License. | |
| * You may obtain a copy of the License at | |
| * | |
| * http://www.apache.org/licenses/LICENSE-2.0 | |
| * | |
| * Unless required by applicable law or agreed to in writing, software |
| #!/usr/bin/env zsh | |
| # Initialize VPN | |
| sudo vpnns up | |
| sudo vpnns start_vpn | |
| # Popcorn time! | |
| sudo ip netns exec frootvpn sudo -u $USER popcorntime | |
| # Cleanup |
| -- Create a group | |
| CREATE ROLE readaccess; | |
| -- Grant access to existing tables | |
| GRANT USAGE ON SCHEMA public TO readaccess; | |
| GRANT SELECT ON ALL TABLES IN SCHEMA public TO readaccess; | |
| -- Grant access to future tables | |
| ALTER DEFAULT PRIVILEGES IN SCHEMA public GRANT SELECT ON TABLES TO readaccess; |
This guide is for homelab admins who understand IPv4s well but find setting up IPv6 hard or annoying because things work differently. In some ways, managing an IPv6 network can be simpler than IPv4, one just needs to learn some new concepts and discard some old ones.
Let’s begin.
First of all, there are some concepts that one must unlearn from ipv4:
Concept 1