Skip to content

Instantly share code, notes, and snippets.

View dotspencer's full-sized avatar

Spencer Smith dotspencer

View GitHub Profile
@dotspencer
dotspencer / multiple-keys-gitlab.md
Last active March 7, 2024 15:01
Multiple Gitlab accounts with multiple ssh keys

Gitlab won't allow reuse of a public ssh key for multiple accounts. To get around this you need to create a second ssh key for the second account.

Create or modify your ~/.ssh/config file:

# normal                                                                                                                                                                  
Host gitlab.com-work_username
     HostName gitlab.com
     PreferredAuthentications publickey
 IdentityFile ~/.ssh/id_rsa
@dotspencer
dotspencer / music-journal.csv
Last active February 2, 2024 03:24
Music Journal (music-journal)
Title Video ID Date
Jordan Fisher - You're Welcome T2AlXOItBsc 12-28-2016
ODESZA - All We Need Oi4Cf6lkDr4 12-15-2016
ODESZA - Say My Name HdzI-191xhU 12-8-2016
BØRNS - Past Lives Cux2qJjApGA 3-15-2016
BØRNS - The Emotion z_CfRxf3kPI 3-15-2016
Jon Bellion - The Good In Me UP4Q81jxEfs 12-22-2016
MIKA - Blame It On The Girls iF_w7oaBHNo 12-23-2016
The Paper Kites - Bloom 8inJtTG_DuU 12-22-2016
The Naked And Famous - Punching In A Dream kC29pd_5sQU 12-15-2016
@dotspencer
dotspencer / simple.md
Last active February 1, 2024 02:34
Generate new SSH key gen (ssh-keygen and ssh-copy-id)
@dotspencer
dotspencer / FS140-vs-EMP-shield.md
Last active January 24, 2024 19:46
Siemens FS140 compared to EMP Shield SP-120-240-W
Siemens - FS140 EMP Shield - SP-120-240-W
Surge Capacity 140 kA 114 kA
Response Time <1 ns <1 ns
MCOV (L-N, L-G, N-G) 150 V 150 V
MCOV (L-L) 300 V 300 V
VPR (L-N, L-G, N-G) 600 V 470 V
VPR (L-L) 900 V 940 V
Wire Gauge 10 AWG 12 AWG
Warranty 10 years 10 years
@dotspencer
dotspencer / phrasal-verbs.txt
Created January 8, 2024 07:21
List of "Phrasal Verbs" in Alphabetical Order
Account For
Ache For
Act On
Act Out
Act Up
Add On
Add Up
Add Up To
Aim At
Allow For
@dotspencer
dotspencer / utc-timezone-mysql.md
Created December 1, 2017 09:06
Setting UTC timezone with homebrew installed mysql

Edit /usr/local/etc/my.cnf

Add the following below [mysqld]

default-time-zone='+00:00'

Restart mysql with brew services restart mysql

@dotspencer
dotspencer / google-wifi-setup-centurylink.md
Last active October 3, 2023 01:53
How to use Google WiFi with CenturyLink Internet (ZyXEL C3000Z, 80mbps, modem bridge)
[
"acrobat",
"africa",
"alaska",
"albert",
"albino",
"album",
"alcohol",
"alex",
"alpha",