Eken supply firmware for their H2, H2R, H3, H3R, H8, H8R, H9 and H9R cameras via the following site:
The "R" camera versions come with a remote control.
| def smart_procrustes_align_gensim(base_embed, other_embed, words=None): | |
| """Procrustes align two gensim word2vec models (to allow for comparison between same word across models). | |
| Code ported from HistWords <https://github.com/williamleif/histwords> by William Hamilton <[email protected]>. | |
| (With help from William. Thank you!) | |
| First, intersect the vocabularies (see `intersection_align_gensim` documentation). | |
| Then do the alignment on the other_embed model. | |
| Replace the other_embed model's syn0 and syn0norm numpy matrices with the aligned version. | |
| Return other_embed. |
| #!/usr/bin/env python | |
| import rospy | |
| import mavros | |
| from geometry_msgs.msg import PoseStamped | |
| from mavros.msg import State | |
| from mavros.srv import CommandBool, SetMode | |
| # callback method for state sub | |
| current_state = State() |
Eken supply firmware for their H2, H2R, H3, H3R, H8, H8R, H9 and H9R cameras via the following site:
The "R" camera versions come with a remote control.
| using UnityEngine; | |
| using System.Collections; | |
| using Newtonsoft.Json; | |
| /// <summary> | |
| /// The Geo data for a user. | |
| /// | |
| /// http://ip-api.com/docs/api:json | |
| /// |
| using UnityEngine; | |
| using UnityEngine.Networking; | |
| using UnityEngine.Networking.NetworkSystem; | |
| using System.Collections; | |
| public class Connector : MonoBehaviour { | |
| int connectionAttemptCount; | |
| NetworkClient client; | |
| bool errorHappened; | |
| void Start () { | |
| StartClient (); |
| #!/usr/bin/ruby | |
| #require 'csv' | |
| require 'axlsx' | |
| require 'rexml/document' | |
| Component = Struct.new(:item, :ref, :value, :footprint) | |
| Order = Struct.new(:item, :value, :footprint, :count) | |
| xml_file = File.expand_path(ARGV[0]) |
| # Note – this is not a bash script (some of the steps require reboot) | |
| # I named it .sh just so Github does correct syntax highlighting. | |
| # | |
| # This is also available as an AMI in us-east-1 (virginia): ami-cf5028a5 | |
| # | |
| # The CUDA part is mostly based on this excellent blog post: | |
| # http://tleyden.github.io/blog/2014/10/25/cuda-6-dot-5-on-aws-gpu-instance-running-ubuntu-14-dot-04/ | |
| # Install various packages | |
| sudo apt-get update |
| #!/usr/bin/env python | |
| # (c) 2015 Productize <[email protected]> | |
| import sys, copy, collections, codecs | |
| from bs4 import BeautifulSoup | |
| soup = BeautifulSoup(open(sys.argv[1])) | |
| date = soup.design.date.contents[0] |