One Paragraph of project description goes here
These instructions will get you a copy of the project up and running on your local machine for development and testing purposes. See deployment for notes on how to deploy the project on a live system.
version: "3" | |
services: | |
sonarqube: | |
image: sonarqube | |
expose: | |
- 9000 | |
ports: | |
- "127.0.0.1:9000:9000" | |
networks: |
# Stream Video with OpenCV from an Android running IP Webcam (https://play.google.com/store/apps/details?id=com.pas.webcam) | |
# Code Adopted from http://stackoverflow.com/questions/21702477/how-to-parse-mjpeg-http-stream-from-ip-camera | |
import cv2 | |
import urllib2 | |
import numpy as np | |
import sys | |
host = "192.168.0.220:8080" | |
if len(sys.argv)>1: |
# This should be changed to your system's jenkins root JENKINS_ROOT="/var/lib/jenkins" | |
JENKINS_USERS="$JENKINS_ROOT/users" | |
JENKINS_JOBS="$JENKINS_ROOT/jobs" | |
JENKINS_CONFIG="$JENKINS_ROOT/config.xml" | |
# This variable is used so that we can verify that a user is not found | |
FAIL_TEST=0 | |
exportUserFolder() { | |
if [ -d "$JENKINS_USERS/$1" ]; then |
First install Virtualbox
sudo pico /etc/apt/sources.list.d/virtualbox.list
deb http://download.virtualbox.org/virtualbox/debian saucy contrib non-free
wget -q http://download.virtualbox.org/virtualbox/debian/oracle_vbox.asc -O- | sudo apt-key add -
sudo apt-get update
sudo apt-get install dkms unzip
sudo apt-get install virtualbox-4.3 --no-install-recommends
wget http://download.virtualbox.org/virtualbox/4.3.6/Oracle_VM_VirtualBox_Extension_Pack-4.3.6.vbox-extpack
sudo VBoxManage extpack install Oracle_VM_VirtualBox_Extension_Pack-4.3.6.vbox-extpack
class countCalls(object): | |
"""Decorator that keeps track of the number of times a function is called. | |
:: | |
>>> @countCalls | |
... def foo(): | |
... return "spam" | |
... | |
>>> for _ in range(10) | |
... foo() |