Multiple SSH Keys settings for different github account
create different public key
create different ssh key according the article Mac Set-Up Git
$ ssh-keygen -t rsa -C "your_email@youremail.com"
create different ssh key according the article Mac Set-Up Git
$ ssh-keygen -t rsa -C "your_email@youremail.com"
| // Log all DOM mutations to console. | |
| // Modern interpretation of https://github.com/kdzwinel/DOMListenerExtension | |
| observer = new MutationObserver(onMutation); | |
| observerSettings = { | |
| subtree: true, | |
| childList: true, | |
| attributes: true, | |
| attributeOldValue: true, |
En la definición del método, se puede marcar como obsoleto (deprecated) con la justificación. Esto ayudará a que otros developers sepán que deben de utilizar ya la alternativa.
@Deprecated('Most use speak2 method instead')
speak() {
console.log(`${ this.name }, ${ this.name }!`)
}
Summary of and excerpts from [chapter 9] (http://www.bookshelf.jp/texi/onlisp/onlisp_10.html#SEC67) and [chapter 10] (http://www.bookshelf.jp/texi/onlisp/onlisp_10.html#SEC77) of "On Lisp". Examples are mainly in Common Lisp.
| /** | |
| * Пример кода который будет упорядочивать рекурсивно массив и превращать его в дерево по | |
| * идентификаторам родительских элементов - при этом он работает с произвольным уровнем вложенности. | |
| * В этом примере, предпологается использование одной корневой категории, не имеющей потомков. | |
| **/ | |
| $v_arr = array( | |
| array(ID =>"0", name =>"корневая", parent=>"-1"), | |
| array(ID =>"1", name =>"первая", parent=>"0"), |
Setting up mysql on mac with sequel pro and homebrew
MacOS high sierra 10.13.6
Homebrew version 1.7.6
Assuming you've installed homebrew...
| import UIKit | |
| import SwiftUI | |
| public protocol SectionProtocol: Hashable { | |
| associatedtype Item: Hashable | |
| var items: [Item] { get } | |
| } | |
| extension CollectionView { |
win-bash
I have one computer and two different github accounts. One is for work, the other is for my personal stuff. I can't use the same ssh key twice, so I have to use different ssh key for each of my accounts. How do I do that? How do I switch between these ssh keys?
| /* | |
| Copyright (c) 2014-2020 Electronic Cats SAPI de CV. All right reserved. | |
| This library is free software; you can redistribute it and/or | |
| modify it under the terms of the GNU Lesser General Public | |
| License as published by the Free Software Foundation; either | |
| version 2.1 of the License, or (at your option) any later version. | |
| This library is distributed in the hope that it will be useful, | |
| but WITHOUT ANY WARRANTY; without even the implied warranty of |