- 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
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 | |
using System; | |
using System.Collections.Generic; | |
using System.Linq; | |
using System.Web; | |
namespace Sample | |
{ | |
public class CrossOriginRequestInfo | |
{ | |
public string Origin { get; set; } |
/* 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; |
if (/android/i.test(navigator.userAgent)) | |
{ | |
/* | |
* there is an issue with click "bleed through" on absolutely positioned elements on | |
* android devices which is why we need to go though the trouble of preventing the actual | |
* click event. | |
* see: http://code.google.com/p/android/issues/detail?id=6721 | |
*/ | |
var prevent = false; |
/* Copyright (c) 2010, Sage Software, Inc. All rights reserved. | |
* | |
* Licensed under the Apache License, Version 2.0 (the "License"); | |
* you may not use this file except in compliance with the License. | |
* You may obtain a copy of the License at | |
* | |
* http://www.apache.org/licenses/LICENSE-2.0 | |
* | |
* Unless required by applicable law or agreed to in writing, software | |
* distributed under the License is distributed on an "AS IS" BASIS, |
var Point = function(x, y) { | |
if (arguments.length == 1) | |
{ | |
this.x = (x >> 12) & 0xFFF; | |
this.y = (x) & 0xFFF; | |
} | |
else | |
{ | |
this.x = x; | |
this.y = y; |
#!/bin/bash | |
if [ .$1. == .. ]; then | |
echo "USAGE: $0 [product name]" | |
exit 1 | |
fi | |
PRODUCT=argos-$1 | |
echo |