This tutorial will guide you through the setup of the HTC Vive Tracker in Python 3.6 on Ubuntu 14.04.
Up to date graphics drivers
x86 architecture
SteamVR requires >4GB disk space
| /* How to use this script : | |
| To play with it "as is" try it in the console of your browser first. | |
| If you do like and want to make it permanent then a bit of UI integration is needed | |
| (e.g. could add an icon, chat command, etc). | |
| That would be done by using https://hubs.mozilla.com/docs/hubs-cloud-custom-clients.html | |
| So that your integration remains easy to merge and maintainable over time it is recommended to | |
| touch Hubs Cloud code itself as little as possible. For example having separate components for |
| using System; | |
| using System.Collections; | |
| using System.Collections.Generic; | |
| using UnityEngine; | |
| using UnityEngine.Profiling; | |
| public class KdTree<T> : IEnumerable<T>, IEnumerable where T : Component | |
| { | |
| protected KdNode _root; | |
| protected KdNode _last; |
| #!/usr/bin/python | |
| import numpy | |
| import pyaudio | |
| import re | |
| import sys | |
| WIDTH = 79 | |
| BOOST = 1.0 |
You got your hands on some data that was leaked from a social network and you want to help the poor people.
Luckily you know a government service to automatically block a list of credit cards.
The service is a little old school though and you have to upload a CSV file in the exact format. The upload fails if the CSV file contains invalid data.
The CSV files should have two columns, Name and Credit Card. Also, it must be named after the following pattern:
YYYYMMDD.csv.
| #!/usr/bin/env python | |
| # -*- coding: utf-8 -*- | |
| """ | |
| pip install networkx distance pattern | |
| In Flipboard's article[1], they kindly divulge their interpretation | |
| of the summarization technique called LexRank[2]. |
#GoPro HERO4 (A tale of firmware leaks and marketing)
Written by /u/konrad-iturbe (Konrad Iturbe) and with help of /u/OverByThere's leaked firmware.
The GoPro HERO4 Black Adventure edition is 4x times more powerful than ever.
HERO4 cameras:
| public class Perlin { | |
| public int repeat; | |
| public Perlin(int repeat = -1) { | |
| this.repeat = repeat; | |
| } | |
| public double OctavePerlin(double x, double y, double z, int octaves, double persistence) { | |
| double total = 0; |