- ASCAL Visual Object Classes Challenge 2007 (VOC2007) Annotation Guidelines http://host.robots.ox.ac.uk/pascal/VOC/voc2007/guidelines.html
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; | |
public class BingConvert | |
{ | |
public static double[] WGS84toGoogleBing(double lon, double lat) | |
{ | |
double x = lon * 20037508.34 / 180; | |
double y = Math.Log(Math.Tan((90 + lat) * Math.PI / 360)) / (Math.PI / 180); | |
y = y * 20037508.34 / 180; | |
return new double[] { x, y }; |
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
################################################################################ | |
# | |
# \file cmake/FindMKL.cmake | |
# \author J. Bakosi | |
# \copyright 2012-2015, Jozsef Bakosi, 2016, Los Alamos National Security, LLC. | |
# \brief Find the Math Kernel Library from Intel | |
# \date Thu 26 Jan 2017 02:05:50 PM MST | |
# | |
################################################################################ |
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
/** Numerical Analysis 9th ed - Burden, Faires (Ch. 3 Natural Cubic Spline, Pg. 149) */ | |
#include <stdio.h> | |
int main() { | |
/** Step 0 */ | |
int n, i, j; | |
scanf("%d", &n); | |
n--; | |
float x[n + 1], a[n + 1], h[n], A[n], l[n + 1], | |
u[n + 1], z[n + 1], c[n + 1], b[n], d[n]; |
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
# Option 1: Use apt-get | |
# keys taken from https://software.intel.com/en-us/articles/installing-intel-free-libs-and-python-apt-repo | |
cd ~/GitHub/r-with-intel-mkl/ | |
wget https://apt.repos.intel.com/intel-gpg-keys/GPG-PUB-KEY-INTEL-SW-PRODUCTS-2019.PUB | |
apt-key add GPG-PUB-KEY-INTEL-SW-PRODUCTS-2019.PUB | |
sudo sh -c 'echo deb https://apt.repos.intel.com/mkl all main > /etc/apt/sources.list.d/intel-mkl.list' | |
sudo apt-get update && sudo apt-get install intel-mkl-64bit |
Once in a while, you may need to cleanup resources (containers, volumes, images, networks) ...
// see: https://github.com/chadoe/docker-cleanup-volumes
$ docker volume rm $(docker volume ls -qf dangling=true)
$ docker volume ls -qf dangling=true | xargs -r docker volume rm
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
# Remote Gateway Node to Login to App Servers - 192.168.1.1 | |
Host app_proxy1 | |
Hostname 192.168.1.1 | |
LocalForward 8080 192.168.1.100:8080 | |
LocalForward 8081 192.168.1.101:8080 | |
LocalForward 8082 192.168.1.102:8080 | |
Host app_proxy2 | |
Hostname 192.168.1.1 | |
LocalForward 8090 192.168.1.100:8081 |
sudo apt-get install linux-headers-generic build-essential dkms
sudo apt-get install virtualbox-dkms
More On: http://askubuntu.com/questions/41118/virtualbox-kernel-driver-not-installed http://askubuntu.com/questions/498900/vbox-on-14-04-kernel-driver-not-installed-rc-1908
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
cubes look like this: | |
e-------f | |
/| /| | |
/ | / | | |
a--|----b | | |
| g----|--h | |
| / | / | |
c-------d |