Skip to content

Instantly share code, notes, and snippets.

@royerk
royerk / change_ssh.sh
Created October 28, 2019 21:36
Change SSH key locally
git config --local core.sshCommand "/usr/bin/ssh -i /home/me/.ssh/id_rsa_foo"
@royerk
royerk / add_in_notebook.txt
Created September 12, 2019 16:32
Jupyter notebook auto reload modules magic
%load_ext autoreload
%autoreload 2
@royerk
royerk / mapOfMap.hpp
Created September 11, 2019 02:43
C++ map<int, map<int, int>>
// C++17 for structure binding
#include <iostream>
#include <string>
#include <vector>
#include <algorithm>
#include <map>
using namespace std;
int main()
touch a_file
crontab -u username a_file