This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
using System; | |
using System.Threading; | |
using System.Collections.Generic; | |
using System.Linq; | |
public class Animal{ | |
public string Name; | |
public object Mutex = new object(); | |
} |
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
import sys | |
import os | |
from os.path import basename | |
import cv2 | |
import numpy | |
import numpy as np | |
path = "/headless/shared/output.png" | |
if(len(sys.argv) >= 2): | |
path = sys.argv[1] |
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
apt-get install -y git cmake build-essential libgl1-mesa-dev libglew-dev libblas-dev liblapack-dev libopencv-dev python-opencv libeigen3-dev | |
cd /tmp && git clone https://github.com/stevenlovegrove/Pangolin.git && cd Pangolin && mkdir build && cd build && cmake .. && make -j; make install | |
git clone https://github.com/raulmur/ORB_SLAM2.git ORB_SLAM2 | |
cd ORB_SLAM2 | |
chmod +x build.sh |
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
package com.template | |
import co.paralleluniverse.fibers.Suspendable | |
import freemarker.cache.ClassTemplateLoader | |
import freemarker.template.Configuration | |
import net.corda.client.rpc.CordaRPCClient | |
import net.corda.core.contracts.* | |
import net.corda.core.flows.* | |
import net.corda.core.identity.CordaX500Name | |
import net.corda.core.identity.Party |
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
cd /opt | |
yum -y update | |
yum -y install libstdc++ autoconf automake libtool autoconf-archive pkg-config gcc gcc-c++ make libjpeg-devel libpng-devel libtiff-devel zlib-devel | |
#Install AutoConf-Archive | |
wget ftp://mirror.switch.ch/pool/4/mirror/epel/7/ppc64/a/autoconf-archive-2016.09.16-1.el7.noarch.rpm | |
rpm -i autoconf-archive-2016.09.16-1.el7.noarch.rpm | |
#Install Leptonica from Source |