- Open Shell (Use Git Bash on Windows)
- Run
ssh-keyscan -H github.com >> ~/.ssh/known_hosts. - Create an SSH key with
ssh-keygen -t rsa. - Add SSH pub key to GitHub.
- Add the following to
~/.ssh/config:Host github.com User git
| using System; | |
| using System.Collections.Generic; | |
| using System.Globalization; | |
| using System.Text; | |
| using System.Text.RegularExpressions; | |
| namespace Program | |
| { | |
| public class RightNowEncryptionAlgorithm | |
| { |
| package resource | |
| import ( | |
| "errors" | |
| "regexp" | |
| "strings" | |
| ) | |
| var matchStringRE = regexp.MustCompile(`(?i)^(\w+?|\*)((:(\w+|\*|\*\*))*?:(\w+|\*)|)$`) |
| package compose | |
| type Composer[T any] func(*T) | |
| func Create[T any, C ~func(*T)](opts ...C) *T { | |
| m := new(T) | |
| Using(m, opts...) | |
| return m | |
| } |
| import inspect | |
| import json | |
| import os | |
| from dataclasses import dataclass, field, is_dataclass | |
| from typing import Any, Callable, Dict, List, Type, Union, get_type_hints | |
| import toml | |
| _META = "__configurable_meta__" | |
| _COMP = "__configurable_oncomplete__" |
| package pubsub | |
| import ( | |
| "context" | |
| "sync" | |
| ) | |
| type ( | |
| UnsubscribeFn func() | |
| DelegateFn[Message any] func(context.Context, Message) error |
| from __future__ import print_function | |
| import glob | |
| import sys | |
| import time | |
| import multiprocessing as mp, numpy as np, random | |
| from prophesee_utils.td_video import ChronoVideo | |
| import prophesee_utils.td_processing as tdp | |
| import prophesee_utils.vis_utils as vis | |
| import cv2 | |
| from numba import njit as jit |
| #!/bin/sh | |
| # install docker | |
| sudo apt-get update | |
| sudo apt-get install -y \ | |
| apt-transport-https \ | |
| ca-certificates \ | |
| curl \ | |
| software-properties-common | |
| /* gcc gdk-gstappsrc-stream.c -Wall `pkg-config --cflags --libs gstreamer-app-0.10 gdk-pixbuf-2.0` -o gdkstream */ | |
| #include <gst/gst.h> | |
| #include <gst/app/gstappsrc.h> | |
| #include <stdio.h> | |
| #include <string.h> | |
| #include <stdlib.h> | |
| #include <gdk-pixbuf/gdk-pixbuf.h> |
ssh-keyscan -H github.com >> ~/.ssh/known_hosts.ssh-keygen -t rsa.~/.ssh/config:
Host github.com
User git
| using Newtonsoft.Json; | |
| using System; | |
| using System.Collections.Generic; | |
| using System.Configuration; | |
| using System.IdentityModel.Tokens; | |
| using System.Linq; | |
| using System.Net.Http; | |
| using System.Security.Cryptography.X509Certificates; | |
| using System.Text; |