Skip to content

Instantly share code, notes, and snippets.

View talk2bryan's full-sized avatar
💭
I may be slow to respond.

Bryan talk2bryan

💭
I may be slow to respond.
View GitHub Profile
@talk2bryan
talk2bryan / AuthyTOTPSeedCodesToSN.md
Last active November 12, 2022 15:39
Importing Authy TOTP seed codes to Standard Notes

Importing Authy TOTP seed codes to Standard Notes

Standard Notes is an application which allows end-to-end encrypted notes. These notes are synchronized through their servers to ensure that you can have your notes on each and all of your devices.

The draw of Standard Notes for me was the end-to-end encryption. No one besides me can see the contents of my notes. It is an open source application that has been well vetted for security, and user privacy.

A feature they provide is software-based 2FA solution. As someone who has used

@talk2bryan
talk2bryan / add_publicKey_to_remote_machine
Last active November 4, 2018 09:13
Disable password requirement for SSH access to a remote system
$ cat ~/.ssh/id_rsa.pub | ssh remote-user@hostname 'cat >> ~/.ssh/authorized_keys'
@talk2bryan
talk2bryan / cleanup.sh
Last active November 8, 2018 04:12
Vagrant dev ENV setup for talk2bryan/UofMeme
rm step_*.sh
rm cleanup.sh
@talk2bryan
talk2bryan / ssh_config
Created January 29, 2018 12:04
Log into UofMeme AWS instance without having to type in the IP address
# Save this file as ~/.ssh/config
# SSH into AWS instance using the following command:
# ssh -i ~/.ssh/memedev.pem uofmeme
Host uofmeme
HostName 13.58.40.19
User ubuntu
@talk2bryan
talk2bryan / set_root_password.sh
Created January 29, 2018 06:46
Set root password for Linux machines
# Switch to root user
sudo -s
# Update password:
passwd # Enter new password and confirm by repeating it
# Switch back to listed user (e.g. tom)
su tom
@talk2bryan
talk2bryan / Vagrantfile
Last active November 7, 2018 03:29
Vagrant config file for setting up Ubuntu development environment for devs on UofMeme
ENV['VBOX_INSTALL_PATH'] = ENV['VBOX_MSI_INSTALL_PATH']
# -*- mode: ruby -*-
# vi: set ft=ruby :
$aws_pem = <<SCRIPT
chmod 400 /home/vagrant/.ssh/uofmeme64.pem
chmod 755 /home/vagrant/step_1.sh
chmod 755 /home/vagrant/step_2.sh
chmod 755 /home/vagrant/cleanup.sh
SCRIPT
@talk2bryan
talk2bryan / specs.md
Last active November 30, 2017 21:38
References API. This file contains a markdown version of the specs for an imaginary API named References. I am going to create a better, interactive API documentation for the References API endpoints using OpenAPI in SwaggerHub

OVERVIEW

The Reference API allows you to easily access a list of supported Countries, States, TimeZones and Currencies.

Base URL

https://reference.azure.net/v1

RESOURCES